TunnelSecurityAssociationSummary

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

Bases: object

A summary of the IPSec tunnel security association details.

Attributes

TUNNEL_SA_STATUS_DOWN A constant which can be used with the tunnel_sa_status property of a TunnelSecurityAssociationSummary.
TUNNEL_SA_STATUS_ERROR A constant which can be used with the tunnel_sa_status property of a TunnelSecurityAssociationSummary.
TUNNEL_SA_STATUS_INITIATING A constant which can be used with the tunnel_sa_status property of a TunnelSecurityAssociationSummary.
TUNNEL_SA_STATUS_LISTENING A constant which can be used with the tunnel_sa_status property of a TunnelSecurityAssociationSummary.
TUNNEL_SA_STATUS_UNKNOWN A constant which can be used with the tunnel_sa_status property of a TunnelSecurityAssociationSummary.
TUNNEL_SA_STATUS_UP A constant which can be used with the tunnel_sa_status property of a TunnelSecurityAssociationSummary.
cpe_subnet Gets the cpe_subnet of this TunnelSecurityAssociationSummary.
oracle_subnet Gets the oracle_subnet of this TunnelSecurityAssociationSummary.
time Gets the time of this TunnelSecurityAssociationSummary.
tunnel_sa_error_info Gets the tunnel_sa_error_info of this TunnelSecurityAssociationSummary.
tunnel_sa_status Gets the tunnel_sa_status of this TunnelSecurityAssociationSummary.

Methods

__init__(**kwargs) Initializes a new TunnelSecurityAssociationSummary object with values from keyword arguments.
TUNNEL_SA_STATUS_DOWN = 'DOWN'

A constant which can be used with the tunnel_sa_status property of a TunnelSecurityAssociationSummary. This constant has a value of “DOWN”

TUNNEL_SA_STATUS_ERROR = 'ERROR'

A constant which can be used with the tunnel_sa_status property of a TunnelSecurityAssociationSummary. This constant has a value of “ERROR”

TUNNEL_SA_STATUS_INITIATING = 'INITIATING'

A constant which can be used with the tunnel_sa_status property of a TunnelSecurityAssociationSummary. This constant has a value of “INITIATING”

TUNNEL_SA_STATUS_LISTENING = 'LISTENING'

A constant which can be used with the tunnel_sa_status property of a TunnelSecurityAssociationSummary. This constant has a value of “LISTENING”

TUNNEL_SA_STATUS_UNKNOWN = 'UNKNOWN'

A constant which can be used with the tunnel_sa_status property of a TunnelSecurityAssociationSummary. This constant has a value of “UNKNOWN”

TUNNEL_SA_STATUS_UP = 'UP'

A constant which can be used with the tunnel_sa_status property of a TunnelSecurityAssociationSummary. This constant has a value of “UP”

__init__(**kwargs)

Initializes a new TunnelSecurityAssociationSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • cpe_subnet (str) – The value to assign to the cpe_subnet property of this TunnelSecurityAssociationSummary.
  • oracle_subnet (str) – The value to assign to the oracle_subnet property of this TunnelSecurityAssociationSummary.
  • tunnel_sa_status (str) – The value to assign to the tunnel_sa_status property of this TunnelSecurityAssociationSummary. Allowed values for this property are: “INITIATING”, “LISTENING”, “UP”, “DOWN”, “ERROR”, “UNKNOWN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • tunnel_sa_error_info (str) – The value to assign to the tunnel_sa_error_info property of this TunnelSecurityAssociationSummary.
  • time (str) – The value to assign to the time property of this TunnelSecurityAssociationSummary.
cpe_subnet

Gets the cpe_subnet of this TunnelSecurityAssociationSummary. The IP address and mask of the partner subnet used in policy based VPNs or static routes.

Returns:The cpe_subnet of this TunnelSecurityAssociationSummary.
Return type:str
oracle_subnet

Gets the oracle_subnet of this TunnelSecurityAssociationSummary. The IP address and mask of the local subnet used in policy based VPNs or static routes.

Returns:The oracle_subnet of this TunnelSecurityAssociationSummary.
Return type:str
time

Gets the time of this TunnelSecurityAssociationSummary. Time in the current state, in seconds.

Returns:The time of this TunnelSecurityAssociationSummary.
Return type:str
tunnel_sa_error_info

Gets the tunnel_sa_error_info of this TunnelSecurityAssociationSummary. Current state if the IPSec tunnel status is not UP, including phase one and phase two details and a possible reason the tunnel is not UP.

Returns:The tunnel_sa_error_info of this TunnelSecurityAssociationSummary.
Return type:str
tunnel_sa_status

Gets the tunnel_sa_status of this TunnelSecurityAssociationSummary. The IPSec tunnel’s phase one status.

Allowed values for this property are: “INITIATING”, “LISTENING”, “UP”, “DOWN”, “ERROR”, “UNKNOWN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The tunnel_sa_status of this TunnelSecurityAssociationSummary.
Return type:str