Add support for '/routing bgp' paths (#277)

* Add support for '/routing bgp' paths

* resolve conflicts

* add changelogs fragments
This commit is contained in:
Igor 2024-04-18 14:29:44 +04:00 committed by GitHub
parent c6be3918ec
commit 018125ddfa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 72 additions and 0 deletions

View file

@ -4516,6 +4516,23 @@ PATHS = {
},
),
),
('routing', 'bgp', 'aggregate'): APIData(
unversioned=VersionedAPIData(
primary_keys=('prefix',),
fully_understood=True,
fields={
'advertise-filter': KeyInfo(),
'attribute-filter': KeyInfo(),
'disabled': KeyInfo(default=False),
'include-igp': KeyInfo(default=False),
'inherit-attributes': KeyInfo(default=True),
'instance': KeyInfo(required=True),
'prefix': KeyInfo(required=True),
'summary-only': KeyInfo(default=True),
'suppress-filter': KeyInfo(),
},
),
),
('routing', 'bgp', 'connection'): APIData(
unversioned=VersionedAPIData(
fully_understood=True,
@ -4600,6 +4617,53 @@ PATHS = {
},
),
),
('routing', 'bgp', 'network'): APIData(
unversioned=VersionedAPIData(
primary_keys=('network',),
fully_understood=True,
fields={
'comment': KeyInfo(can_disable=True, remove_value=''),
'disabled': KeyInfo(default=False),
'network': KeyInfo(required=True),
'synchronize': KeyInfo(default=True),
},
),
),
('routing', 'bgp', 'peer'): APIData(
unversioned=VersionedAPIData(
primary_keys=('name', ),
fully_understood=True,
fields={
'address-families': KeyInfo(default='ip'),
'allow-as-in': KeyInfo(can_disable=True, remove_value=''),
'as-override': KeyInfo(default=False),
'cisco-vpls-nlri-len-fmt': KeyInfo(),
'comment': KeyInfo(can_disable=True, remove_value=''),
'default-originate': KeyInfo(default='never'),
'disabled': KeyInfo(default=False),
'hold-time': KeyInfo(default='3m'),
'in-filter': KeyInfo(),
'instance': KeyInfo(),
'keepalive-time': KeyInfo(can_disable=True, remove_value=''),
'max-prefix-limit': KeyInfo(can_disable=True, remove_value=''),
'max-prefix-restart-time': KeyInfo(can_disable=True, remove_value=''),
'multihop': KeyInfo(default=False),
'name': KeyInfo(),
'nexthop-choice': KeyInfo(default='default'),
'passive': KeyInfo(default=False),
'out-filter': KeyInfo(),
'remote-address': KeyInfo(required=True),
'remote-as': KeyInfo(required=True),
'remote-port': KeyInfo(can_disable=True, remove_value=''),
'remove-private-as': KeyInfo(default=False),
'route-reflect': KeyInfo(default=False),
'tcp-md5-key': KeyInfo(),
'ttl': KeyInfo(default='default'),
'update-source': KeyInfo(can_disable=True, remove_value='none'),
'use-bfd': KeyInfo(default=False),
},
),
),
('routing', 'bgp', 'template'): APIData(
unversioned=VersionedAPIData(
primary_keys=('name', ),