mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-23 18:28:42 +02:00
Add support for the "port remote-access" path (#224)
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
This commit is contained in:
parent
29a01ea240
commit
9b4774c78d
4 changed files with 18 additions and 0 deletions
2
changelogs/fragments/224-add-port-remote-access.yml
Normal file
2
changelogs/fragments/224-add-port-remote-access.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
minor_changes:
|
||||||
|
- api_info, api_modify - add support for the ``port remote-access`` path (https://github.com/ansible-collections/community.routeros/pull/224).
|
|
@ -2840,6 +2840,20 @@ PATHS = {
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
('port', 'remote-access'): APIData(
|
||||||
|
unversioned=VersionedAPIData(
|
||||||
|
fully_understood=True,
|
||||||
|
fields={
|
||||||
|
'allowed-addresses': KeyInfo(default='0.0.0.0/0'),
|
||||||
|
'channel': KeyInfo(default=0),
|
||||||
|
'disabled': KeyInfo(default=False),
|
||||||
|
'log-file': KeyInfo(default=""),
|
||||||
|
'port': KeyInfo(required=True),
|
||||||
|
'protocol': KeyInfo(default='rfc2217'),
|
||||||
|
'tcp-port': KeyInfo(default=0),
|
||||||
|
},
|
||||||
|
),
|
||||||
|
),
|
||||||
('ppp', 'aaa'): APIData(
|
('ppp', 'aaa'): APIData(
|
||||||
unversioned=VersionedAPIData(
|
unversioned=VersionedAPIData(
|
||||||
single_value=True,
|
single_value=True,
|
||||||
|
|
|
@ -149,6 +149,7 @@ options:
|
||||||
- mpls
|
- mpls
|
||||||
- mpls ldp
|
- mpls ldp
|
||||||
- port firmware
|
- port firmware
|
||||||
|
- port remote-access
|
||||||
- ppp aaa
|
- ppp aaa
|
||||||
- ppp profile
|
- ppp profile
|
||||||
- queue interface
|
- queue interface
|
||||||
|
|
|
@ -158,6 +158,7 @@ options:
|
||||||
- mpls
|
- mpls
|
||||||
- mpls ldp
|
- mpls ldp
|
||||||
- port firmware
|
- port firmware
|
||||||
|
- port remote-access
|
||||||
- ppp aaa
|
- ppp aaa
|
||||||
- ppp profile
|
- ppp profile
|
||||||
- queue interface
|
- queue interface
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue