diff options
author | Taniadz <tdziubenko@ukr.net> | 2017-10-16 13:21:06 +0300 |
---|---|---|
committer | Taniadz <tdziubenko@ukr.net> | 2017-10-16 13:21:06 +0300 |
commit | 4a45d218691e69c8578dbd39f3128752868dd07d (patch) | |
tree | 9b8bc975d216af5bca9f8fde8a861fab8c0f28b8 /tests | |
parent | c9167aadf137e74165dcb36a65f6eedd09e67da4 (diff) | |
download | vyos-1x-4a45d218691e69c8578dbd39f3128752868dd07d.tar.gz vyos-1x-4a45d218691e69c8578dbd39f3128752868dd07d.zip |
T420: Write op mode version of node.def generator (write test-op.xml)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/interface-definitions/test-op.xml | 21 |
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> |