mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-24 18:58:41 +02:00
Add support for '/routing bgp' paths (#277)
* Add support for '/routing bgp' paths * resolve conflicts * add changelogs fragments
This commit is contained in:
parent
c6be3918ec
commit
018125ddfa
4 changed files with 72 additions and 0 deletions
2
changelogs/fragments/277-add_routing_bgp_paths.yml
Normal file
2
changelogs/fragments/277-add_routing_bgp_paths.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
minor_changes:
|
||||||
|
- api_info, api_modify - add missing paths ``/routing bgp aggregate``, ``/routing bgp network`` and ``/routing bgp peer`` (https://github.com/ansible-collections/community.routeros/pull/277).
|
|
@ -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(
|
('routing', 'bgp', 'connection'): APIData(
|
||||||
unversioned=VersionedAPIData(
|
unversioned=VersionedAPIData(
|
||||||
fully_understood=True,
|
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(
|
('routing', 'bgp', 'template'): APIData(
|
||||||
unversioned=VersionedAPIData(
|
unversioned=VersionedAPIData(
|
||||||
primary_keys=('name', ),
|
primary_keys=('name', ),
|
||||||
|
|
|
@ -191,8 +191,11 @@ options:
|
||||||
- queue type
|
- queue type
|
||||||
- radius
|
- radius
|
||||||
- radius incoming
|
- radius incoming
|
||||||
|
- routing bgp aggregate
|
||||||
- routing bgp connection
|
- routing bgp connection
|
||||||
- routing bgp instance
|
- routing bgp instance
|
||||||
|
- routing bgp network
|
||||||
|
- routing bgp peer
|
||||||
- routing bgp template
|
- routing bgp template
|
||||||
- routing filter rule
|
- routing filter rule
|
||||||
- routing filter select-rule
|
- routing filter select-rule
|
||||||
|
|
|
@ -200,8 +200,11 @@ options:
|
||||||
- queue type
|
- queue type
|
||||||
- radius
|
- radius
|
||||||
- radius incoming
|
- radius incoming
|
||||||
|
- routing bgp aggregate
|
||||||
- routing bgp connection
|
- routing bgp connection
|
||||||
- routing bgp instance
|
- routing bgp instance
|
||||||
|
- routing bgp network
|
||||||
|
- routing bgp peer
|
||||||
- routing bgp template
|
- routing bgp template
|
||||||
- routing filter rule
|
- routing filter rule
|
||||||
- routing filter select-rule
|
- routing filter select-rule
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue