CrossConnectMapping

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

Bases: object

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

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

If you’re a customer who is colocated with Oracle, that means you own both the virtual circuit and the physical connection it runs on (cross-connect or cross-connect group), so you specify all the information in the mapping. There’s one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses.

If you’re a provider, then you own the physical connection that the customer’s virtual circuit runs on, so you contribute information about the cross-connect or cross-connect group and VLAN.

Who specifies the BGP peering information in the case of customer connection via provider? If the BGP session goes from Oracle to the provider’s edge router, then the provider also specifies the BGP peering information. If the BGP session instead goes from Oracle to the customer’s edge router, then the customer specifies the BGP peering information. There’s one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses.

Every CrossConnectMapping must have BGP IPv4 peering addresses. BGP IPv6 peering addresses are optional. If BGP IPv6 addresses are provided, the customer can exchange IPv6 routes with Oracle.

Methods

__init__(**kwargs) Initializes a new CrossConnectMapping object with values from keyword arguments.

Attributes

bgp_md5_auth_key Gets the bgp_md5_auth_key of this CrossConnectMapping.
cross_connect_or_cross_connect_group_id Gets the cross_connect_or_cross_connect_group_id of this CrossConnectMapping.
customer_bgp_peering_ip Gets the customer_bgp_peering_ip of this CrossConnectMapping.
customer_bgp_peering_ipv6 Gets the customer_bgp_peering_ipv6 of this CrossConnectMapping.
oracle_bgp_peering_ip Gets the oracle_bgp_peering_ip of this CrossConnectMapping.
oracle_bgp_peering_ipv6 Gets the oracle_bgp_peering_ipv6 of this CrossConnectMapping.
vlan Gets the vlan of this CrossConnectMapping.
__init__(**kwargs)

Initializes a new CrossConnectMapping 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 CrossConnectMapping.
  • cross_connect_or_cross_connect_group_id (str) – The value to assign to the cross_connect_or_cross_connect_group_id property of this CrossConnectMapping.
  • customer_bgp_peering_ip (str) – The value to assign to the customer_bgp_peering_ip property of this CrossConnectMapping.
  • oracle_bgp_peering_ip (str) – The value to assign to the oracle_bgp_peering_ip property of this CrossConnectMapping.
  • customer_bgp_peering_ipv6 (str) – The value to assign to the customer_bgp_peering_ipv6 property of this CrossConnectMapping.
  • oracle_bgp_peering_ipv6 (str) – The value to assign to the oracle_bgp_peering_ipv6 property of this CrossConnectMapping.
  • vlan (int) – The value to assign to the vlan property of this CrossConnectMapping.
bgp_md5_auth_key

Gets the bgp_md5_auth_key of this CrossConnectMapping. 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 CrossConnectMapping.
Return type:str
cross_connect_or_cross_connect_group_id

Gets the cross_connect_or_cross_connect_group_id of this CrossConnectMapping. 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 CrossConnectMapping.
Return type:str
customer_bgp_peering_ip

Gets the customer_bgp_peering_ip of this CrossConnectMapping. 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 subnet mask from /28 to /31.

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 CrossConnectMapping.
Return type:str
customer_bgp_peering_ipv6

Gets the customer_bgp_peering_ipv6 of this CrossConnectMapping. 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.

IPv6 addressing is supported for all commercial and government regions. See IPv6 Addresses.

Example: 2001:db8::1/64

Returns:The customer_bgp_peering_ipv6 of this CrossConnectMapping.
Return type:str
oracle_bgp_peering_ip

Gets the oracle_bgp_peering_ip of this CrossConnectMapping. The IPv4 address for Oracle’s end of the BGP session. Must use a subnet mask from /28 to /31. 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 CrossConnectMapping.
Return type:str
oracle_bgp_peering_ipv6

Gets the oracle_bgp_peering_ipv6 of this CrossConnectMapping. 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.

Note that IPv6 addressing is currently supported only in certain regions. See IPv6 Addresses.

Example: 2001:db8::2/64

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

Gets the vlan of this CrossConnectMapping. 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 CrossConnectMapping.
Return type:int