mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-23 10:18:45 +02:00
Add upnp interfaces, graphing interface and resource (#227)
* Add ip upnp interfaces * Add tool graphing interface and resource * Update changelog
This commit is contained in:
parent
9b4774c78d
commit
226649ac13
4 changed files with 47 additions and 0 deletions
2
changelogs/fragments/227-add-upnp-graphing.yml
Normal file
2
changelogs/fragments/227-add-upnp-graphing.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- api_info, api_modify - add support for the ``ip upnp interfaces``, ``tool graphing interface``, ``tool graphing resource`` paths (https://github.com/ansible-collections/community.routeros/pull/227).
|
|
@ -2415,6 +2415,18 @@ PATHS = {
|
|||
},
|
||||
),
|
||||
),
|
||||
('ip', 'upnp', 'interfaces'): APIData(
|
||||
unversioned=VersionedAPIData(
|
||||
fully_understood=True,
|
||||
primary_keys=('interface', 'type'),
|
||||
fields={
|
||||
'disabled': KeyInfo(default=False),
|
||||
'interface': KeyInfo(),
|
||||
'type': KeyInfo(),
|
||||
'forced-ip': KeyInfo(can_disable=True),
|
||||
},
|
||||
),
|
||||
),
|
||||
('ipv6', 'dhcp-client'): APIData(
|
||||
unversioned=VersionedAPIData(
|
||||
fully_understood=True,
|
||||
|
@ -3180,6 +3192,33 @@ PATHS = {
|
|||
},
|
||||
),
|
||||
),
|
||||
('tool', 'graphing', 'interface'): APIData(
|
||||
versioned=[
|
||||
('7', '>=', VersionedAPIData(
|
||||
fully_understood=True,
|
||||
fields={
|
||||
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||
'disabled': KeyInfo(default=False),
|
||||
'allow-address': KeyInfo(default='0.0.0.0/0'),
|
||||
'interface': KeyInfo(default='all'),
|
||||
'store-on-disk': KeyInfo(default=True),
|
||||
},
|
||||
)),
|
||||
],
|
||||
),
|
||||
('tool', 'graphing', 'resource'): APIData(
|
||||
versioned=[
|
||||
('7', '>=', VersionedAPIData(
|
||||
fully_understood=True,
|
||||
fields={
|
||||
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||
'disabled': KeyInfo(default=False),
|
||||
'allow-address': KeyInfo(default='0.0.0.0/0'),
|
||||
'store-on-disk': KeyInfo(default=True),
|
||||
},
|
||||
)),
|
||||
],
|
||||
),
|
||||
('tool', 'mac-server'): APIData(
|
||||
unversioned=VersionedAPIData(
|
||||
single_value=True,
|
||||
|
|
|
@ -133,6 +133,7 @@ options:
|
|||
- ip traffic-flow ipfix
|
||||
- ip traffic-flow target
|
||||
- ip upnp
|
||||
- ip upnp interfaces
|
||||
- ipv6 address
|
||||
- ipv6 dhcp-client
|
||||
- ipv6 dhcp-server
|
||||
|
@ -190,6 +191,8 @@ options:
|
|||
- tool bandwidth-server
|
||||
- tool e-mail
|
||||
- tool graphing
|
||||
- tool graphing interface
|
||||
- tool graphing resource
|
||||
- tool mac-server
|
||||
- tool mac-server mac-winbox
|
||||
- tool mac-server ping
|
||||
|
|
|
@ -142,6 +142,7 @@ options:
|
|||
- ip traffic-flow ipfix
|
||||
- ip traffic-flow target
|
||||
- ip upnp
|
||||
- ip upnp interfaces
|
||||
- ipv6 address
|
||||
- ipv6 dhcp-client
|
||||
- ipv6 dhcp-server
|
||||
|
@ -199,6 +200,8 @@ options:
|
|||
- tool bandwidth-server
|
||||
- tool e-mail
|
||||
- tool graphing
|
||||
- tool graphing interface
|
||||
- tool graphing resource
|
||||
- tool mac-server
|
||||
- tool mac-server mac-winbox
|
||||
- tool mac-server ping
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue