From 9e223d59f58be5be60f2443c44d5386c88c89930 Mon Sep 17 00:00:00 2001 From: Gaurav Sinha Date: Mon, 14 Nov 2011 16:30:41 -0800 Subject: Bug 7411: Initial commit for conntrack entry deletion / show op mode commands --- templates-op/show/conntrack/node.def | 1 + templates-op/show/conntrack/table/ipv4/node.def | 2 ++ templates-op/show/conntrack/table/ipv4/source/node.def | 1 + .../show/conntrack/table/ipv4/source/node.tag/destination/node.def | 3 +++ .../conntrack/table/ipv4/source/node.tag/destination/node.tag/node.def | 3 +++ templates-op/show/conntrack/table/ipv4/source/node.tag/node.def | 3 +++ templates-op/show/conntrack/table/node.def | 1 + 7 files changed, 14 insertions(+) create mode 100644 templates-op/show/conntrack/node.def create mode 100644 templates-op/show/conntrack/table/ipv4/node.def create mode 100644 templates-op/show/conntrack/table/ipv4/source/node.def create mode 100644 templates-op/show/conntrack/table/ipv4/source/node.tag/destination/node.def create mode 100644 templates-op/show/conntrack/table/ipv4/source/node.tag/destination/node.tag/node.def create mode 100644 templates-op/show/conntrack/table/ipv4/source/node.tag/node.def create mode 100644 templates-op/show/conntrack/table/node.def (limited to 'templates-op/show/conntrack') diff --git a/templates-op/show/conntrack/node.def b/templates-op/show/conntrack/node.def new file mode 100644 index 0000000..300bc83 --- /dev/null +++ b/templates-op/show/conntrack/node.def @@ -0,0 +1 @@ +help: Show conntrack entries in the conntrack table diff --git a/templates-op/show/conntrack/table/ipv4/node.def b/templates-op/show/conntrack/table/ipv4/node.def new file mode 100644 index 0000000..5509c14 --- /dev/null +++ b/templates-op/show/conntrack/table/ipv4/node.def @@ -0,0 +1,2 @@ +help: Show Conntrack entries for IPv4 protocol +run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-conntrack.pl -family $4 diff --git a/templates-op/show/conntrack/table/ipv4/source/node.def b/templates-op/show/conntrack/table/ipv4/source/node.def new file mode 100644 index 0000000..f3f6c84 --- /dev/null +++ b/templates-op/show/conntrack/table/ipv4/source/node.def @@ -0,0 +1 @@ +help: Show Conntrack entries for the source IP diff --git a/templates-op/show/conntrack/table/ipv4/source/node.tag/destination/node.def b/templates-op/show/conntrack/table/ipv4/source/node.tag/destination/node.def new file mode 100644 index 0000000..88b6eb1 --- /dev/null +++ b/templates-op/show/conntrack/table/ipv4/source/node.tag/destination/node.def @@ -0,0 +1,3 @@ +help: Show Conntrack entries for the destination IP +allowed: echo " + diff --git a/templates-op/show/conntrack/table/ipv4/source/node.tag/destination/node.tag/node.def b/templates-op/show/conntrack/table/ipv4/source/node.tag/destination/node.tag/node.def new file mode 100644 index 0000000..09bd8ef --- /dev/null +++ b/templates-op/show/conntrack/table/ipv4/source/node.tag/destination/node.tag/node.def @@ -0,0 +1,3 @@ +help: Show Conntrack entries for the destination IP +allowed: echo -n '' '' +run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-conntrack.pl -family $4 -source_IP $6 -dest_IP $8 diff --git a/templates-op/show/conntrack/table/ipv4/source/node.tag/node.def b/templates-op/show/conntrack/table/ipv4/source/node.tag/node.def new file mode 100644 index 0000000..0d36700 --- /dev/null +++ b/templates-op/show/conntrack/table/ipv4/source/node.tag/node.def @@ -0,0 +1,3 @@ +help: Show Conntrack entries for the source IP +allowed: echo -n '' '' +run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-conntrack.pl -family $4 -source_IP $6 diff --git a/templates-op/show/conntrack/table/node.def b/templates-op/show/conntrack/table/node.def new file mode 100644 index 0000000..c4767bf --- /dev/null +++ b/templates-op/show/conntrack/table/node.def @@ -0,0 +1 @@ +help: Show conntrack entries for table -- cgit v1.2.3