[netcf-devel] define and undefine
Eric Blake
eblake at redhat.com
Tue Mar 6 16:44:25 UTC 2012
On 03/06/2012 09:39 AM, hiren panchasara wrote:
> Thanks Eric. A question in-lined:
>
> On Tue, Mar 6, 2012 at 8:15 AM, Eric Blake <eblake at redhat.com> wrote:
>
>> 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.
>>
> It seems, it should be able to get all possible values out of any valid xml
> file and try to create an interface. But the way dumpxml/our schema
> specifies mac address is : <mac address="00:27:13:66:67:63"/> So, the input
> should follow that pattern. (i.e and not <mac ="00:27:13:66:67:63"/>. Does
> that sound about right?
Any XML that satisfies the RelaxNG schema in
netcf/data/xml/interface.rng should be valid. <mac
address="00:27:13:66:67:63"/> is part of that schema. <mac
="00:27:13:66:67:63"/> is not valid XML, no matter what RelaxNG schema
you are using.
--
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/3765c22d/attachment.sig>
More information about the netcf-devel
mailing list