UpdateIPSecTunnelBgpSessionDetails

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

Bases: object

UpdateIPSecTunnelBgpSessionDetails model.

__init__(**kwargs)

Initializes a new UpdateIPSecTunnelBgpSessionDetails 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 UpdateIPSecTunnelBgpSessionDetails.
  • customer_interface_ip (str) -- The value to assign to the customer_interface_ip property of this UpdateIPSecTunnelBgpSessionDetails.
  • customer_bgp_asn (str) -- The value to assign to the customer_bgp_asn property of this UpdateIPSecTunnelBgpSessionDetails.
customer_bgp_asn

Gets the customer_bgp_asn of this UpdateIPSecTunnelBgpSessionDetails. The BGP 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 you are switching the tunnel from using BGP dynamic routing to static routing, the customerBgpAsn must be null.

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

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

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

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

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

The value must be a /30 or /31.

If you are switching the tunnel from using BGP dynamic routing to static routing and want to remove the value for customerInterfaceIp, you can set the value to an empty string.

Example: 10.0.0.5/31

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

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

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

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

The value must be a /30 or /31.

If you are switching the tunnel from using BGP dynamic routing to static routing and want to remove the value for oracleInterfaceIp, you can set the value to an empty string.

Example: 10.0.0.4/31

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