Aruba-WLAN Python Scripts issueshttps://gitlab.fem-net.de/aruba-wlan/arubawlan-python-scripts/-/issues2021-09-16T15:55:50+02:00https://gitlab.fem-net.de/aruba-wlan/arubawlan-python-scripts/-/issues/3[Feature Request] Add a script for re-provisioning online APs2021-09-16T15:55:50+02:00Adrian Schollmeyer[Feature Request] Add a script for re-provisioning online APsCurrently, 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 reprovis...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.https://gitlab.fem-net.de/aruba-wlan/arubawlan-python-scripts/-/issues/1[Feature Request] Add support for a configuration file2021-08-29T01:46:42+02:00Adrian Schollmeyer[Feature Request] Add support for a configuration fileMany parameters used in these scripts are rather constant values that can be saved in a configuration file.
Ideally, I'd like to have a configuration file in a well-known location (e.g. `/etc/fem-arubawlan.conf`) where all those paramet...Many parameters used in these scripts are rather constant values that can be saved in a configuration file.
Ideally, I'd like to have a configuration file in a well-known location (e.g. `/etc/fem-arubawlan.conf`) where all those parameters are set.
For passwords, I recommand allowing to set a password command-line to retrieve the password from (e.g. like in [netbox-user-scripts](https://gitlab.fem-net.de/nexbox/netbox-user-scripts)).
This way, we can reduce the amount of command-line parameters and thus the complexity of the scripts drastically and improve user experience.