PeerInformation

class oci.compute_cloud_at_customer.models.PeerInformation(**kwargs)

Bases: object

Routing information for peer nodes using the Border Gateway Protocol (BGP).

Methods

__init__(**kwargs) Initializes a new PeerInformation object with values from keyword arguments.

Attributes

asn Gets the asn of this PeerInformation.
ip Gets the ip of this PeerInformation.
__init__(**kwargs)

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

Parameters:
  • asn (int) – The value to assign to the asn property of this PeerInformation.
  • ip (str) – The value to assign to the ip property of this PeerInformation.
asn

Gets the asn of this PeerInformation. The Autonomous System Number (ASN) of the peer network.

Returns:The asn of this PeerInformation.
Return type:int
ip

Gets the ip of this PeerInformation. Neighbor Border Gateway Protocal (BGP) IP address. The IP address usually refers to the customer data center router.

Returns:The ip of this PeerInformation.
Return type:str