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

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