aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates
diff options
context:
space:
mode:
Diffstat (limited to 'resources/templates')
-rw-r--r--resources/templates/vat/snat/snat_deterministic_forward.vat1
-rw-r--r--resources/templates/vat/snat/snat_deterministic_reverse.vat1
-rw-r--r--resources/templates/vat/snat/snat_set_deterministic.vat1
-rw-r--r--resources/templates/vat/snat/snat_set_interfaces.vat1
-rw-r--r--resources/templates/vat/snat/snat_set_workers.vat1
-rw-r--r--resources/templates/vat/snat/snat_show_snat.vat1
6 files changed, 6 insertions, 0 deletions
diff --git a/resources/templates/vat/snat/snat_deterministic_forward.vat b/resources/templates/vat/snat/snat_deterministic_forward.vat
new file mode 100644
index 0000000000..3bb7b2b1f9
--- /dev/null
+++ b/resources/templates/vat/snat/snat_deterministic_forward.vat
@@ -0,0 +1 @@
+exec snat deterministic forward {ip} \ No newline at end of file
diff --git a/resources/templates/vat/snat/snat_deterministic_reverse.vat b/resources/templates/vat/snat/snat_deterministic_reverse.vat
new file mode 100644
index 0000000000..1b9ac5bac5
--- /dev/null
+++ b/resources/templates/vat/snat/snat_deterministic_reverse.vat
@@ -0,0 +1 @@
+exec snat deterministic reverse {ip}:{port} \ No newline at end of file
diff --git a/resources/templates/vat/snat/snat_set_deterministic.vat b/resources/templates/vat/snat/snat_set_deterministic.vat
new file mode 100644
index 0000000000..200ae69008
--- /dev/null
+++ b/resources/templates/vat/snat/snat_set_deterministic.vat
@@ -0,0 +1 @@
+exec snat deterministic add in {ip_in}/{subnet_in} out {ip_out}/{subnet_out} \ No newline at end of file
diff --git a/resources/templates/vat/snat/snat_set_interfaces.vat b/resources/templates/vat/snat/snat_set_interfaces.vat
new file mode 100644
index 0000000000..905c219ca3
--- /dev/null
+++ b/resources/templates/vat/snat/snat_set_interfaces.vat
@@ -0,0 +1 @@
+exec set interface snat in {int_in} out {int_out} \ No newline at end of file
diff --git a/resources/templates/vat/snat/snat_set_workers.vat b/resources/templates/vat/snat/snat_set_workers.vat
new file mode 100644
index 0000000000..23e8bac3eb
--- /dev/null
+++ b/resources/templates/vat/snat/snat_set_workers.vat
@@ -0,0 +1 @@
+exec set snat workers {lcores} \ No newline at end of file
diff --git a/resources/templates/vat/snat/snat_show_snat.vat b/resources/templates/vat/snat/snat_show_snat.vat
new file mode 100644
index 0000000000..0ce9f1e914
--- /dev/null
+++ b/resources/templates/vat/snat/snat_show_snat.vat
@@ -0,0 +1 @@
+exec show snat verbose \ No newline at end of file