summaryrefslogtreecommitdiff
path: root/schema/interface_definition.rng
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-05-16 05:55:08 +0200
committerDaniil Baturin <daniil@baturin.org>2018-05-16 05:55:08 +0200
commitf34d968e942c29ab9eae881cc5486d743cfee08a (patch)
tree6462402405558a60e0cbc119784a22bf8374b2a6 /schema/interface_definition.rng
parent97213f4c2e765202f32d99eec880fa69b252a01d (diff)
downloadvyos-1x-f34d968e942c29ab9eae881cc5486d743cfee08a.tar.gz
vyos-1x-f34d968e942c29ab9eae881cc5486d743cfee08a.zip
Import the original RNC schema from vyconf and allow leaf nodes to have owners.
This is probably unavoidable since many small options are independent and mixing unrelated things in one script wouldn't be good.
Diffstat (limited to 'schema/interface_definition.rng')
-rw-r--r--schema/interface_definition.rng7
1 files changed, 6 insertions, 1 deletions
diff --git a/schema/interface_definition.rng b/schema/interface_definition.rng
index d1bd9a708..195ef27f4 100644
--- a/schema/interface_definition.rng
+++ b/schema/interface_definition.rng
@@ -88,7 +88,12 @@
-->
<define name="leafNode">
<element name="leafNode">
- <ref name="nodeNameAttr"/>
+ <interleave>
+ <optional>
+ <ref name="ownerAttr"/>
+ </optional>
+ <ref name="nodeNameAttr"/>
+ </interleave>
<ref name="properties"/>
</element>
</define>