mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-21 01:25:49 +02:00
Support RouterOS path /interface ethernet switch port-isolation and /routing bfd configuration (#375)
* Update _api_data.py Add /interface/bridge property "port-cost-mode" which is supported since RouterOS 7.13. See changelog for details: https://mikrotik.com/download/changelogs * Create 371-add-bridge-port-cost-mode.yml * Update changelogs/fragments/371-add-bridge-port-cost-mode.yml Co-authored-by: Felix Fontein <felix@fontein.de> * Support for /interface ethernet switch port-isolation RouterOS has supported the /interface ethernet switch port-isolation path since version 6.43. This feature enables hardware offloaded Layer‑2 port isolation on supported switch chips Support for /routing bfd configuration Since RouterOS 7.11 it supports stable bfd support. See: https://iparchitechs.com/mikrotik-routeros-v7-11-stable-released/ * . * Add change file * attr order * Add name to fields * PEP8 * Update changelogs/fragments/375-port_isolation-and-routing_bfd_configuration.yml Co-authored-by: Felix Fontein <felix@fontein.de> * Update changelogs/fragments/375-port_isolation-and-routing_bfd_configuration.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Michael Jenny <mjenny@ansible.zvcloud.de>
This commit is contained in:
parent
49e4b83594
commit
c7b2275f2c
4 changed files with 44 additions and 0 deletions
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
minor_changes:
|
||||||
|
- api_info, api_modify - add ``interface ethernet switch port-isolation`` which is supported since RouterOS 6.43 (https://github.com/ansible-collections/community.routeros/pull/375).
|
||||||
|
- |
|
||||||
|
api_info, api_modify - add ``routing bfd configuration``. Officially stabilized BFD support for BGP and OSPF is available since RouterOS 7.11
|
||||||
|
(https://github.com/ansible-collections/community.routeros/pull/375).
|
|
@ -4187,6 +4187,28 @@ PATHS = {
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
('routing', 'bfd', 'configuration'): APIData(
|
||||||
|
versioned=[
|
||||||
|
('7.11', '>=', VersionedAPIData(
|
||||||
|
fully_understood=True,
|
||||||
|
fields={
|
||||||
|
'address-list': KeyInfo(),
|
||||||
|
'addresses': KeyInfo(),
|
||||||
|
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||||
|
'copy-from': KeyInfo(),
|
||||||
|
'disabled': KeyInfo(default=False),
|
||||||
|
'forbid-bfd': KeyInfo(),
|
||||||
|
'interfaces': KeyInfo(),
|
||||||
|
'min-echo-rx': KeyInfo(),
|
||||||
|
'min-rx': KeyInfo(),
|
||||||
|
'min-tx': KeyInfo(),
|
||||||
|
'multiplier': KeyInfo(),
|
||||||
|
'place-before': KeyInfo(),
|
||||||
|
'vrf': KeyInfo(),
|
||||||
|
},
|
||||||
|
))
|
||||||
|
],
|
||||||
|
),
|
||||||
('routing', 'bfd', 'interface'): APIData(
|
('routing', 'bfd', 'interface'): APIData(
|
||||||
unversioned=VersionedAPIData(
|
unversioned=VersionedAPIData(
|
||||||
unknown_mechanism=True,
|
unknown_mechanism=True,
|
||||||
|
@ -4903,6 +4925,18 @@ PATHS = {
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
('interface', 'ethernet', 'switch', 'port-isolation'): APIData(
|
||||||
|
versioned=[
|
||||||
|
('6.43', '>=', VersionedAPIData(
|
||||||
|
primary_keys=('name', ),
|
||||||
|
fully_understood=True,
|
||||||
|
fields={
|
||||||
|
'forwarding-override': KeyInfo(),
|
||||||
|
'name': KeyInfo(),
|
||||||
|
},
|
||||||
|
)),
|
||||||
|
],
|
||||||
|
),
|
||||||
('ip', 'dhcp-client', 'option'): APIData(
|
('ip', 'dhcp-client', 'option'): APIData(
|
||||||
unversioned=VersionedAPIData(
|
unversioned=VersionedAPIData(
|
||||||
fixed_entries=True,
|
fixed_entries=True,
|
||||||
|
|
|
@ -68,6 +68,7 @@ options:
|
||||||
- interface ethernet poe
|
- interface ethernet poe
|
||||||
- interface ethernet switch
|
- interface ethernet switch
|
||||||
- interface ethernet switch port
|
- interface ethernet switch port
|
||||||
|
- interface ethernet switch port-isolation
|
||||||
- interface gre
|
- interface gre
|
||||||
- interface gre6
|
- interface gre6
|
||||||
- interface l2tp-client
|
- interface l2tp-client
|
||||||
|
@ -203,6 +204,7 @@ options:
|
||||||
- queue type
|
- queue type
|
||||||
- radius
|
- radius
|
||||||
- radius incoming
|
- radius incoming
|
||||||
|
- routing bfd configuration
|
||||||
- routing bgp aggregate
|
- routing bgp aggregate
|
||||||
- routing bgp connection
|
- routing bgp connection
|
||||||
- routing bgp instance
|
- routing bgp instance
|
||||||
|
|
|
@ -79,6 +79,7 @@ options:
|
||||||
- interface ethernet poe
|
- interface ethernet poe
|
||||||
- interface ethernet switch
|
- interface ethernet switch
|
||||||
- interface ethernet switch port
|
- interface ethernet switch port
|
||||||
|
- interface ethernet switch port-isolation
|
||||||
- interface gre
|
- interface gre
|
||||||
- interface gre6
|
- interface gre6
|
||||||
- interface l2tp-client
|
- interface l2tp-client
|
||||||
|
@ -214,6 +215,7 @@ options:
|
||||||
- queue type
|
- queue type
|
||||||
- radius
|
- radius
|
||||||
- radius incoming
|
- radius incoming
|
||||||
|
- routing bfd configuration
|
||||||
- routing bgp aggregate
|
- routing bgp aggregate
|
||||||
- routing bgp connection
|
- routing bgp connection
|
||||||
- routing bgp instance
|
- routing bgp instance
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue