You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I do not see this implemented, documented or discussed anywhere so, I am created this feature request with the good intention of implementing it if the feature is not already available.
I would like to be able to get the Interfaces Addresses of a Domain (VM).
The idea of this feature would comes from wanting to get the IP address of an interface of a VM that has just been deployed to continue the VMs OS setup.
COMPONENT NAME
It seems the best place for this feature would be in the virt module. The VM_COMMAND could be get_ifaddresses.
ADDITIONAL INFORMATION
This module would be used to get the Domain (VM) interface addresses.
Example code using libvirt-python
- name: vm infocommunity.libvirt.virt:
command: get_ifaddressessource: <agent|arp|lease>domain: <name_of_vm>register: ifaddresses
The text was updated successfully, but these errors were encountered:
SUMMARY
I do not see this implemented, documented or discussed anywhere so, I am created this feature request with the good intention of implementing it if the feature is not already available.
I would like to be able to get the Interfaces Addresses of a Domain (VM).
virsh command:
virsh domifaddr --source <agent|arp|lease> <vm_name>
ISSUE TYPE
COMPONENT NAME
It seems the best place for this feature would be in the
virt
module. TheVM_COMMAND
could beget_ifaddresses
.ADDITIONAL INFORMATION
This module would be used to get the Domain (VM) interface addresses.
Example code using libvirt-python
The text was updated successfully, but these errors were encountered: