TrafficRoute¶
- class oci.vn_monitoring.models.TrafficRoute(**kwargs)¶
Bases:
objectDefines the traffic route taken in the path in PathAnalysisResult.
Attributes:
A constant which can be used with the reachability_status property of a TrafficRoute.
A constant which can be used with the reachability_status property of a TrafficRoute.
A constant which can be used with the reachability_status property of a TrafficRoute.
[Required] Gets the nodes of this TrafficRoute.
[Required] Gets the reachability_status of this TrafficRoute.
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.
- property 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
- property 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
- property 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