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

Limit the plan generation of Hypervisor to the machines passed. #270

Merged

Conversation

gabrielcocenza
Copy link
Member

  • currently the hypervisor is generating the plan for all hypervisor machines not considering the cli filter that can be specific to some machines or azs
  • changed the eq method of HypervisorGroup to also compare the app_units

- currently the hypervisor is generating the plan for all hypervisor
  machines not considering the cli filter that can be specific to
  some machines or azs
- changed the eq method of HypervisorGroup to also compare the
  app_units
@gabrielcocenza gabrielcocenza self-assigned this Mar 1, 2024
@gabrielcocenza gabrielcocenza requested review from a team, Pjack, aieri, agileshaw, jneo8 and rgildein March 1, 2024 18:09
Copy link
Contributor

@rgildein rgildein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall it's looks good, only some small changes required.

cou/steps/hypervisor.py Outdated Show resolved Hide resolved
cou/steps/hypervisor.py Outdated Show resolved Hide resolved
cou/steps/hypervisor.py Outdated Show resolved Hide resolved
cou/steps/plan.py Outdated Show resolved Hide resolved
tests/unit/steps/test_hypervisor.py Outdated Show resolved Hide resolved
tests/unit/steps/test_hypervisor.py Outdated Show resolved Hide resolved
tests/unit/steps/test_hypervisor.py Show resolved Hide resolved
tests/unit/steps/test_hypervisor.py Outdated Show resolved Hide resolved
@gabrielcocenza gabrielcocenza requested a review from rgildein March 4, 2024 14:07
cou/steps/hypervisor.py Show resolved Hide resolved
cou/steps/plan.py Outdated Show resolved Hide resolved
Copy link
Contributor

@agileshaw agileshaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good, just one suggestion.

cou/steps/plan.py Outdated Show resolved Hide resolved
cou/steps/plan.py Outdated Show resolved Hide resolved
@gabrielcocenza gabrielcocenza merged commit f2b7ee5 into canonical:dev/data-plane Mar 6, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants