CrossConnectStatus¶
- class oci.vn_monitoring.models.CrossConnectStatus(**kwargs)¶
Bases:
objectThe status of the cross-connect.
Attributes:
A constant which can be used with the interface_state property of a CrossConnectStatus.
A constant which can be used with the interface_state property of a CrossConnectStatus.
A constant which can be used with the light_level_indicator property of a CrossConnectStatus.
A constant which can be used with the light_level_indicator property of a CrossConnectStatus.
A constant which can be used with the light_level_indicator property of a CrossConnectStatus.
A constant which can be used with the light_level_indicator property of a CrossConnectStatus.
A constant which can be used with the light_level_indicator property of a CrossConnectStatus.
[Required] Gets the cross_connect_id of this CrossConnectStatus.
Gets the interface_state of this CrossConnectStatus.
Gets the light_level_ind_bm of this CrossConnectStatus.
Gets the light_level_indicator of this CrossConnectStatus.
Methods:
__init__(**kwargs)Initializes a new CrossConnectStatus object with values from keyword arguments.
- INTERFACE_STATE_DOWN = 'DOWN'¶
A constant which can be used with the interface_state property of a CrossConnectStatus. This constant has a value of “DOWN”
- INTERFACE_STATE_UP = 'UP'¶
A constant which can be used with the interface_state property of a CrossConnectStatus. This constant has a value of “UP”
- LIGHT_LEVEL_INDICATOR_BAD = 'BAD'¶
A constant which can be used with the light_level_indicator property of a CrossConnectStatus. This constant has a value of “BAD”
- LIGHT_LEVEL_INDICATOR_GOOD = 'GOOD'¶
A constant which can be used with the light_level_indicator property of a CrossConnectStatus. This constant has a value of “GOOD”
- LIGHT_LEVEL_INDICATOR_HIGH_WARN = 'HIGH_WARN'¶
A constant which can be used with the light_level_indicator property of a CrossConnectStatus. This constant has a value of “HIGH_WARN”
- LIGHT_LEVEL_INDICATOR_LOW_WARN = 'LOW_WARN'¶
A constant which can be used with the light_level_indicator property of a CrossConnectStatus. This constant has a value of “LOW_WARN”
- LIGHT_LEVEL_INDICATOR_NO_LIGHT = 'NO_LIGHT'¶
A constant which can be used with the light_level_indicator property of a CrossConnectStatus. This constant has a value of “NO_LIGHT”
- __init__(**kwargs)¶
Initializes a new CrossConnectStatus object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
cross_connect_id (str) – The value to assign to the cross_connect_id property of this CrossConnectStatus.
interface_state (str) – The value to assign to the interface_state property of this CrossConnectStatus. Allowed values for this property are: “UP”, “DOWN”
light_level_ind_bm (float) – The value to assign to the light_level_ind_bm property of this CrossConnectStatus.
light_level_indicator (str) – The value to assign to the light_level_indicator property of this CrossConnectStatus. Allowed values for this property are: “NO_LIGHT”, “LOW_WARN”, “HIGH_WARN”, “BAD”, “GOOD”
- property cross_connect_id¶
[Required] Gets the cross_connect_id of this CrossConnectStatus. The OCID of the cross-connect.
- Returns
The cross_connect_id of this CrossConnectStatus.
- Return type
str
- property interface_state¶
Gets the interface_state of this CrossConnectStatus. Indicates whether Oracle’s side of the interface is up or down.
Allowed values for this property are: “UP”, “DOWN”
- Returns
The interface_state of this CrossConnectStatus.
- Return type
str
- property light_level_ind_bm¶
Gets the light_level_ind_bm of this CrossConnectStatus. The light level of the cross-connect (in dBm).
Example: 14.0
- Returns
The light_level_ind_bm of this CrossConnectStatus.
- Return type
float
- property light_level_indicator¶
Gets the light_level_indicator of this CrossConnectStatus. Status indicator corresponding to the light level.
NO_LIGHT: No measurable light
LOW_WARN: There’s measurable light but it’s too low
HIGH_WARN: Light level is too high
BAD: There’s measurable light but the signal-to-noise ratio is bad
GOOD: Good light level
Allowed values for this property are: “NO_LIGHT”, “LOW_WARN”, “HIGH_WARN”, “BAD”, “GOOD”
- Returns
The light_level_indicator of this CrossConnectStatus.
- Return type
str