Add '/routing bgp template' path (#243)

* Add '/routing bgp template' path

* Add changelog fragment

* Update changelogs/fragments/243-add-routing-bgp-template-path.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Johannes Münch <git@washiza.eu>
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
derdeagle 2023-12-26 16:46:40 +01:00 committed by GitHub
parent 4fff1f1bbb
commit e4e5f64b46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 54 additions and 0 deletions

View file

@ -3999,6 +3999,56 @@ PATHS = {
},
),
),
('routing', 'bgp', 'template'): APIData(
unversioned=VersionedAPIData(
primary_keys=('name', ),
fully_understood=True,
fields={
'add-path-out': KeyInfo(),
'address-families': KeyInfo(default='ip'),
'as': KeyInfo(),
'as-override': KeyInfo(default=False),
'cisco-vpls-nlri-len-fmt': KeyInfo(),
'cluster-id': KeyInfo(),
'comment': KeyInfo(can_disable=True, remove_value=''),
'disabled': KeyInfo(default=False),
'hold-time': KeyInfo(default='3m'),
'input.accept-communities': KeyInfo(),
'input.accept-ext-communities': KeyInfo(),
'input.accept-large-communities': KeyInfo(),
'input.accept-unknown': KeyInfo(),
'input.accept-nlri': KeyInfo(),
'input.affinity': KeyInfo(),
'input.allow-as': KeyInfo(),
'input.filter': KeyInfo(),
'input.ignore-as-path-len': KeyInfo(default=False),
'input.limit-nlri-diversity': KeyInfo(),
'input.limit-process-routes-ipv4': KeyInfo(),
'input.limit-process-routes-ipv6': KeyInfo(),
'keepalive-time': KeyInfo(default='3m'),
'multihop': KeyInfo(default=False),
'name': KeyInfo(),
'nexthop-choice': KeyInfo(default='default'),
'output.affinity': KeyInfo(),
'output.default-originate': KeyInfo(default='never'),
'output.default-prepent': KeyInfo(),
'output.filter-chain': KeyInfo(),
'output.filter-select': KeyInfo(),
'output.keep-sent-attributes': KeyInfo(default=False),
'output.network': KeyInfo(),
'output.no-client-to-client-reflection': KeyInfo(),
'output.no-early-cut': KeyInfo(),
'output.redistribute': KeyInfo(),
'remove-private-as': KeyInfo(default=False),
'router-id': KeyInfo(default='main'),
'routing-table': KeyInfo(default='main'),
'save-to': KeyInfo(),
'templates': KeyInfo(),
'use-bfd': KeyInfo(default=False),
'vrf': KeyInfo(default='main'),
},
),
),
('system', 'logging', 'action'): APIData(
unversioned=VersionedAPIData(
fully_understood=True,