GreFlexTunnelConfiguration

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

Bases: oci.vn_monitoring.models.flex_tunnel_configuration.FlexTunnelConfiguration

The gre tunnel configuration details.

Attributes

TUNNEL_TYPE_GRE str(object=’’) -> str
bgp_session [Required] Gets the bgp_session of this FlexTunnelConfiguration.
customer_tunnel_ip [Required] Gets the customer_tunnel_ip of this FlexTunnelConfiguration.
oracle_tunnel_ip [Required] Gets the oracle_tunnel_ip of this FlexTunnelConfiguration.
tunnel_type [Required] Gets the tunnel_type of this FlexTunnelConfiguration.

Methods

__init__(**kwargs) Initializes a new GreFlexTunnelConfiguration object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
TUNNEL_TYPE_GRE = 'GRE'
__init__(**kwargs)

Initializes a new GreFlexTunnelConfiguration object with values from keyword arguments. The default value of the tunnel_type attribute of this class is GRE and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • tunnel_type (str) – The value to assign to the tunnel_type property of this GreFlexTunnelConfiguration. Allowed values for this property are: “GRE”
  • customer_tunnel_ip (str) – The value to assign to the customer_tunnel_ip property of this GreFlexTunnelConfiguration.
  • oracle_tunnel_ip (str) – The value to assign to the oracle_tunnel_ip property of this GreFlexTunnelConfiguration.
  • bgp_session (oci.vn_monitoring.models.FlexTunnelBgpSession) – The value to assign to the bgp_session property of this GreFlexTunnelConfiguration.
bgp_session

[Required] Gets the bgp_session of this FlexTunnelConfiguration.

Returns:The bgp_session of this FlexTunnelConfiguration.
Return type:oci.vn_monitoring.models.FlexTunnelBgpSession
customer_tunnel_ip

[Required] Gets the customer_tunnel_ip of this FlexTunnelConfiguration. IP address of your end of the tunnel.

Returns:The customer_tunnel_ip of this FlexTunnelConfiguration.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

oracle_tunnel_ip

[Required] Gets the oracle_tunnel_ip of this FlexTunnelConfiguration. IP address of the oracle end of the tunnel.

Returns:The oracle_tunnel_ip of this FlexTunnelConfiguration.
Return type:str
tunnel_type

[Required] Gets the tunnel_type of this FlexTunnelConfiguration. The tunnel encapsulation protocol.

Allowed values for this property are: “GRE”

Returns:The tunnel_type of this FlexTunnelConfiguration.
Return type:str