Re: [PATCH 1/2] Trivial fix: in dhcp-host the name is optional

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/15/2013 02:02 PM, Gene Czarcinski wrote:
> Although in IPv4 one must pick either mac or name, either
> can be omitted.  Similarly, for IPv6, the name
> can be optionally omitted.
> Signed-off-by: Gene Czarcinski <gene@xxxxxxxxx>
> ---
>  docs/schemas/network.rng | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/docs/schemas/network.rng b/docs/schemas/network.rng
> index 09d7c73..a479453 100644
> --- a/docs/schemas/network.rng
> +++ b/docs/schemas/network.rng
> @@ -281,7 +281,9 @@
>                      <optional>
>                        <attribute name="mac"><ref name="uniMacAddr"/></attribute>
>                      </optional>
> -                    <attribute name="name"><text/></attribute>
> +                    <optional>
> +                      <attribute name="name"><text/></attribute>
> +                    </optional>
>                      <attribute name="ip"><ref name="ipAddr"/></attribute>
>                    </element>
>                  </zeroOrMore>

ACK.

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]