diff options
16 files changed, 19 insertions, 11 deletions
diff --git a/templates/show/interfaces/bonding/detail/node.def b/templates/show/interfaces/bonding/detail/node.def new file mode 100644 index 0000000..4de3dcf --- /dev/null +++ b/templates/show/interfaces/bonding/detail/node.def @@ -0,0 +1,2 @@ +help: Show detailed bonding interface information +run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf-type=bonding --action=show diff --git a/templates/show/interfaces/bonding/node.def b/templates/show/interfaces/bonding/node.def index da85752..200971a 100644 --- a/templates/show/interfaces/bonding/node.def +++ b/templates/show/interfaces/bonding/node.def @@ -1,2 +1,2 @@ help: Show bonding interface information -run: ${vyatta_bindir}/vyatta-show-bonding.pl --brief +run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf-type=bonding --action=show-brief diff --git a/templates/show/interfaces/bonding/node.tag/brief/node.def b/templates/show/interfaces/bonding/node.tag/brief/node.def new file mode 100644 index 0000000..d4ae884 --- /dev/null +++ b/templates/show/interfaces/bonding/node.tag/brief/node.def @@ -0,0 +1,2 @@ +help: Show summary of the specified bonding interface information +run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" --action=show-brief diff --git a/templates/show/interfaces/bonding/node.tag/capture/not/node.def b/templates/show/interfaces/bonding/node.tag/capture/not/node.def index 5896bc8..3fbb818 100644 --- a/templates/show/interfaces/bonding/node.tag/capture/not/node.def +++ b/templates/show/interfaces/bonding/node.tag/capture/not/node.def @@ -1 +1 @@ -help: Show captured traffic excluding the specified bonding interface +help: Show captured traffic excluding the specified bonding interface port diff --git a/templates/show/interfaces/bonding/node.tag/capture/not/port/node.def b/templates/show/interfaces/bonding/node.tag/capture/not/port/node.def index 5896bc8..3fbb818 100644 --- a/templates/show/interfaces/bonding/node.tag/capture/not/port/node.def +++ b/templates/show/interfaces/bonding/node.tag/capture/not/port/node.def @@ -1 +1 @@ -help: Show captured traffic excluding the specified bonding interface +help: Show captured traffic excluding the specified bonding interface port diff --git a/templates/show/interfaces/bonding/node.tag/capture/not/port/node.tag/node.def b/templates/show/interfaces/bonding/node.tag/capture/not/port/node.tag/node.def index 61079d5..c8e76aa 100644 --- a/templates/show/interfaces/bonding/node.tag/capture/not/port/node.tag/node.def +++ b/templates/show/interfaces/bonding/node.tag/capture/not/port/node.tag/node.def @@ -1,3 +1,3 @@ -help: Show captured traffic excluding the specified bonding interface +help: Show captured traffic excluding the specified bonding interface port run: /opt/vyatta/bin/vyatta-tshark-interface-port.pl "$4" "$8" 1 allowed: echo -n '<1-65535>' diff --git a/templates/show/interfaces/bonding/node.tag/capture/port/node.def b/templates/show/interfaces/bonding/node.tag/capture/port/node.def index 0870adc..e7c3b56 100644 --- a/templates/show/interfaces/bonding/node.tag/capture/port/node.def +++ b/templates/show/interfaces/bonding/node.tag/capture/port/node.def @@ -1 +1 @@ -help: Show captured traffic on specified bonding interface +help: Show captured traffic on specified bonding interface port diff --git a/templates/show/interfaces/bonding/node.tag/capture/port/node.tag/node.def b/templates/show/interfaces/bonding/node.tag/capture/port/node.tag/node.def index 8029ba2..296ba4c 100644 --- a/templates/show/interfaces/bonding/node.tag/capture/port/node.tag/node.def +++ b/templates/show/interfaces/bonding/node.tag/capture/port/node.tag/node.def @@ -1,3 +1,3 @@ -help: Show captured traffic on specified bonding interface +help: Show captured traffic on specified bonding interface port run: /opt/vyatta/bin/vyatta-tshark-interface-port.pl "$4" "$7" 0 allowed: echo -n '<1-65535>' diff --git a/templates/show/interfaces/bonding/node.tag/node.def b/templates/show/interfaces/bonding/node.tag/slaves/node.def index c2f1349..c2f1349 100644 --- a/templates/show/interfaces/bonding/node.tag/node.def +++ b/templates/show/interfaces/bonding/node.tag/slaves/node.def diff --git a/templates/show/interfaces/bonding/node.tag/vif/node.tag/capture/node.def b/templates/show/interfaces/bonding/node.tag/vif/node.tag/capture/node.def index 4fb959c..4cb7173 100644 --- a/templates/show/interfaces/bonding/node.tag/vif/node.tag/capture/node.def +++ b/templates/show/interfaces/bonding/node.tag/vif/node.tag/capture/node.def @@ -1,2 +1,2 @@ -help: Show captured traffic on specified bonding interface +help: Show captured traffic on specified bonding virtual interface run: /opt/vyatta/bin/vyatta-tshark-interface-port.pl "$4.$6" diff --git a/templates/show/interfaces/bonding/node.tag/vif/node.tag/capture/not/port/node.def b/templates/show/interfaces/bonding/node.tag/vif/node.tag/capture/not/port/node.def index 5896bc8..aef8d8b 100644 --- a/templates/show/interfaces/bonding/node.tag/vif/node.tag/capture/not/port/node.def +++ b/templates/show/interfaces/bonding/node.tag/vif/node.tag/capture/not/port/node.def @@ -1 +1 @@ -help: Show captured traffic excluding the specified bonding interface +help: Show captured traffic excluding the specified bonding virtual interface port diff --git a/templates/show/interfaces/bonding/node.tag/vif/node.tag/capture/not/port/node.tag/node.def b/templates/show/interfaces/bonding/node.tag/vif/node.tag/capture/not/port/node.tag/node.def index 7e62321..496f21c 100644 --- a/templates/show/interfaces/bonding/node.tag/vif/node.tag/capture/not/port/node.tag/node.def +++ b/templates/show/interfaces/bonding/node.tag/vif/node.tag/capture/not/port/node.tag/node.def @@ -1,3 +1,3 @@ -help: Show captured traffic excluding the specified bonding interface +help: Show captured traffic excluding the specified bonding interface port run: /opt/vyatta/bin/vyatta-tshark-interface-port.pl "$4.$6" "${10}" 1 allowed: echo -n '<1-65535>' diff --git a/templates/show/interfaces/bonding/node.tag/vif/node.tag/capture/port/node.def b/templates/show/interfaces/bonding/node.tag/vif/node.tag/capture/port/node.def index 0870adc..5e07aa5 100644 --- a/templates/show/interfaces/bonding/node.tag/vif/node.tag/capture/port/node.def +++ b/templates/show/interfaces/bonding/node.tag/vif/node.tag/capture/port/node.def @@ -1 +1 @@ -help: Show captured traffic on specified bonding interface +help: Show captured traffic on specified bonding virtual interface port diff --git a/templates/show/interfaces/bonding/node.tag/vif/node.tag/capture/port/node.tag/node.def b/templates/show/interfaces/bonding/node.tag/vif/node.tag/capture/port/node.tag/node.def index a9a13cf..304b4e3 100644 --- a/templates/show/interfaces/bonding/node.tag/vif/node.tag/capture/port/node.tag/node.def +++ b/templates/show/interfaces/bonding/node.tag/vif/node.tag/capture/port/node.tag/node.def @@ -1,3 +1,3 @@ -help: Show captured traffic on specified bonding interface +help: Show captured traffic on specified bonding virtual interface port run: /opt/vyatta/bin/vyatta-tshark-interface-port.pl "$4.$6" "$9" 0 allowed: echo -n '<1-65535>' diff --git a/templates/show/interfaces/bonding/slaves/node.def b/templates/show/interfaces/bonding/slaves/node.def new file mode 100644 index 0000000..da85752 --- /dev/null +++ b/templates/show/interfaces/bonding/slaves/node.def @@ -0,0 +1,2 @@ +help: Show bonding interface information +run: ${vyatta_bindir}/vyatta-show-bonding.pl --brief diff --git a/templates/show/interfaces/bonding/statistics/node.def b/templates/show/interfaces/bonding/statistics/node.def new file mode 100644 index 0000000..5e94c8d --- /dev/null +++ b/templates/show/interfaces/bonding/statistics/node.def @@ -0,0 +1,2 @@ +help: Show detailed ethernet interface information +run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf-type=bonding --action=statistics |