CreateIPSecTunnelBgpSessionDetails¶
- class oci.core.models.CreateIPSecTunnelBgpSessionDetails(**kwargs)¶
Bases:
objectCreateIPSecTunnelBgpSessionDetails model.
Methods:
__init__(**kwargs)Initializes a new CreateIPSecTunnelBgpSessionDetails object with values from keyword arguments.
Attributes:
Gets the customer_bgp_asn of this CreateIPSecTunnelBgpSessionDetails.
Gets the customer_interface_ip of this CreateIPSecTunnelBgpSessionDetails.
Gets the customer_interface_ipv6 of this CreateIPSecTunnelBgpSessionDetails.
Gets the oracle_interface_ip of this CreateIPSecTunnelBgpSessionDetails.
Gets the oracle_interface_ipv6 of this CreateIPSecTunnelBgpSessionDetails.
- __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.
oracle_interface_ipv6 (str) – The value to assign to the oracle_interface_ipv6 property of this CreateIPSecTunnelBgpSessionDetails.
customer_interface_ipv6 (str) – The value to assign to the customer_interface_ipv6 property of this CreateIPSecTunnelBgpSessionDetails.
customer_bgp_asn (str) – The value to assign to the customer_bgp_asn property of this CreateIPSecTunnelBgpSessionDetails.
- property 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
- property 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
- property customer_interface_ipv6¶
Gets the customer_interface_ipv6 of this CreateIPSecTunnelBgpSessionDetails. The IPv6 address for the CPE end of the inside tunnel interface. This IP address is optional.
If the tunnel’s routing attribute is set to BGP (see
IPSecConnectionTunnel), 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.
Only subnet masks from /64 up to /127 are allowed.
Example: 2001:db8::1/64
- Returns
The customer_interface_ipv6 of this CreateIPSecTunnelBgpSessionDetails.
- Return type
str
- property 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
- property oracle_interface_ipv6¶
Gets the oracle_interface_ipv6 of this CreateIPSecTunnelBgpSessionDetails. The IPv6 address for the Oracle end of the inside tunnel interface. This IP address is optional.
If the tunnel’s routing attribute is set to BGP (see
IPSecConnectionTunnel), 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.
Only subnet masks from /64 up to /127 are allowed.
Example: 2001:db8::1/64
- Returns
The oracle_interface_ipv6 of this CreateIPSecTunnelBgpSessionDetails.
- Return type
str