CreateIPSecTunnelBgpSessionDetails

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

Bases: object

CreateIPSecTunnelBgpSessionDetails model.

__init__(**kwargs)

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

Parameters:
  • oracle_interface_ip (str) -- The value to assign to the oracle_interface_ip property of this CreateIPSecTunnelBgpSessionDetails.
  • customer_interface_ip (str) -- The value to assign to the customer_interface_ip property of this CreateIPSecTunnelBgpSessionDetails.
  • customer_bgp_asn (str) -- The value to assign to the customer_bgp_asn property of this CreateIPSecTunnelBgpSessionDetails.
customer_bgp_asn

Gets the customer_bgp_asn of this CreateIPSecTunnelBgpSessionDetails. If the tunnel's routing attribute is set to BGP (see IPSecConnectionTunnel), this ASN is required and used for the tunnel's BGP session. This is the ASN of the network on the CPE end of the BGP session. Can be a 2-byte or 4-byte ASN. Uses "asplain" format.

If the tunnel's routing attribute is set to STATIC, the customerBgpAsn must be null.

Example: 12345 (2-byte) or 1587232876 (4-byte)

Returns:The customer_bgp_asn of this CreateIPSecTunnelBgpSessionDetails.
Return type:str
customer_interface_ip

Gets the customer_interface_ip of this CreateIPSecTunnelBgpSessionDetails. The IP address for the CPE end of the inside tunnel interface.

If the tunnel's routing attribute is set to BGP (see IPSecConnectionTunnel), this IP address is required and used for the tunnel's BGP session.

If routing is instead set to STATIC, this IP address is optional. You can set this IP address to troubleshoot or monitor the tunnel.

The value must be a /30 or /31.

Example: 10.0.0.5/31

Returns:The customer_interface_ip of this CreateIPSecTunnelBgpSessionDetails.
Return type:str
oracle_interface_ip

Gets the oracle_interface_ip of this CreateIPSecTunnelBgpSessionDetails. The IP address for the Oracle end of the inside tunnel interface.

If the tunnel's routing attribute is set to BGP (see IPSecConnectionTunnel), this IP address is required and used for the tunnel's BGP session.

If routing is instead set to STATIC, this IP address is optional. You can set this IP address to troubleshoot or monitor the tunnel.

The value must be a /30 or /31.

Example: 10.0.0.4/31

Returns:The oracle_interface_ip of this CreateIPSecTunnelBgpSessionDetails.
Return type:str