Config

Leafs

class Bgp.PeerGroups.PeerGroup.Config

Bases: Entity

Class Hierarchy: Bgp PeerGroups PeerGroup Config

This class represents configuration data.

Configuration parameters relating to the BGP neighbor or

group

peer_group_name

Name of the BGP peer-group

type: str

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