Skip to content

Commit

Permalink
Add support for '/routing bgp network' path
Browse files Browse the repository at this point in the history
  • Loading branch information
vint2k committed Apr 12, 2024
1 parent 025af4d commit fd55812
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions plugins/module_utils/_api_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -4483,6 +4483,18 @@ def join_path(path):
},
),
),
('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', 'template'): APIData(
unversioned=VersionedAPIData(
primary_keys=('name', ),
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 @@ -185,6 +185,7 @@
- radius incoming
- routing bgp connection
- routing bgp peer
- routing bgp network
- routing bgp instance
- routing bgp template
- routing filter rule
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 @@ -194,6 +194,7 @@
- radius incoming
- routing bgp connection
- routing bgp peer
- routing bgp network
- routing bgp instance
- routing bgp template
- routing filter rule
Expand Down

0 comments on commit fd55812

Please sign in to comment.