diff options
author | Tom Grennan <tgrennan@vyatta.com> | 2007-09-14 18:32:41 -0700 |
---|---|---|
committer | Tom Grennan <tgrennan@vyatta.com> | 2007-09-14 18:32:41 -0700 |
commit | 44960aef3c4b9a10a16ca39ff9f8a0e2e9d069cf (patch) | |
tree | 1719340d148647348af1f0c6394cc794a76ac67c /op-templates/show/interfaces/tunnel | |
download | vyatta-op-44960aef3c4b9a10a16ca39ff9f8a0e2e9d069cf.tar.gz vyatta-op-44960aef3c4b9a10a16ca39ff9f8a0e2e9d069cf.zip |
initial commit
Diffstat (limited to 'op-templates/show/interfaces/tunnel')
-rw-r--r-- | op-templates/show/interfaces/tunnel/node.def | 3 | ||||
-rw-r--r-- | op-templates/show/interfaces/tunnel/node.tag/node.def | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/op-templates/show/interfaces/tunnel/node.def b/op-templates/show/interfaces/tunnel/node.def new file mode 100644 index 0000000..7bebfc2 --- /dev/null +++ b/op-templates/show/interfaces/tunnel/node.def @@ -0,0 +1,3 @@ +help: "Show tunnel interface information" +run: ${ofr_bindir}/show_interfaces_tunnel + diff --git a/op-templates/show/interfaces/tunnel/node.tag/node.def b/op-templates/show/interfaces/tunnel/node.tag/node.def new file mode 100644 index 0000000..b3748e2 --- /dev/null +++ b/op-templates/show/interfaces/tunnel/node.tag/node.def @@ -0,0 +1,5 @@ +help: "Show given tunnel interface information" +allowed: local -a array ; + array=( /sys/class/net/sit* ) ; + echo -n ${array[@]##*/} +run: ${ofr_bindir}/show_interfaces_tunnel $4 |