[netcf-devel] define and undefine

hiren panchasara hiren.panchasara at gmail.com
Tue Mar 6 17:24:09 UTC 2012


On Tue, Mar 6, 2012 at 8:44 AM, Eric Blake <eblake at redhat.com> wrote:

> 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.
>

Aaah, my bad. I meant some other valid xml which is not present in
interface.rng.

I got the point, though.

Thanks a lot,
Hiren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://fedorahosted.org/pipermail/netcf-devel/attachments/20120306/66314f80/attachment.html>


More information about the netcf-devel mailing list