summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaniadz <tdziubenko@ukr.net>2017-10-16 13:21:06 +0300
committerTaniadz <tdziubenko@ukr.net>2017-10-16 13:21:06 +0300
commit4a45d218691e69c8578dbd39f3128752868dd07d (patch)
tree9b8bc975d216af5bca9f8fde8a861fab8c0f28b8
parentc9167aadf137e74165dcb36a65f6eedd09e67da4 (diff)
downloadvyos-1x-4a45d218691e69c8578dbd39f3128752868dd07d.tar.gz
vyos-1x-4a45d218691e69c8578dbd39f3128752868dd07d.zip
T420: Write op mode version of node.def generator (write test-op.xml)
-rw-r--r--tests/data/interface-definitions/test-op.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/data/interface-definitions/test-op.xml b/tests/data/interface-definitions/test-op.xml
new file mode 100644
index 000000000..50bd686ae
--- /dev/null
+++ b/tests/data/interface-definitions/test-op.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="foo">
+ <properties>
+ <help>foo</help>
+ </properties>
+ <children>
+ <leafNode name="bar">
+ <command>/usr/bin/bar</command>
+ <properties>
+ <help>bar</help>
+ <completionHelp>
+ <list>foo bar</list>
+ <path>interfaces tunnel</path>
+ <script>/usr/bin/foo</script>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+</interfaceDefinition>