mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-24 10:48:49 +02:00
Finalize fields for "interface wireless security-profiles" (#203)
A few fields were missing for `interface wireless security-profiles` (e.g. `disabled`). `default` on the other hand is a built-in property which can't be modified. Mark the `interface wireless security-profiles` path as fully understood to enable its use in Ansible tasks. Signed-off-by: Michael Hanselmann <public@hansmi.ch>
This commit is contained in:
parent
11d83bffe6
commit
adff9bbf8c
4 changed files with 27 additions and 23 deletions
2
changelogs/fragments/203-wireless-security-profiles.yml
Normal file
2
changelogs/fragments/203-wireless-security-profiles.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
minor_changes:
|
||||||
|
- api_info, api_modify - finalize fields for the ``interface wireless security-profiles`` path and enable it (https://github.com/ansible-collections/community.routeros/pull/203).
|
|
@ -1356,42 +1356,42 @@ PATHS = {
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
('interface', 'wireless', 'security-profiles'): APIData(
|
('interface', 'wireless', 'security-profiles'): APIData(
|
||||||
unknown_mechanism=True,
|
fully_understood=True,
|
||||||
# primary_keys=('default', ),
|
primary_keys=('name', ),
|
||||||
fields={
|
fields={
|
||||||
'default': KeyInfo(),
|
|
||||||
'authentication-types': KeyInfo(),
|
'authentication-types': KeyInfo(),
|
||||||
'disable-pmkid': KeyInfo(),
|
'disable-pmkid': KeyInfo(default=False),
|
||||||
|
'disabled': KeyInfo(default=True),
|
||||||
'eap-methods': KeyInfo(),
|
'eap-methods': KeyInfo(),
|
||||||
'group-ciphers': KeyInfo(),
|
'group-ciphers': KeyInfo(),
|
||||||
'group-key-update': KeyInfo(),
|
'group-key-update': KeyInfo(default='5m'),
|
||||||
'interim-update': KeyInfo(),
|
'interim-update': KeyInfo(),
|
||||||
'management-protection': KeyInfo(),
|
'management-protection': KeyInfo(default='disabled'),
|
||||||
'management-protection-key': KeyInfo(),
|
'management-protection-key': KeyInfo(default=''),
|
||||||
'mode': KeyInfo(),
|
'mode': KeyInfo(default='none'),
|
||||||
'mschapv2-password': KeyInfo(),
|
'mschapv2-password': KeyInfo(default=''),
|
||||||
'mschapv2-username': KeyInfo(),
|
'mschapv2-username': KeyInfo(default=''),
|
||||||
'name': KeyInfo(),
|
'name': KeyInfo(),
|
||||||
'radius-called-format': KeyInfo(),
|
'radius-called-format': KeyInfo(),
|
||||||
'radius-eap-accounting': KeyInfo(),
|
'radius-eap-accounting': KeyInfo(default=False),
|
||||||
'radius-mac-accounting': KeyInfo(),
|
'radius-mac-accounting': KeyInfo(default=False),
|
||||||
'radius-mac-authentication': KeyInfo(),
|
'radius-mac-authentication': KeyInfo(default=False),
|
||||||
'radius-mac-caching': KeyInfo(),
|
'radius-mac-caching': KeyInfo(default='disabled'),
|
||||||
'radius-mac-format': KeyInfo(),
|
'radius-mac-format': KeyInfo(default='XX:XX:XX:XX:XX:XX'),
|
||||||
'radius-mac-mode': KeyInfo(),
|
'radius-mac-mode': KeyInfo(default='as-username'),
|
||||||
'static-algo-0': KeyInfo(),
|
'static-algo-0': KeyInfo(default='none'),
|
||||||
'static-algo-1': KeyInfo(),
|
'static-algo-1': KeyInfo(default='none'),
|
||||||
'static-algo-2': KeyInfo(),
|
'static-algo-2': KeyInfo(default='none'),
|
||||||
'static-algo-3': KeyInfo(),
|
'static-algo-3': KeyInfo(default='none'),
|
||||||
'static-key-0': KeyInfo(),
|
'static-key-0': KeyInfo(),
|
||||||
'static-key-1': KeyInfo(),
|
'static-key-1': KeyInfo(),
|
||||||
'static-key-2': KeyInfo(),
|
'static-key-2': KeyInfo(),
|
||||||
'static-key-3': KeyInfo(),
|
'static-key-3': KeyInfo(),
|
||||||
'static-sta-private-algo': KeyInfo(),
|
'static-sta-private-algo': KeyInfo(default='none'),
|
||||||
'static-sta-private-key': KeyInfo(),
|
'static-sta-private-key': KeyInfo(),
|
||||||
'static-transmit-key': KeyInfo(),
|
'static-transmit-key': KeyInfo(),
|
||||||
'supplicant-identity': KeyInfo(),
|
'supplicant-identity': KeyInfo(default='MikroTik'),
|
||||||
'tls-certificate': KeyInfo(),
|
'tls-certificate': KeyInfo(default='none'),
|
||||||
'tls-mode': KeyInfo(),
|
'tls-mode': KeyInfo(),
|
||||||
'unicast-ciphers': KeyInfo(),
|
'unicast-ciphers': KeyInfo(),
|
||||||
'wpa-pre-shared-key': KeyInfo(),
|
'wpa-pre-shared-key': KeyInfo(),
|
||||||
|
|
|
@ -83,6 +83,7 @@ options:
|
||||||
- interface wireless
|
- interface wireless
|
||||||
- interface wireless align
|
- interface wireless align
|
||||||
- interface wireless cap
|
- interface wireless cap
|
||||||
|
- interface wireless security-profiles
|
||||||
- interface wireless sniffer
|
- interface wireless sniffer
|
||||||
- interface wireless snooper
|
- interface wireless snooper
|
||||||
- ip accounting
|
- ip accounting
|
||||||
|
|
|
@ -88,6 +88,7 @@ options:
|
||||||
- interface wireless
|
- interface wireless
|
||||||
- interface wireless align
|
- interface wireless align
|
||||||
- interface wireless cap
|
- interface wireless cap
|
||||||
|
- interface wireless security-profiles
|
||||||
- interface wireless sniffer
|
- interface wireless sniffer
|
||||||
- interface wireless snooper
|
- interface wireless snooper
|
||||||
- ip accounting
|
- ip accounting
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue