Fixes #284: Implement 'interface wireless access-list' and 'interface wireless connect-list' (#340)

Add changelog fragment
This commit is contained in:
Johannes Münch 2025-01-24 21:40:39 +01:00 committed by GitHub
parent 11454b802e
commit 85d24d180e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 65 additions and 0 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- api_info, api_modify - add the ``interface wireless access-list`` and ``interface wireless connect-list`` paths (https://github.com/ansible-collections/community.routeros/issues/284, https://github.com/ansible-collections/community.routeros/pull/340).

View file

@ -2545,6 +2545,30 @@ PATHS = {
},
),
),
('interface', 'wireless', 'access-list'): APIData(
unversioned=VersionedAPIData(
fully_understood=True,
fields={
'allow-signal-out-of-range': KeyInfo(default='10s'),
'ap-tx-limit': KeyInfo(default=0),
'authentication': KeyInfo(default=True),
'client-tx-limit': KeyInfo(default=0),
'comment': KeyInfo(can_disable=True, remove_value=''),
'disabled': KeyInfo(default=False),
'forwarding': KeyInfo(default=True),
'interface': KeyInfo(default='any'),
'mac-address': KeyInfo(default='00:00:00:00:00:00'),
'management-protection-key': KeyInfo(default=''),
'private-algo': KeyInfo(default='none'),
'private-key': KeyInfo(default=''),
'private-pre-shared-key': KeyInfo(default=''),
'signal-range': KeyInfo(default='-120..120'),
'time': KeyInfo(),
'vlan-id': KeyInfo(default=1),
'vlan-mode': KeyInfo(default='default'),
},
),
),
('interface', 'wireless', 'cap'): APIData(
unversioned=VersionedAPIData(
single_value=True,
@ -2563,6 +2587,41 @@ PATHS = {
},
),
),
('interface', 'wireless', 'connect-list'): APIData(
unversioned=VersionedAPIData(
fully_understood=True,
fields={
'3gpp': KeyInfo(default=''),
'allow-signal-out-of-range': KeyInfo(default='10s'),
'area-prefix': KeyInfo(default=''),
'comment': KeyInfo(can_disable=True, remove_value=''),
'connect': KeyInfo(default=True),
'disabled': KeyInfo(default=False),
'interface': KeyInfo(required=True),
'interworking': KeyInfo(default='any'),
'iw-asra': KeyInfo(default='any'),
'iw-authentication-types': KeyInfo(),
'iw-connection-capabilities': KeyInfo(),
'iw-esr': KeyInfo(default='any'),
'iw-hessid': KeyInfo(default='00:00:00:00:00:00'),
'iw-hotspot20': KeyInfo(default='any'),
'iw-hotspot20-dgaf': KeyInfo(default='any'),
'iw-internet': KeyInfo(default='any'),
'iw-ipv4-availability': KeyInfo(default='any'),
'iw-ipv6-availability': KeyInfo(default='any'),
'iw-network-type': KeyInfo(default='wildcard'),
'iw-realms': KeyInfo(),
'iw-roaming-ois': KeyInfo(default=''),
'iw-uesa': KeyInfo(default='any'),
'iw-venue': KeyInfo(default='any'),
'mac-address': KeyInfo(default='00:00:00:00:00:00'),
'security-profile': KeyInfo(default='none'),
'signal-range': KeyInfo(default='-120..120'),
'ssid': KeyInfo(default=''),
'wireless-protocol': KeyInfo(default='any'),
},
),
),
('interface', 'wireless', 'security-profiles'): APIData(
unversioned=VersionedAPIData(
fully_understood=True,

View file

@ -109,8 +109,10 @@ options:
- interface wireguard
- interface wireguard peers
- interface wireless
- interface wireless access-list
- interface wireless align
- interface wireless cap
- interface wireless connect-list
- interface wireless security-profiles
- interface wireless sniffer
- interface wireless snooper

View file

@ -120,8 +120,10 @@ options:
- interface wireguard
- interface wireguard peers
- interface wireless
- interface wireless access-list
- interface wireless align
- interface wireless cap
- interface wireless connect-list
- interface wireless security-profiles
- interface wireless sniffer
- interface wireless snooper