mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-21 09:35:45 +02:00
Add support for '/interface pppoe-server server' path (#273)
* Add support for '/interface pppoe-server server' path * Fixed one-session-per-host default value * Add changelogs/fragments/273-add_interface_pppoe-server_support.yml
This commit is contained in:
parent
59f6591621
commit
62a795f995
4 changed files with 26 additions and 0 deletions
|
@ -1497,6 +1497,28 @@ PATHS = {
|
|||
},
|
||||
),
|
||||
),
|
||||
('interface', 'pppoe-server', 'server'): APIData(
|
||||
unversioned=VersionedAPIData(
|
||||
fully_understood=True,
|
||||
primary_keys=('interface', ),
|
||||
fields={
|
||||
'accept-empty-service': KeyInfo(default=True),
|
||||
'authentication': KeyInfo(default='pap,chap,mschap1,mschap2'),
|
||||
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||
'default-profile': KeyInfo(default='default'),
|
||||
'disabled': KeyInfo(default=True),
|
||||
'interface': KeyInfo(required=True),
|
||||
'keepalive-timeout': KeyInfo(default=10),
|
||||
'max-mru': KeyInfo(default='auto'),
|
||||
'max-mtu': KeyInfo(default='auto'),
|
||||
'max-sessions': KeyInfo(default='unlimited'),
|
||||
'mrru': KeyInfo(default='disabled'),
|
||||
'one-session-per-host': KeyInfo(default=False),
|
||||
'pado-delay': KeyInfo(default=0),
|
||||
'service-name': KeyInfo(default=''),
|
||||
},
|
||||
),
|
||||
),
|
||||
('interface', 'pptp-server', 'server'): APIData(
|
||||
unversioned=VersionedAPIData(
|
||||
single_value=True,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue