summaryrefslogtreecommitdiff
path: root/templates-op
diff options
context:
space:
mode:
Diffstat (limited to 'templates-op')
-rw-r--r--templates-op/delete/conntrack/node.def1
-rw-r--r--templates-op/delete/conntrack/table/ipv4/conn-id/node.def1
-rw-r--r--templates-op/delete/conntrack/table/ipv4/conn-id/node.tag/node.def3
-rw-r--r--templates-op/delete/conntrack/table/ipv4/node.def1
-rw-r--r--templates-op/delete/conntrack/table/ipv4/source/node.def1
-rw-r--r--templates-op/delete/conntrack/table/ipv4/source/node.tag/destination/node.def1
-rw-r--r--templates-op/delete/conntrack/table/ipv4/source/node.tag/destination/node.tag/node.def3
-rw-r--r--templates-op/delete/conntrack/table/ipv4/source/node.tag/node.def3
-rw-r--r--templates-op/delete/conntrack/table/node.def1
-rw-r--r--templates-op/show/conntrack/node.def1
-rw-r--r--templates-op/show/conntrack/table/ipv4/node.def2
-rw-r--r--templates-op/show/conntrack/table/ipv4/source/node.def1
-rw-r--r--templates-op/show/conntrack/table/ipv4/source/node.tag/destination/node.def3
-rw-r--r--templates-op/show/conntrack/table/ipv4/source/node.tag/destination/node.tag/node.def3
-rw-r--r--templates-op/show/conntrack/table/ipv4/source/node.tag/node.def3
-rw-r--r--templates-op/show/conntrack/table/node.def1
16 files changed, 29 insertions, 0 deletions
diff --git a/templates-op/delete/conntrack/node.def b/templates-op/delete/conntrack/node.def
new file mode 100644
index 0000000..842bdda
--- /dev/null
+++ b/templates-op/delete/conntrack/node.def
@@ -0,0 +1 @@
+help: Delete Conntrack entries
diff --git a/templates-op/delete/conntrack/table/ipv4/conn-id/node.def b/templates-op/delete/conntrack/table/ipv4/conn-id/node.def
new file mode 100644
index 0000000..679cae2
--- /dev/null
+++ b/templates-op/delete/conntrack/table/ipv4/conn-id/node.def
@@ -0,0 +1 @@
+help: Delete Conntrack entry with connection ID
diff --git a/templates-op/delete/conntrack/table/ipv4/conn-id/node.tag/node.def b/templates-op/delete/conntrack/table/ipv4/conn-id/node.tag/node.def
new file mode 100644
index 0000000..d3f179e
--- /dev/null
+++ b/templates-op/delete/conntrack/table/ipv4/conn-id/node.tag/node.def
@@ -0,0 +1,3 @@
+help: Delete Conntrack entry with the connection ID
+allowed: echo -n 'Connection ID'
+run: sudo ${vyatta_bindir}/sudo-users/vyatta-delete-conntrack.pl -family $4 -id $6
diff --git a/templates-op/delete/conntrack/table/ipv4/node.def b/templates-op/delete/conntrack/table/ipv4/node.def
new file mode 100644
index 0000000..80ccc5d
--- /dev/null
+++ b/templates-op/delete/conntrack/table/ipv4/node.def
@@ -0,0 +1 @@
+help: Delete Conntrack IPv4 entries
diff --git a/templates-op/delete/conntrack/table/ipv4/source/node.def b/templates-op/delete/conntrack/table/ipv4/source/node.def
new file mode 100644
index 0000000..10081cd
--- /dev/null
+++ b/templates-op/delete/conntrack/table/ipv4/source/node.def
@@ -0,0 +1 @@
+help: Delete all Conntrack entries with specified source IP address
diff --git a/templates-op/delete/conntrack/table/ipv4/source/node.tag/destination/node.def b/templates-op/delete/conntrack/table/ipv4/source/node.tag/destination/node.def
new file mode 100644
index 0000000..aee21aa
--- /dev/null
+++ b/templates-op/delete/conntrack/table/ipv4/source/node.tag/destination/node.def
@@ -0,0 +1 @@
+help: Delete all Conntrack entries with the specified destination IP address
diff --git a/templates-op/delete/conntrack/table/ipv4/source/node.tag/destination/node.tag/node.def b/templates-op/delete/conntrack/table/ipv4/source/node.tag/destination/node.tag/node.def
new file mode 100644
index 0000000..25c67e9
--- /dev/null
+++ b/templates-op/delete/conntrack/table/ipv4/source/node.tag/destination/node.tag/node.def
@@ -0,0 +1,3 @@
+help: Delete Conntrack entries with the specified destination IP
+allowed: echo -n '<IP-address>' '<IP-address:port>'
+run: sudo ${vyatta_bindir}/sudo-users/vyatta-delete-conntrack.pl -family $4 -source_IP $6 -dest_IP $8
diff --git a/templates-op/delete/conntrack/table/ipv4/source/node.tag/node.def b/templates-op/delete/conntrack/table/ipv4/source/node.tag/node.def
new file mode 100644
index 0000000..e0004a9
--- /dev/null
+++ b/templates-op/delete/conntrack/table/ipv4/source/node.tag/node.def
@@ -0,0 +1,3 @@
+help: Delete Conntrack entries with the specified source IP address
+allowed: echo -n '<IP-address>' '<IP-address:port>'
+run: sudo ${vyatta_bindir}/sudo-users/vyatta-delete-conntrack.pl -family $4 -source_IP $6
diff --git a/templates-op/delete/conntrack/table/node.def b/templates-op/delete/conntrack/table/node.def
new file mode 100644
index 0000000..340bb72
--- /dev/null
+++ b/templates-op/delete/conntrack/table/node.def
@@ -0,0 +1 @@
+help: Delete entries from Conntrack table
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 "<x.x.x.x:pp>
+
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 '<IPv4-address>' '<IPv4-address:port>'
+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 '<IPv4-address>' '<IPv4-address:port>'
+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