summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2017-09-14 05:07:55 +0200
committerDaniil Baturin <daniil@baturin.org>2017-09-14 05:07:55 +0200
commite32842b6d4210f156aacaf6802bcad7f3def7e03 (patch)
tree1ebbe9b7b32cc9affeed9f9a601818c48aa11442 /tests
parent9181e13af0d7400f20636525cf5879c2036c4119 (diff)
downloadvyos-1x-e32842b6d4210f156aacaf6802bcad7f3def7e03.tar.gz
vyos-1x-e32842b6d4210f156aacaf6802bcad7f3def7e03.zip
Add an interface definition file for testing purposes.
Diffstat (limited to 'tests')
-rw-r--r--tests/data/interface-definitions/test.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/data/interface-definitions/test.xml b/tests/data/interface-definitions/test.xml
new file mode 100644
index 000000000..fbb302e70
--- /dev/null
+++ b/tests/data/interface-definitions/test.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="foo">
+ <properties>
+ <help>foo</help>
+ </properties>
+ <children>
+ <leafNode name="bar">
+ <properties>
+ <help>bar</help>
+ <valueHelp>
+ <format>bar</format>
+ <description>bar</description>
+ </valueHelp>
+ <completionHelp>
+ <list>foo bar</list>
+ <path>interfaces tunnel</path>
+ <script>/usr/bin/foo</script>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+</interfaceDefinition>