summaryrefslogtreecommitdiff
path: root/tests/data/interface-definitions/test-op.xml
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2017-10-17 16:26:12 +0700
committerGitHub <noreply@github.com>2017-10-17 16:26:12 +0700
commitbb898d7b058514b84755f05ca5d694b145d87253 (patch)
tree9b8bc975d216af5bca9f8fde8a861fab8c0f28b8 /tests/data/interface-definitions/test-op.xml
parent6b2028e5a40cc435875c2b516b81a2a84ecc6ee0 (diff)
parent4a45d218691e69c8578dbd39f3128752868dd07d (diff)
downloadvyos-1x-bb898d7b058514b84755f05ca5d694b145d87253.tar.gz
vyos-1x-bb898d7b058514b84755f05ca5d694b145d87253.zip
Merge pull request #5 from Taniadz/current
T420: Write op mode version of node.def generator
Diffstat (limited to 'tests/data/interface-definitions/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>