search for: virdomaininterfaceaddress

Displaying 9 results from an estimated 9 matches for "virdomaininterfaceaddress".

2016 Apr 01
1
Using virDomainInterfaceAddresses
Hi, I'm trying to use virDomainInterfaceAddresses to get interface info for XEN DOMs but keep getting following error: libvirt: Domain Config error : this function is not supported by the connection driver: virDomainInterfaceAddresses I tried recompiling libvirt with ./configure --with-interface --with-network and it all went fine but still n...
2018 Mar 19
2
Network interface name of guest via python API
...ut one thing I'm missing is the name of the network interfaces of the guests. I can get the MAC address from the XML but there seems to be no function to actually get the name of the interface. The only function that comes close is this one: https://libvirt.org/html/libvirt-libvirt-domain.html#virDomainInterfaceAddresses This function requires a parameter that I don't really have enough information about. What is the best way to enumerate a guests interfaces including the name? Regards, Dennis
2016 Jan 08
1
operation forbidden Read Only Access
Hi, When issuing virDomainInterfaceAddresses() libvirt C language API, I got following error: libvirt: Domain Config error : operation forbidden: read only access prevents virDomainInterfaceAddresses How may I ask for a non-readonly connexion ? ( looks like to be RO by default) Thx for help. Regards, J.P. Ribeauville P: +33.(0).1...
2018 Mar 19
0
Re: Network interface name of guest via python API
...ing is the name of the network interfaces of the > guests. I can get the MAC address from the XML but there seems to be no > function to actually get the name of the interface. > > The only function that comes close is this one: > https://libvirt.org/html/libvirt-libvirt-domain.html#virDomainInterfaceAddresses > > This function requires a parameter that I don't really have enough > information about. Which parameter is that? flags? That seems fairly thoroughly explained in the documentation you pointed at. > What is the best way to enumerate a guests interfaces including the name? A...
2017 Sep 20
1
Re : Libvirt Java Bindings
I am developing a Java Application using Libvirt. I found that the Java Bindings are not in active development. I need to obtain the IP Address of the Domain. In C, it may relate to virDomainInterfaceAddresses. Is there any way to implement it in Java.
2015 Dec 18
1
Getting IP address of a lxc container via libvirt
Hello I wanted to understand if there is a way to get LXC container's ip address. - virDomainInterfaceAddresses API only works for qemu/kvm and not with the lxc driver. What other options do I have? Using enter-lxc-namespace is throwing this error: virsh -c lxc:/// lxc-enter-namespace <domain> --noseclabel /sbin/ifconfig libvirt: error : Expected at least one file descriptor Appreciate any help....
2017 Sep 12
0
Regarding Libvirt Java Bindings
I am developing a Java Application using Libvirt. I found that the Java Bindings are not in active development. I need to obtain the IP Address of the Domain. In C, it may relate to virDomainInterfaceAddresses. Is there any way to implement it in Java. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20170912/ca2859e2/attachment.htm>
2016 Jan 08
2
Re: operation forbidden Read Only Access
...P Addresses via libvirt API Message-ID: <1051EFB4D3A1704680C38CCAAC5836D292F01EF8@WPTXMAIL2.ptx.axway.int> Content-Type: text/plain; charset="iso-8859-1" Hi , Despite the fact that my Guest has an IP address , by running this piece of code on a KVM host : ifaces_count = F_virDomainInterfaceAddresses(domain, &ifaces,VIR_DOMAIN_INTERFACE_ADDRESSES_SRC_LEASE, NULL); ifaces_count = F_virDomainInterfaceAddresses(domain, &ifaces,VIR_DOMAIN_INTERFACE_ADDRESSES_SRC_AGENT, NULL); I'm not able to get a ifaces_count different from -1 Additionnaly : - IP Addresses are not present...
2015 Jul 13
2
Can't figure out how to restart VM after making config changes in virt-manager
I finally figured out my VNC configuration, so I can now run virt-manager to inspect and manipulate my VM. I initially created the VM with "virt-install", but I haven't been able to see the console or do anything with it. When I ran virt-manager, I tried to configure the vcpus (1->4) and change the boot order (cdrom, then disk, as I created the VM with an ISO). When I made