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

virt module get_xml command should support flags #62

Open
braindevices opened this issue Mar 3, 2021 · 0 comments
Open

virt module get_xml command should support flags #62

braindevices opened this issue Mar 3, 2021 · 0 comments

Comments

@braindevices
Copy link

migrated from ansible

SUMMARY

libvirt XMLDesc(flags) The flag is important, some time we want to have VIR_DOMAIN_XML_SECURE to get sensitive info. In most cases we want to use VIR_DOMAIN_XML_INACTIVE for running VMs, in some cases we want to get the live state. So far the module use flag=0 which is live one without sensitive data. We need to give an additional flag parameter for this.

ISSUE TYPE
  • Feature Idea: add a flags parameter to pass into XMLDesc(), it can just be a list of int.
COMPONENT NAME

virt

ADDITIONAL INFORMATION

virt: command=get_xml flags=[...]

- virt:
    command: get_xml
    name: vm1
    flags:
       - 1
       - 2
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

No branches or pull requests

1 participant