Kathara
Kathara copied to clipboard
Add `excluded_machines` parameter to exclude devices from being deployed/undeployed
Currently, Kathará supports the selected_machines
parameter, allowing deployment/undeployment of a specific set of devices.
However, there are situations where it would be useful to target all devices except for a few.
This issue proposes the introduction of a new parameter called excluded_machines
. This parameter would function as the inverse of selected_machines
, meaning that the command would apply to all devices except those specified in this set.
The excluded_machines
works in alternative to selected_machines
.
The parameter will be added in the following parts of the code:
- [x]
*Manager.deploy_lab
- [x] Add unit tests for
*Manager.deploy_lab
- [x]
*Manager.undeploy_lab
- [x] Add unit tests for
*Manager.undeploy_lab
- [x] Add parameter
--exclude
inlstart
,lrestart
, andlclean
- [x] Add unit tests for
lstart
,lrestart
, andlclean
commands - [x] Add parameter in docs