summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-06 16:19:59 +0200
committerChristian Poessinger <christian@poessinger.com>2020-06-06 16:19:59 +0200
commit11cce73671397864186e7236f2c1bf66ab14f3f0 (patch)
tree1942250a9e69b96322795144228e8dff4ab9cfab /templates
parent1b86c4587d62dd36aa515db471b8538838844bba (diff)
downloadvyatta-op-11cce73671397864186e7236f2c1bf66ab14f3f0.tar.gz
vyatta-op-11cce73671397864186e7236f2c1bf66ab14f3f0.zip
op-mode: T2546: migrate "show interfaces loopback" to vyos-1x
Diffstat (limited to 'templates')
-rw-r--r--templates/show/interfaces/counters/node.def2
-rw-r--r--templates/show/interfaces/detail/node.def2
-rw-r--r--templates/show/interfaces/loopback/detail/node.def2
-rw-r--r--templates/show/interfaces/loopback/node.def2
-rw-r--r--templates/show/interfaces/loopback/node.tag/brief/node.def2
-rw-r--r--templates/show/interfaces/loopback/node.tag/node.def5
-rw-r--r--templates/show/interfaces/node.def2
7 files changed, 1 insertions, 16 deletions
diff --git a/templates/show/interfaces/counters/node.def b/templates/show/interfaces/counters/node.def
deleted file mode 100644
index 1cef3ee..0000000
--- a/templates/show/interfaces/counters/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Show network interface counters
-run: ${vyatta_bindir}/vyatta-show-interfaces.pl --action=show-count
diff --git a/templates/show/interfaces/detail/node.def b/templates/show/interfaces/detail/node.def
deleted file mode 100644
index 08bdfa4..0000000
--- a/templates/show/interfaces/detail/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Show detailed information of all interfaces
-run: ${vyatta_bindir}/vyatta-show-interfaces.pl --action=show
diff --git a/templates/show/interfaces/loopback/detail/node.def b/templates/show/interfaces/loopback/detail/node.def
deleted file mode 100644
index 629a979..0000000
--- a/templates/show/interfaces/loopback/detail/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Show detailed loopback interface information
-run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf-type=loopback
diff --git a/templates/show/interfaces/loopback/node.def b/templates/show/interfaces/loopback/node.def
deleted file mode 100644
index bee95ea..0000000
--- a/templates/show/interfaces/loopback/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Show loopback interface information
-run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf-type=loopback --action=show-brief
diff --git a/templates/show/interfaces/loopback/node.tag/brief/node.def b/templates/show/interfaces/loopback/node.tag/brief/node.def
deleted file mode 100644
index 2ea8f06..0000000
--- a/templates/show/interfaces/loopback/node.tag/brief/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Show summary of specified loopback interface information
-run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" --action=show-brief
diff --git a/templates/show/interfaces/loopback/node.tag/node.def b/templates/show/interfaces/loopback/node.tag/node.def
deleted file mode 100644
index 3364827..0000000
--- a/templates/show/interfaces/loopback/node.tag/node.def
+++ /dev/null
@@ -1,5 +0,0 @@
-help: Show specified loopback interface information
-allowed: local -a array ;
- array=( /sys/class/net/lo* ) ;
- echo -n ${array[@]##*/}
-run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4"
diff --git a/templates/show/interfaces/node.def b/templates/show/interfaces/node.def
index aac2ea3..54a050e 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}/vyatta-show-interfaces.pl --action=show-brief
+run: ${vyos_op_scripts_dir}/show_interfaces.py --action=show-brief