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

@ -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(
unversioned=VersionedAPIData(
single_value=True,