Config¶
Leafs
auth_password
description
enabled
local_as
neighbor_address
peer_as
peer_group
peer_type
remove_private_as
route_flap_damping
send_community
-
class
NetworkInstances.NetworkInstance.Protocols.Protocol.Bgp.Neighbors.Neighbor.
Config
¶ Bases:
Entity
Class Hierarchy:
NetworkInstances
NetworkInstance
Protocols
Protocol
Bgp
Neighbors
Neighbor
Config
This class represents configuration data.
Configuration parameters relating to the BGP neighbor or
group
-
peer_group
¶ The peer-group with which this neighbor is associated
type: str
refers to:
peer_group_name
-
neighbor_address
¶ Address of the BGP peer, either in IPv4 or IPv6
type: union of the below types:
type: str
pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$type: str
pattern: ^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$
-
enabled
¶ Whether the BGP peer is enabled. In cases where the enabled leaf is set to false, the local system should not initiate connections to the neighbor, and should not respond to TCP connections attempts from the neighbor. If the state of the BGP session is ESTABLISHED at the time that this leaf is set to false, the BGP session should be ceased
type: bool
default value: true
-
peer_as
¶ AS number of the peer
type: int
range: 0..4294967295
-
local_as
¶ The local autonomous system number that is to be used when establishing sessions with the remote peer or peer group, if this differs from the global BGP router autonomous system number
type: int
range: 0..4294967295
-
peer_type
¶ Explicitly designate the peer or peer group as internal (iBGP) or external (eBGP)
type:
PeerType
-
auth_password
¶ Configures an MD5 authentication password for use with neighboring devices
type: str
-
remove_private_as
¶ Remove private AS numbers from updates sent to peers - when this leaf is not specified, the AS_PATH attribute should be sent to the peer unchanged
type: one of the below values:
PRIVATEASREMOVEALL
-
route_flap_damping
¶ Enable route flap damping
type: bool
default value: false
-
send_community
¶ Specify which types of community should be sent to the neighbor or group. The default is to not send the community attribute
type:
CommunityType
default value: NONE
-
description
¶ An optional textual description (intended primarily for use with a peer or group
type: str
-