mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-07-04 15:24:38 +02:00
Add support for '/ip dhcp-relay' path (#276)
* Add support for '/ip dhcp-relay' path * add changelogs fragments
This commit is contained in:
parent
18deb0b46b
commit
c6be3918ec
4 changed files with 20 additions and 0 deletions
2
changelogs/fragments/276-add_ip_dhcp-relay_path.yml
Normal file
2
changelogs/fragments/276-add_ip_dhcp-relay_path.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
minor_changes:
|
||||||
|
- api_info, api_modify - add missing path ``/ip dhcp-relay`` (https://github.com/ansible-collections/community.routeros/pull/276).
|
|
@ -2579,6 +2579,22 @@ PATHS = {
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
('ip', 'dhcp-relay'): APIData(
|
||||||
|
unversioned=VersionedAPIData(
|
||||||
|
fully_understood=True,
|
||||||
|
primary_keys=('name',),
|
||||||
|
fields={
|
||||||
|
'add-relay-info': KeyInfo(default=False),
|
||||||
|
'delay-threshold': KeyInfo(can_disable=True, remove_value='none'),
|
||||||
|
'dhcp-server': KeyInfo(required=True),
|
||||||
|
'disabled': KeyInfo(default=False),
|
||||||
|
'interface': KeyInfo(required=True),
|
||||||
|
'local-address': KeyInfo(can_disable=True, remove_value='0.0.0.0'),
|
||||||
|
'name': KeyInfo(),
|
||||||
|
'relay-info-remote-id': KeyInfo(),
|
||||||
|
},
|
||||||
|
),
|
||||||
|
),
|
||||||
('ip', 'dhcp-server', 'config'): APIData(
|
('ip', 'dhcp-server', 'config'): APIData(
|
||||||
unversioned=VersionedAPIData(
|
unversioned=VersionedAPIData(
|
||||||
single_value=True,
|
single_value=True,
|
||||||
|
|
|
@ -121,6 +121,7 @@ options:
|
||||||
- ip cloud advanced
|
- ip cloud advanced
|
||||||
- ip dhcp-client
|
- ip dhcp-client
|
||||||
- ip dhcp-client option
|
- ip dhcp-client option
|
||||||
|
- ip dhcp-relay
|
||||||
- ip dhcp-server
|
- ip dhcp-server
|
||||||
- ip dhcp-server config
|
- ip dhcp-server config
|
||||||
- ip dhcp-server lease
|
- ip dhcp-server lease
|
||||||
|
|
|
@ -130,6 +130,7 @@ options:
|
||||||
- ip cloud advanced
|
- ip cloud advanced
|
||||||
- ip dhcp-client
|
- ip dhcp-client
|
||||||
- ip dhcp-client option
|
- ip dhcp-client option
|
||||||
|
- ip dhcp-relay
|
||||||
- ip dhcp-server
|
- ip dhcp-server
|
||||||
- ip dhcp-server config
|
- ip dhcp-server config
|
||||||
- ip dhcp-server lease
|
- ip dhcp-server lease
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue