CrossConnectStatus¶
-
class
oci.vn_monitoring.models.
CrossConnectStatus
(**kwargs)¶ Bases:
object
The status of the cross-connect.
Attributes
ENCRYPTION_STATUS_CAK_MISMATCH
A constant which can be used with the encryption_status property of a CrossConnectStatus. ENCRYPTION_STATUS_CIPHER_MISMATCH
A constant which can be used with the encryption_status property of a CrossConnectStatus. ENCRYPTION_STATUS_CKN_MISMATCH
A constant which can be used with the encryption_status property of a CrossConnectStatus. ENCRYPTION_STATUS_DOWN
A constant which can be used with the encryption_status property of a CrossConnectStatus. ENCRYPTION_STATUS_UP
A constant which can be used with the encryption_status property of a CrossConnectStatus. INTERFACE_STATE_DOWN
A constant which can be used with the interface_state property of a CrossConnectStatus. INTERFACE_STATE_UP
A constant which can be used with the interface_state property of a CrossConnectStatus. LIGHT_LEVEL_INDICATOR_BAD
A constant which can be used with the light_level_indicator property of a CrossConnectStatus. LIGHT_LEVEL_INDICATOR_GOOD
A constant which can be used with the light_level_indicator property of a CrossConnectStatus. LIGHT_LEVEL_INDICATOR_HIGH_WARN
A constant which can be used with the light_level_indicator property of a CrossConnectStatus. LIGHT_LEVEL_INDICATOR_LOW_WARN
A constant which can be used with the light_level_indicator property of a CrossConnectStatus. LIGHT_LEVEL_INDICATOR_NO_LIGHT
A constant which can be used with the light_level_indicator property of a CrossConnectStatus. cross_connect_id
[Required] Gets the cross_connect_id of this CrossConnectStatus. encryption_status
Gets the encryption_status of this CrossConnectStatus. interface_state
Gets the interface_state of this CrossConnectStatus. light_level_ind_bm
Gets the light_level_ind_bm of this CrossConnectStatus. light_level_indicator
Gets the light_level_indicator of this CrossConnectStatus. light_levels_in_d_bm
Gets the light_levels_in_d_bm of this CrossConnectStatus. Methods
__init__
(**kwargs)Initializes a new CrossConnectStatus object with values from keyword arguments. -
ENCRYPTION_STATUS_CAK_MISMATCH
= 'CAK_MISMATCH'¶ A constant which can be used with the encryption_status property of a CrossConnectStatus. This constant has a value of “CAK_MISMATCH”
-
ENCRYPTION_STATUS_CIPHER_MISMATCH
= 'CIPHER_MISMATCH'¶ A constant which can be used with the encryption_status property of a CrossConnectStatus. This constant has a value of “CIPHER_MISMATCH”
-
ENCRYPTION_STATUS_CKN_MISMATCH
= 'CKN_MISMATCH'¶ A constant which can be used with the encryption_status property of a CrossConnectStatus. This constant has a value of “CKN_MISMATCH”
-
ENCRYPTION_STATUS_DOWN
= 'DOWN'¶ A constant which can be used with the encryption_status property of a CrossConnectStatus. This constant has a value of “DOWN”
-
ENCRYPTION_STATUS_UP
= 'UP'¶ A constant which can be used with the encryption_status property of a CrossConnectStatus. This constant has a value of “UP”
-
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”
- encryption_status (str) – The value to assign to the encryption_status property of this CrossConnectStatus. Allowed values for this property are: “UP”, “DOWN”, “CIPHER_MISMATCH”, “CKN_MISMATCH”, “CAK_MISMATCH”
- light_levels_in_d_bm (list[float]) – The value to assign to the light_levels_in_d_bm property of this CrossConnectStatus.
-
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
-
encryption_status
¶ Gets the encryption_status of this CrossConnectStatus. Encryption status of this cross connect.
Possible values: * UP: Traffic is encrypted over this cross-connect * DOWN: Traffic is not encrypted over this cross-connect * CIPHER_MISMATCH: The MACsec encryption cipher doesn’t match the cipher on the CPE * CKN_MISMATCH: The MACsec Connectivity association Key Name (CKN) doesn’t match the CKN on the CPE * CAK_MISMATCH: The MACsec Connectivity Association Key (CAK) doesn’t match the CAK on the CPE
Allowed values for this property are: “UP”, “DOWN”, “CIPHER_MISMATCH”, “CKN_MISMATCH”, “CAK_MISMATCH”
Returns: The encryption_status of this CrossConnectStatus. Return type: str
-
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
-
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
-
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
-
light_levels_in_d_bm
¶ Gets the light_levels_in_d_bm of this CrossConnectStatus. The light levels of the cross-connect (in dBm).
Example: [14.0, -14.0, 2.1, -10.1]
Returns: The light_levels_in_d_bm of this CrossConnectStatus. Return type: list[float]
-