summaryrefslogtreecommitdiff
path: root/templates/show/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show/interfaces')
-rw-r--r--templates/show/interfaces/ethernet/node.def2
-rw-r--r--templates/show/interfaces/ethernet/node.tag/node.def2
-rw-r--r--templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def2
-rw-r--r--templates/show/interfaces/ethernet/node.tag/vif/node.tag/physical/node.def2
-rw-r--r--templates/show/interfaces/loopback/node.def2
-rw-r--r--templates/show/interfaces/loopback/node.tag/node.def2
-rw-r--r--templates/show/interfaces/node.def2
-rw-r--r--templates/show/interfaces/system/enabled/node.def2
-rw-r--r--templates/show/interfaces/system/node.def2
-rw-r--r--templates/show/interfaces/tunnel/node.def2
-rw-r--r--templates/show/interfaces/tunnel/node.tag/node.def2
11 files changed, 11 insertions, 11 deletions
diff --git a/templates/show/interfaces/ethernet/node.def b/templates/show/interfaces/ethernet/node.def
index 299c6e2..76e0990 100644
--- a/templates/show/interfaces/ethernet/node.def
+++ b/templates/show/interfaces/ethernet/node.def
@@ -1,2 +1,2 @@
help: "Show ethernet interface information"
-run: ${vyatta_bindir}/show_interfaces_ethernet
+run: ${vyatta_bindir}/vyatta-show-interfaces ethernet
diff --git a/templates/show/interfaces/ethernet/node.tag/node.def b/templates/show/interfaces/ethernet/node.tag/node.def
index 1354886..09bd522 100644
--- a/templates/show/interfaces/ethernet/node.tag/node.def
+++ b/templates/show/interfaces/ethernet/node.tag/node.def
@@ -2,4 +2,4 @@ help: "Show given ethernet interface information"
allowed: local -a array ;
array=( /sys/class/net/{eth,vmnet}* ) ;
echo -n ${array[@]##*/}
-run: ${vyatta_bindir}/show_interfaces_ethernet $4
+run: ${vyatta_bindir}/vyatta-show-interfaces ethernet $4
diff --git a/templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def
index 10eb140..a4dfe2b 100644
--- a/templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def
+++ b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def
@@ -2,4 +2,4 @@ help: "Show given virtual network interface information"
allowed: for eth in /sys/class/net/eth${4}.* ; do
echo ${eth/*eth${4}./} ;
done
-run: ${vyatta_bindir}/show_interfaces_ethernet $4 vif $6
+run: ${vyatta_bindir}/vyatta-show-interfaces ethernet $4 vif $6
diff --git a/templates/show/interfaces/ethernet/node.tag/vif/node.tag/physical/node.def b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/physical/node.def
index 058e2a1..7f6445f 100644
--- a/templates/show/interfaces/ethernet/node.tag/vif/node.tag/physical/node.def
+++ b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/physical/node.def
@@ -1,2 +1,2 @@
help: "Show given virtual network interface pseudo-physical information"
-run: ${vyatta_bindir}/show_interfaces_ethernet $4 vif $6 physical
+run: sudo ethtool $4.$6
diff --git a/templates/show/interfaces/loopback/node.def b/templates/show/interfaces/loopback/node.def
index 6b36ffc..5394ff0 100644
--- a/templates/show/interfaces/loopback/node.def
+++ b/templates/show/interfaces/loopback/node.def
@@ -1,3 +1,3 @@
help: "Show loopback interface information"
-run: ${vyatta_bindir}/show_interfaces_loopback
+run: ${vyatta_bindir}/vyatta-show-interfaces loopback
diff --git a/templates/show/interfaces/loopback/node.tag/node.def b/templates/show/interfaces/loopback/node.tag/node.def
index 1a90fdc..2b0ee55 100644
--- a/templates/show/interfaces/loopback/node.tag/node.def
+++ b/templates/show/interfaces/loopback/node.tag/node.def
@@ -2,4 +2,4 @@ help: "Show given loopback interface information"
allowed: local -a array ;
array=( /sys/class/net/lo* ) ;
echo -n ${array[@]##*/}
-run: ${vyatta_bindir}/show_interfaces_loopback $4
+run: ${vyatta_bindir}/vyatta-show-interfaces loopback $4
diff --git a/templates/show/interfaces/node.def b/templates/show/interfaces/node.def
index 2a6e891..577db98 100644
--- a/templates/show/interfaces/node.def
+++ b/templates/show/interfaces/node.def
@@ -1,2 +1,2 @@
help: "Show network interface information"
-run: ${vyatta_bindir}/show_interfaces
+run: ${vyatta_bindir}/vyatta-show-interfaces
diff --git a/templates/show/interfaces/system/enabled/node.def b/templates/show/interfaces/system/enabled/node.def
index 9abd87b..d48e1f2 100644
--- a/templates/show/interfaces/system/enabled/node.def
+++ b/templates/show/interfaces/system/enabled/node.def
@@ -1,2 +1,2 @@
help: "Show network information of all enabled interfaces"
-run: ${vyatta_bindir}/show_interfaces_system enabled
+run: ${vyatta_bindir}/vyatta-show-interfaces system enabled
diff --git a/templates/show/interfaces/system/node.def b/templates/show/interfaces/system/node.def
index 46f8bfe..e5de242 100644
--- a/templates/show/interfaces/system/node.def
+++ b/templates/show/interfaces/system/node.def
@@ -1,2 +1,2 @@
help: "Show network information of all interfaces"
-run: ${vyatta_bindir}/show_interfaces_system
+run: ${vyatta_bindir}/vyatta-show-interfaces system
diff --git a/templates/show/interfaces/tunnel/node.def b/templates/show/interfaces/tunnel/node.def
index e95ab4a..a2f5d1c 100644
--- a/templates/show/interfaces/tunnel/node.def
+++ b/templates/show/interfaces/tunnel/node.def
@@ -1,3 +1,3 @@
help: "Show tunnel interface information"
-run: ${vyatta_bindir}/show_interfaces_tunnel
+run: ${vyatta_bindir}/vyatta-show-interfaces tunnel
diff --git a/templates/show/interfaces/tunnel/node.tag/node.def b/templates/show/interfaces/tunnel/node.tag/node.def
index b857b9e..2bc5908 100644
--- a/templates/show/interfaces/tunnel/node.tag/node.def
+++ b/templates/show/interfaces/tunnel/node.tag/node.def
@@ -2,4 +2,4 @@ help: "Show given tunnel interface information"
allowed: local -a array ;
array=( /sys/class/net/sit* ) ;
echo -n ${array[@]##*/}
-run: ${vyatta_bindir}/show_interfaces_tunnel $4
+run: ${vyatta_bindir}/vyatta-show-interfaces tunnel $4