[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netcf-devel
Subject:    Re: [netcf-devel] [PATCH 2/2] permit link state in XML schema for bonds and vlans too
From:       Eric Blake <eblake () redhat ! com>
Date:       2014-08-22 2:26:46
Message-ID: 53F6AA66.6000407 () redhat ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On 08/21/2014 04:27 PM, Laine Stump wrote:
> When support for reporting link state and speed in interface status
> was added to netcf in commit 4be980b4, the changes to the RNG file
> (XML schema) were taken from libvirt, but at that point libvirt's RNG
> did not document reporting link state/speed for vlan or bond
> interfaces, so the schema in netcf also only shows the presence of the
> <link> element for ethernet interfaces (although in practice it does
> actually report <link> for those types of interfaces).
> 
> This patch updates the RNG in netcf to match what is allowed by the
> RNG in libvirt (since being corrected in libvirt commit
> 69db5f92). This makes no functional difference, since netcf's RNG is
> only referenced when an interface is defined (but <link> is a
> read-only element, so would never appear in the definition for a new
> interface), but it's always a good idea for the schema to be correct.
> 
> libirt upstream commit 69db5f921a2f6d62645f3531042b13b6382eb865
> ---
>  data/xml/interface.rng | 30 +++++++++++++++++++-----------
>  1 file changed, 19 insertions(+), 11 deletions(-)

ACK.

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


["signature.asc" (application/pgp-signature)]
[Attachment #6 (text/plain)]

_______________________________________________
netcf-devel mailing list
netcf-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/netcf-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic