mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-21 09:35:45 +02:00
Add support for "iot modbus" (#205)
The default values match those of RouterOS 7.11 on a Mikrotik RB924i-2nD-BT5&BG77 ("Knot"). Upstream documentation: https://help.mikrotik.com/docs/pages/viewpage.action?pageId=61046813 Signed-off-by: Michael Hanselmann <public@hansmi.ch>
This commit is contained in:
parent
b7569b9dfd
commit
193218446a
4 changed files with 14 additions and 0 deletions
2
changelogs/fragments/205-add-iot-modbus.yml
Normal file
2
changelogs/fragments/205-add-iot-modbus.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- api_info, api_modify - add support for the ``iot modbus`` path (https://github.com/ansible-collections/community.routeros/pull/205).
|
|
@ -1423,6 +1423,16 @@ PATHS = {
|
|||
'receive-errors': KeyInfo(default=False),
|
||||
},
|
||||
),
|
||||
('iot', 'modbus'): APIData(
|
||||
single_value=True,
|
||||
fully_understood=True,
|
||||
fields={
|
||||
'disabled': KeyInfo(default=True),
|
||||
'hardware-port': KeyInfo(default='modbus'),
|
||||
'tcp-port': KeyInfo(default=502),
|
||||
'timeout': KeyInfo(default=1000),
|
||||
},
|
||||
),
|
||||
('ip', 'accounting'): APIData(
|
||||
single_value=True,
|
||||
fully_understood=True,
|
||||
|
|
|
@ -86,6 +86,7 @@ options:
|
|||
- interface wireless security-profiles
|
||||
- interface wireless sniffer
|
||||
- interface wireless snooper
|
||||
- iot modbus
|
||||
- ip accounting
|
||||
- ip accounting web-access
|
||||
- ip address
|
||||
|
|
|
@ -91,6 +91,7 @@ options:
|
|||
- interface wireless security-profiles
|
||||
- interface wireless sniffer
|
||||
- interface wireless snooper
|
||||
- iot modbus
|
||||
- ip accounting
|
||||
- ip accounting web-access
|
||||
- ip address
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue