Displaying 2 results from an estimated 2 matches for "ininterfacedefinexml".
Did you mean:
interfacedefinexml
2014 Mar 12
2
libvirtError: this function is not supported by the connection driver: virInterfaceDefineXML
Hi,
Could anyone help I'm getting the following error when I tried to add a new
network interface.
DETAILS
Connection
---------------------------
import libvirt
conn = libvirt.open('qemu:///system')
Interface XML
----------------------
<interface type="bridge" name="br0">
<start mode="onboot"/>
<mtu size="1500"/>
2014 Mar 12
0
Re: [libvirt] libvirtError: this function is not supported by the connection driver: virInterfaceDefineXML
...------------------------------------
> libvirtError Traceback (most recent call last)
> /home/saju/<ipython-input-96-0536ffe3fa23> in<module>()
> ----> 1 conn.interfaceDefineXML(br1xml,0)
>
> /usr/lib/python2.7/dist-packages/libvirt.pyc ininterfaceDefineXML(self, xml, flags)
> 2750 libvirtd. """
> 2751 ret= libvirtmod.virInterfaceDefineXML(self._o, xml, flags)
> -> 2752 if retis None:raise libvirtError('virInterfaceDefineXML() failed', conn=self)
> 2753 __tmp=...