IpsecTunnelDrgAttachmentNetworkDetails

class oci.vn_monitoring.models.IpsecTunnelDrgAttachmentNetworkDetails(**kwargs)

Bases: DrgAttachmentNetworkDetails

Specifies the IPSec tunnel attached to the DRG.

Attributes:

TYPE_FLEX_TUNNEL

A constant which can be used with the type property of a DrgAttachmentNetworkDetails.

TYPE_INTERNET

A constant which can be used with the type property of a DrgAttachmentNetworkDetails.

TYPE_IPSEC_TUNNEL

A constant which can be used with the type property of a DrgAttachmentNetworkDetails.

TYPE_LOOPBACK

A constant which can be used with the type property of a DrgAttachmentNetworkDetails.

TYPE_REMOTE_PEERING_CONNECTION

A constant which can be used with the type property of a DrgAttachmentNetworkDetails.

TYPE_VCN

A constant which can be used with the type property of a DrgAttachmentNetworkDetails.

TYPE_VIRTUAL_CIRCUIT

A constant which can be used with the type property of a DrgAttachmentNetworkDetails.

common_export_rt

Gets the common_export_rt of this IpsecTunnelDrgAttachmentNetworkDetails.

common_import_rt

Gets the common_import_rt of this IpsecTunnelDrgAttachmentNetworkDetails.

export_route_target

Gets the export_route_target of this IpsecTunnelDrgAttachmentNetworkDetails.

id

Gets the id of this DrgAttachmentNetworkDetails.

import_route_target

Gets the import_route_target of this IpsecTunnelDrgAttachmentNetworkDetails.

ingress_vip

Gets the ingress_vip of this IpsecTunnelDrgAttachmentNetworkDetails.

ipsec_connection_id

Gets the ipsec_connection_id of this IpsecTunnelDrgAttachmentNetworkDetails.

is_gamma_drg

Gets the is_gamma_drg of this IpsecTunnelDrgAttachmentNetworkDetails.

is_route_unification_enabled

Gets the is_route_unification_enabled of this IpsecTunnelDrgAttachmentNetworkDetails.

mpls_label

Gets the mpls_label of this IpsecTunnelDrgAttachmentNetworkDetails.

regional_oci_asn

Gets the regional_oci_asn of this IpsecTunnelDrgAttachmentNetworkDetails.

transport_attachment_id

Gets the transport_attachment_id of this IpsecTunnelDrgAttachmentNetworkDetails.

type

[Required] Gets the type of this DrgAttachmentNetworkDetails.

Methods:

__init__(**kwargs)

Initializes a new IpsecTunnelDrgAttachmentNetworkDetails object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

TYPE_FLEX_TUNNEL = 'FLEX_TUNNEL'

A constant which can be used with the type property of a DrgAttachmentNetworkDetails. This constant has a value of “FLEX_TUNNEL”

TYPE_INTERNET = 'INTERNET'

A constant which can be used with the type property of a DrgAttachmentNetworkDetails. This constant has a value of “INTERNET”

TYPE_IPSEC_TUNNEL = 'IPSEC_TUNNEL'

A constant which can be used with the type property of a DrgAttachmentNetworkDetails. This constant has a value of “IPSEC_TUNNEL”

TYPE_LOOPBACK = 'LOOPBACK'

A constant which can be used with the type property of a DrgAttachmentNetworkDetails. This constant has a value of “LOOPBACK”

TYPE_REMOTE_PEERING_CONNECTION = 'REMOTE_PEERING_CONNECTION'

A constant which can be used with the type property of a DrgAttachmentNetworkDetails. This constant has a value of “REMOTE_PEERING_CONNECTION”

TYPE_VCN = 'VCN'

A constant which can be used with the type property of a DrgAttachmentNetworkDetails. This constant has a value of “VCN”

TYPE_VIRTUAL_CIRCUIT = 'VIRTUAL_CIRCUIT'

A constant which can be used with the type property of a DrgAttachmentNetworkDetails. This constant has a value of “VIRTUAL_CIRCUIT”

__init__(**kwargs)

Initializes a new IpsecTunnelDrgAttachmentNetworkDetails object with values from keyword arguments. The default value of the type attribute of this class is IPSEC_TUNNEL and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • type (str) – The value to assign to the type property of this IpsecTunnelDrgAttachmentNetworkDetails. Allowed values for this property are: “VCN”, “IPSEC_TUNNEL”, “VIRTUAL_CIRCUIT”, “REMOTE_PEERING_CONNECTION”, “FLEX_TUNNEL”, “LOOPBACK”, “INTERNET”

  • id (str) – The value to assign to the id property of this IpsecTunnelDrgAttachmentNetworkDetails.

  • ipsec_connection_id (str) – The value to assign to the ipsec_connection_id property of this IpsecTunnelDrgAttachmentNetworkDetails.

  • import_route_target (str) – The value to assign to the import_route_target property of this IpsecTunnelDrgAttachmentNetworkDetails.

  • export_route_target (str) – The value to assign to the export_route_target property of this IpsecTunnelDrgAttachmentNetworkDetails.

  • mpls_label (int) – The value to assign to the mpls_label property of this IpsecTunnelDrgAttachmentNetworkDetails.

  • regional_oci_asn (str) – The value to assign to the regional_oci_asn property of this IpsecTunnelDrgAttachmentNetworkDetails.

  • ingress_vip (str) – The value to assign to the ingress_vip property of this IpsecTunnelDrgAttachmentNetworkDetails.

  • is_gamma_drg (bool) – The value to assign to the is_gamma_drg property of this IpsecTunnelDrgAttachmentNetworkDetails.

  • common_export_rt (str) – The value to assign to the common_export_rt property of this IpsecTunnelDrgAttachmentNetworkDetails.

  • common_import_rt (str) – The value to assign to the common_import_rt property of this IpsecTunnelDrgAttachmentNetworkDetails.

  • is_route_unification_enabled (bool) – The value to assign to the is_route_unification_enabled property of this IpsecTunnelDrgAttachmentNetworkDetails.

  • transport_attachment_id (str) – The value to assign to the transport_attachment_id property of this IpsecTunnelDrgAttachmentNetworkDetails.

property common_export_rt

Gets the common_export_rt of this IpsecTunnelDrgAttachmentNetworkDetails. Common Export route target to use for the DRG Attachment instead of per-attachment route target. This is applicable to DRG attachments that are assigned to a DRG route table which is whitelisted for route unification.

Returns

The common_export_rt of this IpsecTunnelDrgAttachmentNetworkDetails.

Return type

str

property common_import_rt

Gets the common_import_rt of this IpsecTunnelDrgAttachmentNetworkDetails. Common Import route target to use for the DRG attachment instead of per-attachment import route target. This is applicable to DRG attachments that are assigned to a DRG route table which is whitelisted for route unification.

Returns

The common_import_rt of this IpsecTunnelDrgAttachmentNetworkDetails.

Return type

str

property export_route_target

Gets the export_route_target of this IpsecTunnelDrgAttachmentNetworkDetails. Routes which are exported to the attachment are exported to the route reflectors with the route target set to the value of the attachment’s export route target.

Returns

The export_route_target of this IpsecTunnelDrgAttachmentNetworkDetails.

Return type

str

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property id

Gets the id of this DrgAttachmentNetworkDetails. The OCID of the network attached to the DRG.

Returns

The id of this DrgAttachmentNetworkDetails.

Return type

str

property import_route_target

Gets the import_route_target of this IpsecTunnelDrgAttachmentNetworkDetails. Routes which may be imported from the attachment (subject to import policy) appear in the route reflectors tagged with the attachment’s import route target.

Returns

The import_route_target of this IpsecTunnelDrgAttachmentNetworkDetails.

Return type

str

property ingress_vip

Gets the ingress_vip of this IpsecTunnelDrgAttachmentNetworkDetails. IPv4 address used to encapsulate ingress traffic to the DRG through this attachment

Returns

The ingress_vip of this IpsecTunnelDrgAttachmentNetworkDetails.

Return type

str

property ipsec_connection_id

Gets the ipsec_connection_id of this IpsecTunnelDrgAttachmentNetworkDetails. The IPSec connection that contains the attached IPSec tunnel.

Returns

The ipsec_connection_id of this IpsecTunnelDrgAttachmentNetworkDetails.

Return type

str

property is_gamma_drg

Gets the is_gamma_drg of this IpsecTunnelDrgAttachmentNetworkDetails. Whether traffic from this network is forwarded to the El Paso Gamma VIPs (or not)

Returns

The is_gamma_drg of this IpsecTunnelDrgAttachmentNetworkDetails.

Return type

bool

property is_route_unification_enabled

Gets the is_route_unification_enabled of this IpsecTunnelDrgAttachmentNetworkDetails. This indicates whether the DRG route table associated with the DRG attachment is whitelisted for route unification.

Example: true

Returns

The is_route_unification_enabled of this IpsecTunnelDrgAttachmentNetworkDetails.

Return type

bool

property mpls_label

Gets the mpls_label of this IpsecTunnelDrgAttachmentNetworkDetails. The MPLS label of the DRG attachment.

Returns

The mpls_label of this IpsecTunnelDrgAttachmentNetworkDetails.

Return type

int

property regional_oci_asn

Gets the regional_oci_asn of this IpsecTunnelDrgAttachmentNetworkDetails. The BGP ASN to use for the IPSec connection’s route target.

Returns

The regional_oci_asn of this IpsecTunnelDrgAttachmentNetworkDetails.

Return type

str

property transport_attachment_id

Gets the transport_attachment_id of this IpsecTunnelDrgAttachmentNetworkDetails. The OCID of the virtual circuit’s DRG attachment.

Returns

The transport_attachment_id of this IpsecTunnelDrgAttachmentNetworkDetails.

Return type

str

property type

[Required] Gets the type of this DrgAttachmentNetworkDetails. Allowed values for this property are: “VCN”, “IPSEC_TUNNEL”, “VIRTUAL_CIRCUIT”, “REMOTE_PEERING_CONNECTION”, “FLEX_TUNNEL”, “LOOPBACK”, “INTERNET”

Returns

The type of this DrgAttachmentNetworkDetails.

Return type

str