CrossConnectStatus

class oci.core.models.CrossConnectStatus(**kwargs)

Bases: object

The status of the cross-connect.

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", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
  • 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", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
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
interface_state

Gets the interface_state of this CrossConnectStatus. Whether Oracle's side of the interface is up or down.

Allowed values for this property are: "UP", "DOWN", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.

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", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.

Returns:The light_level_indicator of this CrossConnectStatus.
Return type:str