Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add excluded_machines parameter to exclude devices from being deployed/undeployed #294

Closed
7 tasks done
Skazza94 opened this issue May 14, 2024 · 0 comments
Closed
7 tasks done
Assignees
Milestone

Comments

@Skazza94
Copy link
Member

Skazza94 commented May 14, 2024

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:

  • *Manager.deploy_lab
  • Add unit tests for *Manager.deploy_lab
  • *Manager.undeploy_lab
  • Add unit tests for *Manager.undeploy_lab
  • Add parameter --exclude in lstart, lrestart, and lclean
  • Add unit tests for lstart, lrestart, and lclean commands
  • Add parameter in docs
@Skazza94 Skazza94 self-assigned this May 14, 2024
@Skazza94 Skazza94 added this to the Release 3.7.6 milestone May 14, 2024
Skazza94 added a commit that referenced this issue May 15, 2024
Skazza94 added a commit that referenced this issue May 15, 2024
tcaiazzi added a commit that referenced this issue May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants