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

Create plugin to assert that a list of VMs are all powered on #428

Open
atc0005 opened this issue Oct 22, 2021 · 2 comments
Open

Create plugin to assert that a list of VMs are all powered on #428

atc0005 opened this issue Oct 22, 2021 · 2 comments
Assignees
Labels
config contrib custom attributes documentation Improvements or additions to documentation enhancement New feature or request output/extended Long Service Output (aka, "extended" or "detailed") power virtual machine
Milestone

Comments

@atc0005
Copy link
Owner

atc0005 commented Oct 22, 2021

Overview

This plugin could accept a list of:

  • VM names
  • VM IDs (MoRefs, MOIDs)
  • Custom Attributes

Perhaps include a --ignore-missing flag to allow the plugin to ignore any VMs which are not found via one of the values. The LongServiceOutput could include a list of requested VM names/IDs which were not found as requested.

References

@atc0005 atc0005 added documentation Improvements or additions to documentation enhancement New feature or request config virtual machine output/extended Long Service Output (aka, "extended" or "detailed") power contrib labels Oct 22, 2021
@atc0005 atc0005 added this to the Future milestone Oct 22, 2021
@atc0005 atc0005 self-assigned this Oct 22, 2021
@atc0005 atc0005 changed the title Create plugin to assert that list of VMs are all powered on Create plugin to assert that a list of VMs (names and/or IDs) are all powered on Oct 22, 2021
@atc0005 atc0005 changed the title Create plugin to assert that a list of VMs (names and/or IDs) are all powered on Create plugin to assert that a list of VMs are all powered on Oct 24, 2021
@atc0005
Copy link
Owner Author

atc0005 commented Aug 6, 2023

This plugin could also evaluate whether the VM is paused; it may be that the powerState property indicates that a VM is powered on, even if the paused property indicates that the VM is unavailable for workloads.

@atc0005
Copy link
Owner Author

atc0005 commented Aug 6, 2023

It may also be useful to evaluate the bootTime property. If the value is currently low (e.g., recently booted), it may be worth using this as a problematic metric.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config contrib custom attributes documentation Improvements or additions to documentation enhancement New feature or request output/extended Long Service Output (aka, "extended" or "detailed") power virtual machine
Projects
None yet
Development

No branches or pull requests

1 participant