aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates/vat/nat
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2017-08-25 12:51:57 +0200
committerDave Wallace <dwallacelf@gmail.com>2017-08-28 14:11:33 +0000
commit2bdb1dc59ba736546a6663cbaf55b6edbcac6eab (patch)
tree2b06427c51f115500542898b167166e889d94cb8 /resources/templates/vat/nat
parentb9ce06b180903e794a806e6eda7a1b076dc9cc8f (diff)
FIX: SNAT -> NAT renaming of API
- Based on https://gerrit.fd.io/r/#/c/8146/ Change-Id: I774483c7e2b419a9b9b6be78812ecf53a5c91eab Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/templates/vat/nat')
-rw-r--r--resources/templates/vat/nat/nat44_deterministic_forward.vat1
-rw-r--r--resources/templates/vat/nat/nat44_deterministic_reverse.vat1
-rw-r--r--resources/templates/vat/nat/nat44_set_deterministic.vat1
-rw-r--r--resources/templates/vat/nat/nat44_set_interfaces.vat1
-rw-r--r--resources/templates/vat/nat/nat_set_workers.vat1
-rw-r--r--resources/templates/vat/nat/nat_show_nat.vat1
-rw-r--r--resources/templates/vat/nat/snat_interface_dump.vat1
-rw-r--r--resources/templates/vat/nat/snat_mapping_dump.vat1
8 files changed, 8 insertions, 0 deletions
diff --git a/resources/templates/vat/nat/nat44_deterministic_forward.vat b/resources/templates/vat/nat/nat44_deterministic_forward.vat
new file mode 100644
index 0000000000..a901398598
--- /dev/null
+++ b/resources/templates/vat/nat/nat44_deterministic_forward.vat
@@ -0,0 +1 @@
+exec nat44 deterministic forward {ip}
diff --git a/resources/templates/vat/nat/nat44_deterministic_reverse.vat b/resources/templates/vat/nat/nat44_deterministic_reverse.vat
new file mode 100644
index 0000000000..614a2c0dfb
--- /dev/null
+++ b/resources/templates/vat/nat/nat44_deterministic_reverse.vat
@@ -0,0 +1 @@
+exec nat44 deterministic reverse {ip}:{port}
diff --git a/resources/templates/vat/nat/nat44_set_deterministic.vat b/resources/templates/vat/nat/nat44_set_deterministic.vat
new file mode 100644
index 0000000000..39f3deeeb2
--- /dev/null
+++ b/resources/templates/vat/nat/nat44_set_deterministic.vat
@@ -0,0 +1 @@
+exec nat44 deterministic add in {ip_in}/{subnet_in} out {ip_out}/{subnet_out}
diff --git a/resources/templates/vat/nat/nat44_set_interfaces.vat b/resources/templates/vat/nat/nat44_set_interfaces.vat
new file mode 100644
index 0000000000..f25961dbc2
--- /dev/null
+++ b/resources/templates/vat/nat/nat44_set_interfaces.vat
@@ -0,0 +1 @@
+exec set interface nat44 in {int_in} out {int_out}
diff --git a/resources/templates/vat/nat/nat_set_workers.vat b/resources/templates/vat/nat/nat_set_workers.vat
new file mode 100644
index 0000000000..1a4d48979d
--- /dev/null
+++ b/resources/templates/vat/nat/nat_set_workers.vat
@@ -0,0 +1 @@
+exec set nat workers {lcores}
diff --git a/resources/templates/vat/nat/nat_show_nat.vat b/resources/templates/vat/nat/nat_show_nat.vat
new file mode 100644
index 0000000000..52f723280d
--- /dev/null
+++ b/resources/templates/vat/nat/nat_show_nat.vat
@@ -0,0 +1 @@
+exec show nat verbose
diff --git a/resources/templates/vat/nat/snat_interface_dump.vat b/resources/templates/vat/nat/snat_interface_dump.vat
new file mode 100644
index 0000000000..b80db63d82
--- /dev/null
+++ b/resources/templates/vat/nat/snat_interface_dump.vat
@@ -0,0 +1 @@
+snat_interface_dump
diff --git a/resources/templates/vat/nat/snat_mapping_dump.vat b/resources/templates/vat/nat/snat_mapping_dump.vat
new file mode 100644
index 0000000000..7ac763b4f3
--- /dev/null
+++ b/resources/templates/vat/nat/snat_mapping_dump.vat
@@ -0,0 +1 @@
+snat_static_mapping_dump \ No newline at end of file