CrossConnectMappingDetails

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

Bases: object

For use with Oracle Cloud Infrastructure FastConnect. Each VirtualCircuit runs on one or more cross-connects or cross-connect groups. A CrossConnectMappingDetails contains the properties for an individual cross-connect or cross-connect group associated with a given virtual circuit.

The details includes information about the cross-connect or cross-connect group, the VLAN, and the BGP peering session.

Attributes

IPV4_BGP_STATUS_DOWN A constant which can be used with the ipv4_bgp_status property of a CrossConnectMappingDetails.
IPV4_BGP_STATUS_UP A constant which can be used with the ipv4_bgp_status property of a CrossConnectMappingDetails.
IPV6_BGP_STATUS_DOWN A constant which can be used with the ipv6_bgp_status property of a CrossConnectMappingDetails.
IPV6_BGP_STATUS_UP A constant which can be used with the ipv6_bgp_status property of a CrossConnectMappingDetails.
bgp_md5_auth_key Gets the bgp_md5_auth_key of this CrossConnectMappingDetails.
cross_connect_or_cross_connect_group_id Gets the cross_connect_or_cross_connect_group_id of this CrossConnectMappingDetails.
customer_bgp_peering_ip Gets the customer_bgp_peering_ip of this CrossConnectMappingDetails.
customer_bgp_peering_ipv6 Gets the customer_bgp_peering_ipv6 of this CrossConnectMappingDetails.
ipv4_bgp_status Gets the ipv4_bgp_status of this CrossConnectMappingDetails.
ipv6_bgp_status Gets the ipv6_bgp_status of this CrossConnectMappingDetails.
oracle_bgp_peering_ip Gets the oracle_bgp_peering_ip of this CrossConnectMappingDetails.
oracle_bgp_peering_ipv6 Gets the oracle_bgp_peering_ipv6 of this CrossConnectMappingDetails.
vlan Gets the vlan of this CrossConnectMappingDetails.

Methods

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

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

IPV4_BGP_STATUS_UP = 'UP'

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

IPV6_BGP_STATUS_DOWN = 'DOWN'

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

IPV6_BGP_STATUS_UP = 'UP'

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

__init__(**kwargs)

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

Parameters:
  • bgp_md5_auth_key (str) – The value to assign to the bgp_md5_auth_key property of this CrossConnectMappingDetails.
  • cross_connect_or_cross_connect_group_id (str) – The value to assign to the cross_connect_or_cross_connect_group_id property of this CrossConnectMappingDetails.
  • customer_bgp_peering_ip (str) – The value to assign to the customer_bgp_peering_ip property of this CrossConnectMappingDetails.
  • oracle_bgp_peering_ip (str) – The value to assign to the oracle_bgp_peering_ip property of this CrossConnectMappingDetails.
  • customer_bgp_peering_ipv6 (str) – The value to assign to the customer_bgp_peering_ipv6 property of this CrossConnectMappingDetails.
  • oracle_bgp_peering_ipv6 (str) – The value to assign to the oracle_bgp_peering_ipv6 property of this CrossConnectMappingDetails.
  • vlan (int) – The value to assign to the vlan property of this CrossConnectMappingDetails.
  • ipv4_bgp_status (str) – The value to assign to the ipv4_bgp_status property of this CrossConnectMappingDetails. 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’.
  • ipv6_bgp_status (str) – The value to assign to the ipv6_bgp_status property of this CrossConnectMappingDetails. 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’.
bgp_md5_auth_key

Gets the bgp_md5_auth_key of this CrossConnectMappingDetails. The key for BGP MD5 authentication. Only applicable if your system requires MD5 authentication. If empty or not set (null), that means you don’t use BGP MD5 authentication.

Returns:The bgp_md5_auth_key of this CrossConnectMappingDetails.
Return type:str
cross_connect_or_cross_connect_group_id

Gets the cross_connect_or_cross_connect_group_id of this CrossConnectMappingDetails. The OCID of the cross-connect or cross-connect group for this mapping. Specified by the owner of the cross-connect or cross-connect group (the customer if the customer is colocated with Oracle, or the provider if the customer is connecting via provider).

Returns:The cross_connect_or_cross_connect_group_id of this CrossConnectMappingDetails.
Return type:str
customer_bgp_peering_ip

Gets the customer_bgp_peering_ip of this CrossConnectMappingDetails. The BGP IPv4 address for the router on the other end of the BGP session from Oracle. Specified by the owner of that router. If the session goes from Oracle to a customer, this is the BGP IPv4 address of the customer’s edge router. If the session goes from Oracle to a provider, this is the BGP IPv4 address of the provider’s edge router. Must use a /30 or /31 subnet mask.

There’s one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses.

Example: 10.0.0.18/31

Returns:The customer_bgp_peering_ip of this CrossConnectMappingDetails.
Return type:str
customer_bgp_peering_ipv6

Gets the customer_bgp_peering_ipv6 of this CrossConnectMappingDetails. The BGP IPv6 address for the router on the other end of the BGP session from Oracle. Specified by the owner of that router. If the session goes from Oracle to a customer, this is the BGP IPv6 address of the customer’s edge router. If the session goes from Oracle to a provider, this is the BGP IPv6 address of the provider’s edge router. Only subnet masks from /64 up to /127 are allowed.

There’s one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses.

Example: 2001:db8::1/64

Returns:The customer_bgp_peering_ipv6 of this CrossConnectMappingDetails.
Return type:str
ipv4_bgp_status

Gets the ipv4_bgp_status of this CrossConnectMappingDetails. The state of the Ipv4 BGP session.

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 ipv4_bgp_status of this CrossConnectMappingDetails.
Return type:str
ipv6_bgp_status

Gets the ipv6_bgp_status of this CrossConnectMappingDetails. The state of the Ipv6 BGP session.

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 ipv6_bgp_status of this CrossConnectMappingDetails.
Return type:str
oracle_bgp_peering_ip

Gets the oracle_bgp_peering_ip of this CrossConnectMappingDetails. The IPv4 address for Oracle’s end of the BGP session. Must use a /30 or /31 subnet mask. If the session goes from Oracle to a customer’s edge router, the customer specifies this information. If the session goes from Oracle to a provider’s edge router, the provider specifies this.

There’s one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses.

Example: 10.0.0.19/31

Returns:The oracle_bgp_peering_ip of this CrossConnectMappingDetails.
Return type:str
oracle_bgp_peering_ipv6

Gets the oracle_bgp_peering_ipv6 of this CrossConnectMappingDetails. The IPv6 address for Oracle’s end of the BGP session. Only subnet masks from /64 up to /127 are allowed. If the session goes from Oracle to a customer’s edge router, the customer specifies this information. If the session goes from Oracle to a provider’s edge router, the provider specifies this.

There’s one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses.

Example: 2001:db8::2/64

Returns:The oracle_bgp_peering_ipv6 of this CrossConnectMappingDetails.
Return type:str
vlan

Gets the vlan of this CrossConnectMappingDetails. The number of the specific VLAN (on the cross-connect or cross-connect group) that is assigned to this virtual circuit. Specified by the owner of the cross-connect or cross-connect group (the customer if the customer is colocated with Oracle, or the provider if the customer is connecting via provider).

Example: 200

Returns:The vlan of this CrossConnectMappingDetails.
Return type:int