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

Replace use of deprecated toolsStatus field #370

Conversation

atc0005
Copy link
Owner

@atc0005 atc0005 commented Oct 7, 2021

Update functions which rely on this field to determine VMware Tools
status to instead use the supported toolsRunningStatus and
toolsVersionStatus2 fields.

Create helper function to consolidate evaluation logic and use it when
filtering the initial VirtualMachine collection and later for
determining the overall service state of the collection.

Details included in the LongServiceOutput have also been updated to
use the new field details and the stated threshold criteria have
similarly been updated to reflect updated logic.

fixes GH-366

Update functions which rely on this field to determine VMware Tools
status to instead use the supported `toolsRunningStatus` and
`toolsVersionStatus2` fields.

Create helper function to consolidate evaluation logic and use it when
filtering the initial VirtualMachine collection and later for
determining the overall service state of the collection.

Details included in the `LongServiceOutput` have also been updated to
use the new field details and the stated threshold criteria have
similarly been updated to reflect updated logic.

refs GH-366
@atc0005 atc0005 added tools output/logging virtual machine output/extended Long Service Output (aka, "extended" or "detailed") power labels Oct 7, 2021
@atc0005 atc0005 added this to the Next Release milestone Oct 7, 2021
@atc0005 atc0005 self-assigned this Oct 7, 2021
@atc0005 atc0005 changed the title Replace use of deprecated toolsStatus field Replace use of deprecated toolsStatus field Oct 7, 2021
Replace coverage specific to the deprecated `toolsStatus` field
with details for the `toolsVersionStatus2` and
`toolsRunningStatus` fields.

refs GH-366
@atc0005 atc0005 marked this pull request as ready for review October 7, 2021 22:15
@atc0005 atc0005 added the documentation Improvements or additions to documentation label Oct 7, 2021
@atc0005 atc0005 merged commit 97bdb15 into master Oct 7, 2021
@atc0005 atc0005 deleted the i366-extend-vmware-tools-plugin-to-eval-additional-status-fields branch October 7, 2021 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation output/extended Long Service Output (aka, "extended" or "detailed") output/logging power tools virtual machine
Projects
None yet
1 participant