From 6af87429ae97d7cd069268ad3597508e6954d5e8 Mon Sep 17 00:00:00 2001 From: John Southworth Date: Thu, 15 Sep 2011 19:11:35 -0500 Subject: Fix 'monitor interface traffic save' (cherry picked from commit ecb4650bc1ff7f7039a8de0c21f72667be9b189d) --- templates/monitor/interfaces/bonding/node.tag/traffic/save/node.def | 1 - .../monitor/interfaces/bonding/node.tag/traffic/save/node.tag/node.def | 2 ++ templates/monitor/interfaces/bridge/node.tag/traffic/save/node.def | 1 - .../monitor/interfaces/bridge/node.tag/traffic/save/node.tag/node.def | 2 ++ templates/monitor/interfaces/ethernet/node.tag/traffic/save/node.def | 1 - .../monitor/interfaces/ethernet/node.tag/traffic/save/node.tag/node.def | 2 ++ templates/monitor/interfaces/loopback/node.tag/traffic/save/node.def | 1 - .../monitor/interfaces/loopback/node.tag/traffic/save/node.tag/node.def | 2 ++ .../monitor/interfaces/pseudo-ethernet/node.tag/traffic/save/node.def | 1 - .../interfaces/pseudo-ethernet/node.tag/traffic/save/node.tag/node.def | 2 ++ templates/monitor/interfaces/tunnel/node.tag/traffic/save/node.def | 1 - .../monitor/interfaces/tunnel/node.tag/traffic/save/node.tag/node.def | 2 ++ 12 files changed, 12 insertions(+), 6 deletions(-) create mode 100644 templates/monitor/interfaces/bonding/node.tag/traffic/save/node.tag/node.def create mode 100644 templates/monitor/interfaces/bridge/node.tag/traffic/save/node.tag/node.def create mode 100644 templates/monitor/interfaces/ethernet/node.tag/traffic/save/node.tag/node.def create mode 100644 templates/monitor/interfaces/loopback/node.tag/traffic/save/node.tag/node.def create mode 100644 templates/monitor/interfaces/pseudo-ethernet/node.tag/traffic/save/node.tag/node.def create mode 100644 templates/monitor/interfaces/tunnel/node.tag/traffic/save/node.tag/node.def (limited to 'templates/monitor') diff --git a/templates/monitor/interfaces/bonding/node.tag/traffic/save/node.def b/templates/monitor/interfaces/bonding/node.tag/traffic/save/node.def index bd747b5..402f47c 100644 --- a/templates/monitor/interfaces/bonding/node.tag/traffic/save/node.def +++ b/templates/monitor/interfaces/bonding/node.tag/traffic/save/node.def @@ -1,2 +1 @@ help: Save monitored traffic to a file -run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 --save "${@:7}" diff --git a/templates/monitor/interfaces/bonding/node.tag/traffic/save/node.tag/node.def b/templates/monitor/interfaces/bonding/node.tag/traffic/save/node.tag/node.def new file mode 100644 index 0000000..bd747b5 --- /dev/null +++ b/templates/monitor/interfaces/bonding/node.tag/traffic/save/node.tag/node.def @@ -0,0 +1,2 @@ +help: Save monitored traffic to a file +run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 --save "${@:7}" diff --git a/templates/monitor/interfaces/bridge/node.tag/traffic/save/node.def b/templates/monitor/interfaces/bridge/node.tag/traffic/save/node.def index bd747b5..402f47c 100644 --- a/templates/monitor/interfaces/bridge/node.tag/traffic/save/node.def +++ b/templates/monitor/interfaces/bridge/node.tag/traffic/save/node.def @@ -1,2 +1 @@ help: Save monitored traffic to a file -run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 --save "${@:7}" diff --git a/templates/monitor/interfaces/bridge/node.tag/traffic/save/node.tag/node.def b/templates/monitor/interfaces/bridge/node.tag/traffic/save/node.tag/node.def new file mode 100644 index 0000000..bd747b5 --- /dev/null +++ b/templates/monitor/interfaces/bridge/node.tag/traffic/save/node.tag/node.def @@ -0,0 +1,2 @@ +help: Save monitored traffic to a file +run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 --save "${@:7}" diff --git a/templates/monitor/interfaces/ethernet/node.tag/traffic/save/node.def b/templates/monitor/interfaces/ethernet/node.tag/traffic/save/node.def index bd747b5..402f47c 100644 --- a/templates/monitor/interfaces/ethernet/node.tag/traffic/save/node.def +++ b/templates/monitor/interfaces/ethernet/node.tag/traffic/save/node.def @@ -1,2 +1 @@ help: Save monitored traffic to a file -run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 --save "${@:7}" diff --git a/templates/monitor/interfaces/ethernet/node.tag/traffic/save/node.tag/node.def b/templates/monitor/interfaces/ethernet/node.tag/traffic/save/node.tag/node.def new file mode 100644 index 0000000..bd747b5 --- /dev/null +++ b/templates/monitor/interfaces/ethernet/node.tag/traffic/save/node.tag/node.def @@ -0,0 +1,2 @@ +help: Save monitored traffic to a file +run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 --save "${@:7}" diff --git a/templates/monitor/interfaces/loopback/node.tag/traffic/save/node.def b/templates/monitor/interfaces/loopback/node.tag/traffic/save/node.def index bd747b5..402f47c 100644 --- a/templates/monitor/interfaces/loopback/node.tag/traffic/save/node.def +++ b/templates/monitor/interfaces/loopback/node.tag/traffic/save/node.def @@ -1,2 +1 @@ help: Save monitored traffic to a file -run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 --save "${@:7}" diff --git a/templates/monitor/interfaces/loopback/node.tag/traffic/save/node.tag/node.def b/templates/monitor/interfaces/loopback/node.tag/traffic/save/node.tag/node.def new file mode 100644 index 0000000..bd747b5 --- /dev/null +++ b/templates/monitor/interfaces/loopback/node.tag/traffic/save/node.tag/node.def @@ -0,0 +1,2 @@ +help: Save monitored traffic to a file +run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 --save "${@:7}" diff --git a/templates/monitor/interfaces/pseudo-ethernet/node.tag/traffic/save/node.def b/templates/monitor/interfaces/pseudo-ethernet/node.tag/traffic/save/node.def index bd747b5..402f47c 100644 --- a/templates/monitor/interfaces/pseudo-ethernet/node.tag/traffic/save/node.def +++ b/templates/monitor/interfaces/pseudo-ethernet/node.tag/traffic/save/node.def @@ -1,2 +1 @@ help: Save monitored traffic to a file -run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 --save "${@:7}" diff --git a/templates/monitor/interfaces/pseudo-ethernet/node.tag/traffic/save/node.tag/node.def b/templates/monitor/interfaces/pseudo-ethernet/node.tag/traffic/save/node.tag/node.def new file mode 100644 index 0000000..bd747b5 --- /dev/null +++ b/templates/monitor/interfaces/pseudo-ethernet/node.tag/traffic/save/node.tag/node.def @@ -0,0 +1,2 @@ +help: Save monitored traffic to a file +run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 --save "${@:7}" diff --git a/templates/monitor/interfaces/tunnel/node.tag/traffic/save/node.def b/templates/monitor/interfaces/tunnel/node.tag/traffic/save/node.def index bd747b5..402f47c 100644 --- a/templates/monitor/interfaces/tunnel/node.tag/traffic/save/node.def +++ b/templates/monitor/interfaces/tunnel/node.tag/traffic/save/node.def @@ -1,2 +1 @@ help: Save monitored traffic to a file -run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 --save "${@:7}" diff --git a/templates/monitor/interfaces/tunnel/node.tag/traffic/save/node.tag/node.def b/templates/monitor/interfaces/tunnel/node.tag/traffic/save/node.tag/node.def new file mode 100644 index 0000000..bd747b5 --- /dev/null +++ b/templates/monitor/interfaces/tunnel/node.tag/traffic/save/node.tag/node.def @@ -0,0 +1,2 @@ +help: Save monitored traffic to a file +run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 --save "${@:7}" -- cgit v1.2.3