mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-28 04:20:13 +02:00
Make wireless parameter "running" read-only (#233)
Commit e4a21311
added API data for the "interface wireless" path. It
contained the read-only "running" parameter. Writing to the parameter
fails:
Error while modifying for name="…" (ID *3): unknown parameter running
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
This commit is contained in:
parent
1beddb5854
commit
479f3106bf
2 changed files with 3 additions and 1 deletions
2
changelogs/fragments/233-wireless-running-read-only.yml
Normal file
2
changelogs/fragments/233-wireless-running-read-only.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
minor_changes:
|
||||||
|
- api_info, api_modify - mark the ``interface wireless`` parameter ``running`` as read-only (https://github.com/ansible-collections/community.routeros/pull/233).
|
|
@ -1563,7 +1563,7 @@ PATHS = {
|
||||||
'radio-name': KeyInfo(),
|
'radio-name': KeyInfo(),
|
||||||
'rate-selection': KeyInfo(default='advanced'),
|
'rate-selection': KeyInfo(default='advanced'),
|
||||||
'rate-set': KeyInfo(default='default'),
|
'rate-set': KeyInfo(default='default'),
|
||||||
'running': KeyInfo(default=False),
|
'running': KeyInfo(default=False, read_only=True),
|
||||||
'rx-chains': KeyInfo(default='0,1'),
|
'rx-chains': KeyInfo(default='0,1'),
|
||||||
'scan-list': KeyInfo(default='default'),
|
'scan-list': KeyInfo(default='default'),
|
||||||
'secondary-frequency': KeyInfo(default=''),
|
'secondary-frequency': KeyInfo(default=''),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue