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:
hansmi 2023-08-21 21:32:43 +02:00 committed by GitHub
parent 11d83bffe6
commit adff9bbf8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 27 additions and 23 deletions

View 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).

View file

@ -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(),

View file

@ -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

View file

@ -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