summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2014-09-20 09:45:16 +0700
committerDaniil Baturin <daniil@baturin.org>2014-09-20 09:45:16 +0700
commit7d41b5131c5628cc99f952bd6d5eeca277ab8034 (patch)
tree7b9620bfa76d15a08d559d3105a2bb5d5d901c70
parent098bb3d81ef32283242689ccf7d703edb07d7c89 (diff)
parentde864bca0ebcdb32a5ba80513aee25a0f6587b4a (diff)
downloadvyatta-op-7d41b5131c5628cc99f952bd6d5eeca277ab8034.tar.gz
vyatta-op-7d41b5131c5628cc99f952bd6d5eeca277ab8034.zip
Merge pull request #2 from upa/helium-vxlan-cli
Add vxlan support
-rw-r--r--templates/show/interfaces/vxlan/detail/node.def2
-rw-r--r--templates/show/interfaces/vxlan/node.def2
-rw-r--r--templates/show/interfaces/vxlan/node.tag/brief/node.def2
-rw-r--r--templates/show/interfaces/vxlan/node.tag/node.def3
4 files changed, 9 insertions, 0 deletions
diff --git a/templates/show/interfaces/vxlan/detail/node.def b/templates/show/interfaces/vxlan/detail/node.def
new file mode 100644
index 0000000..69579d9
--- /dev/null
+++ b/templates/show/interfaces/vxlan/detail/node.def
@@ -0,0 +1,2 @@
+help: Show detailed vxlan interface information
+run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf-type=vxlan --action=show
diff --git a/templates/show/interfaces/vxlan/node.def b/templates/show/interfaces/vxlan/node.def
new file mode 100644
index 0000000..9e6bcd8
--- /dev/null
+++ b/templates/show/interfaces/vxlan/node.def
@@ -0,0 +1,2 @@
+help: Show vxlan interface information
+run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf-type=vxlan --action=show-brief
diff --git a/templates/show/interfaces/vxlan/node.tag/brief/node.def b/templates/show/interfaces/vxlan/node.tag/brief/node.def
new file mode 100644
index 0000000..5519a65
--- /dev/null
+++ b/templates/show/interfaces/vxlan/node.tag/brief/node.def
@@ -0,0 +1,2 @@
+help: Show summary of specified l2tpv3 interface information
+run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" --action=show-brief
diff --git a/templates/show/interfaces/vxlan/node.tag/node.def b/templates/show/interfaces/vxlan/node.tag/node.def
new file mode 100644
index 0000000..d172829
--- /dev/null
+++ b/templates/show/interfaces/vxlan/node.tag/node.def
@@ -0,0 +1,3 @@
+help: Show specified vxlan interface information
+allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show vxlan
+run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4"