Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finalize fields for "ppp profile" #217

Merged
merged 1 commit into from
Sep 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions changelogs/fragments/217-ppp-profiles.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- api_info, api_modify - finalize fields for the ``ppp profile`` path and enable it (https://github.com/ansible-collections/community.routeros/pull/217).
27 changes: 14 additions & 13 deletions plugins/module_utils/_api_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -3326,36 +3326,37 @@ def join_path(path):
),
('ppp', 'profile'): APIData(
unversioned=VersionedAPIData(
has_identifier=True,
fully_understood=True,
primary_keys=('name', ),
fields={
'address-list': KeyInfo(),
'address-list': KeyInfo(default=''),
'bridge': KeyInfo(can_disable=True),
'bridge-horizon': KeyInfo(can_disable=True),
'bridge-learning': KeyInfo(),
'bridge-learning': KeyInfo(default='default'),
'bridge-path-cost': KeyInfo(can_disable=True),
'bridge-port-priority': KeyInfo(can_disable=True),
'change-tcp-mss': KeyInfo(),
'change-tcp-mss': KeyInfo(default=True),
'dns-server': KeyInfo(can_disable=True),
'idle-timeout': KeyInfo(can_disable=True),
'incoming-filter': KeyInfo(can_disable=True),
'insert-queue-before': KeyInfo(can_disable=True),
'interface-list': KeyInfo(can_disable=True),
'local-address': KeyInfo(can_disable=True),
'name': KeyInfo(),
'on-down': KeyInfo(),
'on-up': KeyInfo(),
'only-one': KeyInfo(),
'name': KeyInfo(required=True),
'on-down': KeyInfo(default=''),
'on-up': KeyInfo(default=''),
'only-one': KeyInfo(default='default'),
'outgoing-filter': KeyInfo(can_disable=True),
'parent-queue': KeyInfo(can_disable=True),
'queue-type': KeyInfo(can_disable=True),
'rate-limit': KeyInfo(can_disable=True),
'remote-address': KeyInfo(can_disable=True),
'session-timeout': KeyInfo(can_disable=True),
'use-compression': KeyInfo(),
'use-encryption': KeyInfo(),
'use-ipv6': KeyInfo(),
'use-mpls': KeyInfo(),
'use-upnp': KeyInfo(),
'use-compression': KeyInfo(default='default'),
'use-encryption': KeyInfo(default='default'),
'use-ipv6': KeyInfo(default=True),
'use-mpls': KeyInfo(default='default'),
'use-upnp': KeyInfo(default='default'),
'wins-server': KeyInfo(can_disable=True),
},
),
Expand Down
1 change: 1 addition & 0 deletions plugins/modules/api_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@
- mpls ldp
- port firmware
- ppp aaa
- ppp profile
- queue interface
- queue tree
- radius incoming
Expand Down
1 change: 1 addition & 0 deletions plugins/modules/api_modify.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@
- mpls ldp
- port firmware
- ppp aaa
- ppp profile
- queue interface
- queue tree
- radius incoming
Expand Down