Add support for the "port remote-access" path (#224)

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
This commit is contained in:
hansmi 2023-10-07 14:25:11 +02:00 committed by GitHub
parent 29a01ea240
commit 9b4774c78d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 0 deletions

View 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).

View file

@ -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,

View file

@ -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

View file

@ -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