Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
New grains fetching detailed hypervisor info for Xen domains #46459
What does this PR do?
Add new grains to parse hypervisor details
Xen exposes a lot of detail about the hypervisor in /sys/hypervisor.
Parse the hypervisor version and the capabilities and expose these
This allows for detailed targeting and appropriate actions, e.g. when
No. It looked like the whole _virtual part has no tests at all.
Commits signed with GPG?
@damon-atkins I do not believe there is any documentation.
If you look at https://docs.saltstack.com/en/latest/topics/grains/, it links straight to https://github.com/saltstack/salt/blob/develop/salt/grains/core.py for "documentation". And otherwise it suggests to use the grains module to discover what is available.
@ixs Can you clean up the lint violations? https://jenkins.saltstack.com/job/PR/job/salt-pr-lint-n/19996/violations/file/salt/grains/core.py/
Hi @ixs - This change is causing some test failures in the