TunnelRouteSummary

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

Bases: object

A summary of the routes advertised to and received from the on-premises network.

Attributes:

ADVERTISER_CUSTOMER

A constant which can be used with the advertiser property of a TunnelRouteSummary.

ADVERTISER_ORACLE

A constant which can be used with the advertiser property of a TunnelRouteSummary.

advertiser

Gets the advertiser of this TunnelRouteSummary.

age

Gets the age of this TunnelRouteSummary.

as_path

Gets the as_path of this TunnelRouteSummary.

is_best_path

Gets the is_best_path of this TunnelRouteSummary.

prefix

Gets the prefix of this TunnelRouteSummary.

Methods:

__init__(**kwargs)

Initializes a new TunnelRouteSummary object with values from keyword arguments.

ADVERTISER_CUSTOMER = 'CUSTOMER'

A constant which can be used with the advertiser property of a TunnelRouteSummary. This constant has a value of “CUSTOMER”

ADVERTISER_ORACLE = 'ORACLE'

A constant which can be used with the advertiser property of a TunnelRouteSummary. This constant has a value of “ORACLE”

__init__(**kwargs)

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

Parameters
  • prefix (str) – The value to assign to the prefix property of this TunnelRouteSummary.

  • age (int) – The value to assign to the age property of this TunnelRouteSummary.

  • is_best_path (bool) – The value to assign to the is_best_path property of this TunnelRouteSummary.

  • as_path (list[int]) – The value to assign to the as_path property of this TunnelRouteSummary.

  • advertiser (str) – The value to assign to the advertiser property of this TunnelRouteSummary. Allowed values for this property are: “CUSTOMER”, “ORACLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

property advertiser

Gets the advertiser of this TunnelRouteSummary. The source of the route advertisement.

Allowed values for this property are: “CUSTOMER”, “ORACLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The advertiser of this TunnelRouteSummary.

Return type

str

property age

Gets the age of this TunnelRouteSummary. The age of the route.

Returns

The age of this TunnelRouteSummary.

Return type

int

property as_path

Gets the as_path of this TunnelRouteSummary. A list of ASNs in AS_Path.

Returns

The as_path of this TunnelRouteSummary.

Return type

list[int]

property is_best_path

Gets the is_best_path of this TunnelRouteSummary. Indicates this is the best route.

Returns

The is_best_path of this TunnelRouteSummary.

Return type

bool

property prefix

Gets the prefix of this TunnelRouteSummary. The BGP network layer reachability information.

Returns

The prefix of this TunnelRouteSummary.

Return type

str