summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/vyatta-show-interfaces.pl1
-rw-r--r--templates/show/interfaces/vti/detail/node.def2
-rw-r--r--templates/show/interfaces/vti/node.def2
-rw-r--r--templates/show/interfaces/vti/node.tag/brief/node.def2
-rw-r--r--templates/show/interfaces/vti/node.tag/node.def3
5 files changed, 10 insertions, 0 deletions
diff --git a/scripts/vyatta-show-interfaces.pl b/scripts/vyatta-show-interfaces.pl
index b8a5ae6..d66190e 100755
--- a/scripts/vyatta-show-interfaces.pl
+++ b/scripts/vyatta-show-interfaces.pl
@@ -265,6 +265,7 @@ sub run_show_intf_brief {
next if ($intf =~ /sit0/);
next if ($intf =~ /tunl0/);
next if ($intf =~ /ip6tnl0/);
+ next if ($intf =~ /vti0/);
my @ip_addr = get_ipaddr($intf);
my ($state, $link) = get_state_link($intf);
$state = conv_brief_code($state);
diff --git a/templates/show/interfaces/vti/detail/node.def b/templates/show/interfaces/vti/detail/node.def
new file mode 100644
index 0000000..43604e4
--- /dev/null
+++ b/templates/show/interfaces/vti/detail/node.def
@@ -0,0 +1,2 @@
+help: Show detailed virtual tunnel interface information
+run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf-type=vti --action=show
diff --git a/templates/show/interfaces/vti/node.def b/templates/show/interfaces/vti/node.def
new file mode 100644
index 0000000..9e3fb7e
--- /dev/null
+++ b/templates/show/interfaces/vti/node.def
@@ -0,0 +1,2 @@
+help: Show virtual tunnel interface information
+run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf-type=vti --action=show-brief
diff --git a/templates/show/interfaces/vti/node.tag/brief/node.def b/templates/show/interfaces/vti/node.tag/brief/node.def
new file mode 100644
index 0000000..64dbb11
--- /dev/null
+++ b/templates/show/interfaces/vti/node.tag/brief/node.def
@@ -0,0 +1,2 @@
+help: Show summary of specified virtual tunnel interface information
+run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" --action=show-brief
diff --git a/templates/show/interfaces/vti/node.tag/node.def b/templates/show/interfaces/vti/node.tag/node.def
new file mode 100644
index 0000000..e0b8884
--- /dev/null
+++ b/templates/show/interfaces/vti/node.tag/node.def
@@ -0,0 +1,3 @@
+help: Show specified virtual tunnel interface information
+allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show vti
+run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4"