BgpSessionInfo

class oci.vn_monitoring.models.BgpSessionInfo(**kwargs)

Bases: object

Information for establishing a BGP session for the IPSec tunnel.

Attributes

BGP_IPV6_STATE_DOWN A constant which can be used with the bgp_ipv6_state property of a BgpSessionInfo.
BGP_IPV6_STATE_UP A constant which can be used with the bgp_ipv6_state property of a BgpSessionInfo.
BGP_STATE_DOWN A constant which can be used with the bgp_state property of a BgpSessionInfo.
BGP_STATE_UP A constant which can be used with the bgp_state property of a BgpSessionInfo.
bgp_ipv6_state Gets the bgp_ipv6_state of this BgpSessionInfo.
bgp_state Gets the bgp_state of this BgpSessionInfo.
customer_bgp_asn Gets the customer_bgp_asn of this BgpSessionInfo.
customer_interface_ip Gets the customer_interface_ip of this BgpSessionInfo.
customer_interface_ipv6 Gets the customer_interface_ipv6 of this BgpSessionInfo.
oracle_bgp_asn Gets the oracle_bgp_asn of this BgpSessionInfo.
oracle_interface_ip Gets the oracle_interface_ip of this BgpSessionInfo.
oracle_interface_ipv6 Gets the oracle_interface_ipv6 of this BgpSessionInfo.

Methods

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

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

BGP_IPV6_STATE_UP = 'UP'

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

BGP_STATE_DOWN = 'DOWN'

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

BGP_STATE_UP = 'UP'

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

__init__(**kwargs)

Initializes a new BgpSessionInfo 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 BgpSessionInfo.
  • customer_interface_ip (str) – The value to assign to the customer_interface_ip property of this BgpSessionInfo.
  • oracle_interface_ipv6 (str) – The value to assign to the oracle_interface_ipv6 property of this BgpSessionInfo.
  • customer_interface_ipv6 (str) – The value to assign to the customer_interface_ipv6 property of this BgpSessionInfo.
  • oracle_bgp_asn (str) – The value to assign to the oracle_bgp_asn property of this BgpSessionInfo.
  • customer_bgp_asn (str) – The value to assign to the customer_bgp_asn property of this BgpSessionInfo.
  • bgp_state (str) – The value to assign to the bgp_state property of this BgpSessionInfo. Allowed values for this property are: “UP”, “DOWN”
  • bgp_ipv6_state (str) – The value to assign to the bgp_ipv6_state property of this BgpSessionInfo. Allowed values for this property are: “UP”, “DOWN”
bgp_ipv6_state

Gets the bgp_ipv6_state of this BgpSessionInfo. The state of the BGP IPv6 session.

Allowed values for this property are: “UP”, “DOWN”

Returns:The bgp_ipv6_state of this BgpSessionInfo.
Return type:str
bgp_state

Gets the bgp_state of this BgpSessionInfo. The state of the BGP session.

Allowed values for this property are: “UP”, “DOWN”

Returns:The bgp_state of this BgpSessionInfo.
Return type:str
customer_bgp_asn

Gets the customer_bgp_asn of this BgpSessionInfo. 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 uses static routing, the customerBgpAsn must be null.

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

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

Gets the customer_interface_ip of this BgpSessionInfo. 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 so you can 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 BgpSessionInfo.
Return type:str
customer_interface_ipv6

Gets the customer_interface_ipv6 of this BgpSessionInfo. 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 BgpSessionInfo.
Return type:str
oracle_bgp_asn

Gets the oracle_bgp_asn of this BgpSessionInfo. The Oracle BGP ASN.

Returns:The oracle_bgp_asn of this BgpSessionInfo.
Return type:str
oracle_interface_ip

Gets the oracle_interface_ip of this BgpSessionInfo. 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 so you can 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 BgpSessionInfo.
Return type:str
oracle_interface_ipv6

Gets the oracle_interface_ipv6 of this BgpSessionInfo. 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 BgpSessionInfo.
Return type:str