summaryrefslogtreecommitdiff
path: root/schema/op-mode-definition.rng
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2020-04-23 16:25:08 +0300
committerDaniil Baturin <daniil@vyos.io>2020-04-23 16:25:08 +0300
commit1ca8fc0b3f75d63f0751305d8d2d6e6a5f72c5e3 (patch)
tree8d82f38dd2ffbfe34159c587303a0393dbc3221e /schema/op-mode-definition.rng
parent23df7869d29ec574b22b5d793f215e6f62084dfd (diff)
downloadvyos-1x-1ca8fc0b3f75d63f0751305d8d2d6e6a5f72c5e3.tar.gz
vyos-1x-1ca8fc0b3f75d63f0751305d8d2d6e6a5f72c5e3.zip
T2129: allow top level tag nodes in op mode definitions.
Diffstat (limited to 'schema/op-mode-definition.rng')
-rw-r--r--schema/op-mode-definition.rng5
1 files changed, 4 insertions, 1 deletions
diff --git a/schema/op-mode-definition.rng b/schema/op-mode-definition.rng
index e9e7887cf..900f41e27 100644
--- a/schema/op-mode-definition.rng
+++ b/schema/op-mode-definition.rng
@@ -29,7 +29,10 @@
<start>
<element name="interfaceDefinition">
<zeroOrMore>
- <ref name="node"/>
+ <choice>
+ <ref name="node"/>
+ <ref name="tagNode"/>
+ </choice>
</zeroOrMore>
</element>
</start>