Skip to content

Commit

Permalink
Add '/routing bgp template' path
Browse files Browse the repository at this point in the history
  • Loading branch information
derdeagle committed Dec 25, 2023
1 parent ac89aa0 commit c092be5
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 0 deletions.
50 changes: 50 additions & 0 deletions plugins/module_utils/_api_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -3671,6 +3671,56 @@ def join_path(path):
},
),
),
('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,
Expand Down
1 change: 1 addition & 0 deletions plugins/modules/api_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@
- radius incoming
- routing bgp connection
- routing bgp instance
- routing bgp template
- routing filter rule
- routing filter select-rule
- routing id
Expand Down
1 change: 1 addition & 0 deletions plugins/modules/api_modify.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@
- radius incoming
- routing bgp connection
- routing bgp instance
- routing bgp template
- routing filter rule
- routing filter select-rule
- routing id
Expand Down

0 comments on commit c092be5

Please sign in to comment.