Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
libvirt.1263
2fc7e4a2-network-route-definition-to-networkcom...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 2fc7e4a2-network-route-definition-to-networkcommon.patch of Package libvirt.1263
From 2fc7e4a25a4ca72bce4dae7452531e43ecf80d89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= <cbosdonnat@suse.com> Date: Wed, 14 Jan 2015 10:51:52 +0100 Subject: [PATCH 2/7] Move network route definition to networkcommon.rng Moving network route to the network common schema will allow reusing it. --- docs/schemas/network.rng | 20 +------------------- docs/schemas/networkcommon.rng | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 19 deletions(-) Index: libvirt-1.2.5/docs/schemas/network.rng =================================================================== --- libvirt-1.2.5.orig/docs/schemas/network.rng +++ libvirt-1.2.5/docs/schemas/network.rng @@ -367,25 +367,7 @@ </zeroOrMore> <!-- <route> element --> <zeroOrMore> - <!-- The (static) route element specifies a network address and gateway - address to access that network. Both the network address and - the gateway address must be specified. --> - <element name="route"> - <optional> - <attribute name="family"><ref name="addr-family"/></attribute> - </optional> - <attribute name="address"><ref name="ipAddr"/></attribute> - <optional> - <choice> - <attribute name="netmask"><ref name="ipv4Addr"/></attribute> - <attribute name="prefix"><ref name="ipPrefix"/></attribute> - </choice> - </optional> - <attribute name="gateway"><ref name="ipAddr"/></attribute> - <optional> - <attribute name="metric"><ref name="unsignedInt"/></attribute> - </optional> - </element> + <ref name="routex"/> </zeroOrMore> </interleave> </element> Index: libvirt-1.2.5/docs/schemas/networkcommon.rng =================================================================== --- libvirt-1.2.5.orig/docs/schemas/networkcommon.rng +++ libvirt-1.2.5/docs/schemas/networkcommon.rng @@ -224,4 +224,26 @@ <param name='maxInclusive'>65535</param> </data> </define> + + <!-- The (static) route element specifies a network address and gateway + address to access that network. Both the network address and + the gateway address must be specified. --> + <define name='routex'> + <element name="route"> + <optional> + <attribute name="family"><ref name="addr-family"/></attribute> + </optional> + <attribute name="address"><ref name="ipAddr"/></attribute> + <optional> + <choice> + <attribute name="netmask"><ref name="ipv4Addr"/></attribute> + <attribute name="prefix"><ref name="ipPrefix"/></attribute> + </choice> + </optional> + <attribute name="gateway"><ref name="ipAddr"/></attribute> + <optional> + <attribute name="metric"><ref name="unsignedInt"/></attribute> + </optional> + </element> + </define> </grammar>
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor