From 3a25aaef904600520c9c8a26fc9b251947ca4093 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Sun, 6 Apr 2014 15:34:46 +0200 Subject: Bug #159: add op mode support for dummy interfaces. --- templates/show/interfaces/dummy/detail/node.def | 2 ++ templates/show/interfaces/dummy/node.def | 2 ++ templates/show/interfaces/dummy/node.tag/brief/node.def | 2 ++ templates/show/interfaces/dummy/node.tag/node.def | 3 +++ 4 files changed, 9 insertions(+) create mode 100644 templates/show/interfaces/dummy/detail/node.def create mode 100644 templates/show/interfaces/dummy/node.def create mode 100644 templates/show/interfaces/dummy/node.tag/brief/node.def create mode 100644 templates/show/interfaces/dummy/node.tag/node.def (limited to 'templates/show') diff --git a/templates/show/interfaces/dummy/detail/node.def b/templates/show/interfaces/dummy/detail/node.def new file mode 100644 index 0000000..c4b0479 --- /dev/null +++ b/templates/show/interfaces/dummy/detail/node.def @@ -0,0 +1,2 @@ +help: Show detailed dummy interface information +run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf-type=dummy --action=show diff --git a/templates/show/interfaces/dummy/node.def b/templates/show/interfaces/dummy/node.def new file mode 100644 index 0000000..c0129f2 --- /dev/null +++ b/templates/show/interfaces/dummy/node.def @@ -0,0 +1,2 @@ +help: Show dummy interface information +run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf-type=dummy --action=show-brief diff --git a/templates/show/interfaces/dummy/node.tag/brief/node.def b/templates/show/interfaces/dummy/node.tag/brief/node.def new file mode 100644 index 0000000..fe16173 --- /dev/null +++ b/templates/show/interfaces/dummy/node.tag/brief/node.def @@ -0,0 +1,2 @@ +help: Show summary of specified dummy interface information +run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" --action=show-brief diff --git a/templates/show/interfaces/dummy/node.tag/node.def b/templates/show/interfaces/dummy/node.tag/node.def new file mode 100644 index 0000000..361f2c3 --- /dev/null +++ b/templates/show/interfaces/dummy/node.tag/node.def @@ -0,0 +1,3 @@ +help: Show specified dummy interface information +allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show dummy +run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" -- cgit v1.2.3