[Feature Request] Add a script for re-provisioning online APs
Currently, reprovisioning has to be done using the web frontend which doesn't have a dark theme and thus is ugly as hell.
I propose a script to safely re-provision an online AP with the following design:
- The AP doesn't get reprovisioned if there are clients connected to the AP, unless
--force|-f
is specified. - The AP is identified either using its MAC-address
--mac
, switchport--switchport
or name--name
. - For provisioning, the following options can be set, where only those options need to be set which actually differ from the current AP configuration:
-
--new-name
– the new name of the AP -
--ap-group
– the new group for the AP to be in
-
- An option
--wait-until|-w
might be specified to make the script wait until the specified point in time before provisioning the AP. - An option
--lazy|-l
might be specified to make the script wait for all clients to become disconnected from the AP before provisioning it. If--wait-until|-w
is also specified, the script shall force-provision the AP after the wait time has expired, but may provision it earlier if all clients are disconnected from the AP.