TrafficRoute¶
-
class
oci.vn_monitoring.models.
TrafficRoute
(**kwargs)¶ Bases:
object
Defines the traffic route taken in the path in PathAnalysisResult.
Attributes
REACHABILITY_STATUS_INDETERMINATE
A constant which can be used with the reachability_status property of a TrafficRoute. REACHABILITY_STATUS_REACHABLE
A constant which can be used with the reachability_status property of a TrafficRoute. REACHABILITY_STATUS_UNREACHABLE
A constant which can be used with the reachability_status property of a TrafficRoute. nodes
[Required] Gets the nodes of this TrafficRoute. reachability_status
[Required] Gets the reachability_status of this TrafficRoute. route_analysis_description
Gets the route_analysis_description of this TrafficRoute. Methods
__init__
(**kwargs)Initializes a new TrafficRoute object with values from keyword arguments. -
REACHABILITY_STATUS_INDETERMINATE
= 'INDETERMINATE'¶ A constant which can be used with the reachability_status property of a TrafficRoute. This constant has a value of “INDETERMINATE”
-
REACHABILITY_STATUS_REACHABLE
= 'REACHABLE'¶ A constant which can be used with the reachability_status property of a TrafficRoute. This constant has a value of “REACHABLE”
-
REACHABILITY_STATUS_UNREACHABLE
= 'UNREACHABLE'¶ A constant which can be used with the reachability_status property of a TrafficRoute. This constant has a value of “UNREACHABLE”
-
__init__
(**kwargs)¶ Initializes a new TrafficRoute object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - reachability_status (str) – The value to assign to the reachability_status property of this TrafficRoute. Allowed values for this property are: “REACHABLE”, “UNREACHABLE”, “INDETERMINATE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- nodes (list[oci.vn_monitoring.models.TrafficNode]) – The value to assign to the nodes property of this TrafficRoute.
- route_analysis_description (str) – The value to assign to the route_analysis_description property of this TrafficRoute.
-
nodes
¶ [Required] Gets the nodes of this TrafficRoute. The ordered sequence of nodes in the given the traffic route forming a path.
Returns: The nodes of this TrafficRoute. Return type: list[oci.vn_monitoring.models.TrafficNode]
-
reachability_status
¶ [Required] Gets the reachability_status of this TrafficRoute. Reachability status for the given traffic route.
Allowed values for this property are: “REACHABLE”, “UNREACHABLE”, “INDETERMINATE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The reachability_status of this TrafficRoute. Return type: str
-
route_analysis_description
¶ Gets the route_analysis_description of this TrafficRoute. A description of the traffic route analysis. For example: “Traffic might not reach a destination due to the LB backend being unhealthy”.
Returns: The route_analysis_description of this TrafficRoute. Return type: str
-