Config

Leafs

class RoutingPolicy.DefinedSets.BgpDefinedSets.CommunitySets.CommunitySet.Config

Bases: Entity

Class Hierarchy: RoutingPolicy DefinedSets BgpDefinedSets CommunitySets CommunitySet Config

This class represents configuration data.

Configuration data for BGP community sets

community_set_name

name / label of the community set – this is used to reference the set in match conditions

type: str

mandatory: True

community_member

members of the community set

type: union of the below types:

type: list of int

range: 65536..4294901759

type: list of str

pattern: ^(6553[0-5]|655[0-2][0-9]|654[0-9]{2}|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{1,3}|[0-9]):(6553[0-5]|655[0-2][0-9]|654[0-9]{2}|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{1,3}|[0-9])$

type: list of str

type: list of BGPWELLKNOWNSTDCOMMUNITY