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 volumes #51691

Merged
merged 2 commits into from
Feb 19, 2019
Merged

Virt volumes #51691

merged 2 commits into from
Feb 19, 2019

Conversation

cbosdo
Copy link
Contributor

@cbosdo cbosdo commented Feb 18, 2019

What does this PR do?

This PR adds the following virt execution module functions:

  • virt.volume_infos()
  • virt.volume_delete()

What issues does this PR fix or reference?

None

New Behavior

virt.volume_infos() provides data on one or more libvirt storage volumes.

virt.volume_delete() allows deleting a libvirt storage volume. This will be pretty useful to users that removed a disk from a VM using virt.update() since this function doesn't remove the disks.

Tests written?

Yes

Commits signed with GPG?

Yes

@cbosdo
Copy link
Contributor Author

cbosdo commented Feb 18, 2019

@rallytime This PR is ready for review.

@cbosdo cbosdo force-pushed the virt-volumes branch 2 times, most recently from 33252f4 to 73e92f2 Compare February 18, 2019 13:05
Expose informations of the libvirt storage volumes, either for one or
all the volumes. Among the provided data, this function exposes the
names of the virtual machines using the volumes of file type.
All users to remove a libvirt storage volume.
@cbosdo
Copy link
Contributor Author

cbosdo commented Oct 30, 2019

@Akm0d the master-port label can now be turned into has master-port

@waynew waynew removed the master-port label Dec 2, 2019
@cbosdo cbosdo deleted the virt-volumes branch March 13, 2020 15:25
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.

4 participants