mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-24 18:58:41 +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(
|
||||
unknown_mechanism=True,
|
||||
# primary_keys=('default', ),
|
||||
fully_understood=True,
|
||||
primary_keys=('name', ),
|
||||
fields={
|
||||
'default': KeyInfo(),
|
||||
'authentication-types': KeyInfo(),
|
||||
'disable-pmkid': KeyInfo(),
|
||||
'disable-pmkid': KeyInfo(default=False),
|
||||
'disabled': KeyInfo(default=True),
|
||||
'eap-methods': KeyInfo(),
|
||||
'group-ciphers': KeyInfo(),
|
||||
'group-key-update': KeyInfo(),
|
||||
'group-key-update': KeyInfo(default='5m'),
|
||||
'interim-update': KeyInfo(),
|
||||
'management-protection': KeyInfo(),
|
||||
'management-protection-key': KeyInfo(),
|
||||
'mode': KeyInfo(),
|
||||
'mschapv2-password': KeyInfo(),
|
||||
'mschapv2-username': KeyInfo(),
|
||||
'management-protection': KeyInfo(default='disabled'),
|
||||
'management-protection-key': KeyInfo(default=''),
|
||||
'mode': KeyInfo(default='none'),
|
||||
'mschapv2-password': KeyInfo(default=''),
|
||||
'mschapv2-username': KeyInfo(default=''),
|
||||
'name': KeyInfo(),
|
||||
'radius-called-format': KeyInfo(),
|
||||
'radius-eap-accounting': KeyInfo(),
|
||||
'radius-mac-accounting': KeyInfo(),
|
||||
'radius-mac-authentication': KeyInfo(),
|
||||
'radius-mac-caching': KeyInfo(),
|
||||
'radius-mac-format': KeyInfo(),
|
||||
'radius-mac-mode': KeyInfo(),
|
||||
'static-algo-0': KeyInfo(),
|
||||
'static-algo-1': KeyInfo(),
|
||||
'static-algo-2': KeyInfo(),
|
||||
'static-algo-3': KeyInfo(),
|
||||
'radius-eap-accounting': KeyInfo(default=False),
|
||||
'radius-mac-accounting': KeyInfo(default=False),
|
||||
'radius-mac-authentication': KeyInfo(default=False),
|
||||
'radius-mac-caching': KeyInfo(default='disabled'),
|
||||
'radius-mac-format': KeyInfo(default='XX:XX:XX:XX:XX:XX'),
|
||||
'radius-mac-mode': KeyInfo(default='as-username'),
|
||||
'static-algo-0': KeyInfo(default='none'),
|
||||
'static-algo-1': KeyInfo(default='none'),
|
||||
'static-algo-2': KeyInfo(default='none'),
|
||||
'static-algo-3': KeyInfo(default='none'),
|
||||
'static-key-0': KeyInfo(),
|
||||
'static-key-1': KeyInfo(),
|
||||
'static-key-2': KeyInfo(),
|
||||
'static-key-3': KeyInfo(),
|
||||
'static-sta-private-algo': KeyInfo(),
|
||||
'static-sta-private-algo': KeyInfo(default='none'),
|
||||
'static-sta-private-key': KeyInfo(),
|
||||
'static-transmit-key': KeyInfo(),
|
||||
'supplicant-identity': KeyInfo(),
|
||||
'tls-certificate': KeyInfo(),
|
||||
'supplicant-identity': KeyInfo(default='MikroTik'),
|
||||
'tls-certificate': KeyInfo(default='none'),
|
||||
'tls-mode': KeyInfo(),
|
||||
'unicast-ciphers': KeyInfo(),
|
||||
'wpa-pre-shared-key': KeyInfo(),
|
||||
|
|
|
@ -83,6 +83,7 @@ options:
|
|||
- interface wireless
|
||||
- interface wireless align
|
||||
- interface wireless cap
|
||||
- interface wireless security-profiles
|
||||
- interface wireless sniffer
|
||||
- interface wireless snooper
|
||||
- ip accounting
|
||||
|
|
|
@ -88,6 +88,7 @@ options:
|
|||
- interface wireless
|
||||
- interface wireless align
|
||||
- interface wireless cap
|
||||
- interface wireless security-profiles
|
||||
- interface wireless sniffer
|
||||
- interface wireless snooper
|
||||
- ip accounting
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue