[netcf-devel] define and undefine

Eric Blake eblake at redhat.com
Tue Mar 6 16:15:28 UTC 2012


On 03/06/2012 12:31 AM, hiren panchasara wrote:
> "define" takes an xmlfile as an argument, is that same as output of dumpxml?

Yes, that is one way to get a valid xml file.

> 
> And undefine would delete the interface from the configuration altogether.
> 
> Is my understanding correct?

Correct.  And if it helps you understand things, netcf modeled its
actions after libvirt, so you would get the same thing with 'virsh
define' when defining the XML for a VM.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <https://fedorahosted.org/pipermail/netcf-devel/attachments/20120306/ae5ef132/attachment.sig>


More information about the netcf-devel mailing list