aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates
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
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')
-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.vat (renamed from resources/templates/vat/snat/snat_mapping_dump.vat)0
-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_interface_dump.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
15 files changed, 7 insertions, 7 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/snat/snat_mapping_dump.vat b/resources/templates/vat/nat/snat_mapping_dump.vat
index 7ac763b4f3..7ac763b4f3 100644
--- a/resources/templates/vat/snat/snat_mapping_dump.vat
+++ b/resources/templates/vat/nat/snat_mapping_dump.vat
diff --git a/resources/templates/vat/snat/snat_deterministic_forward.vat b/resources/templates/vat/snat/snat_deterministic_forward.vat
deleted file mode 100644
index 3bb7b2b1f9..0000000000
--- a/resources/templates/vat/snat/snat_deterministic_forward.vat
+++ /dev/null
@@ -1 +0,0 @@
-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
deleted file mode 100644
index 1b9ac5bac5..0000000000
--- a/resources/templates/vat/snat/snat_deterministic_reverse.vat
+++ /dev/null
@@ -1 +0,0 @@
-exec snat deterministic reverse {ip}:{port} \ No newline at end of file
diff --git a/resources/templates/vat/snat/snat_interface_dump.vat b/resources/templates/vat/snat/snat_interface_dump.vat
deleted file mode 100644
index 599c82d8d7..0000000000
--- a/resources/templates/vat/snat/snat_interface_dump.vat
+++ /dev/null
@@ -1 +0,0 @@
-snat_interface_dump \ 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
deleted file mode 100644
index 200ae69008..0000000000
--- a/resources/templates/vat/snat/snat_set_deterministic.vat
+++ /dev/null
@@ -1 +0,0 @@
-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
deleted file mode 100644
index 905c219ca3..0000000000
--- a/resources/templates/vat/snat/snat_set_interfaces.vat
+++ /dev/null
@@ -1 +0,0 @@
-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
deleted file mode 100644
index 23e8bac3eb..0000000000
--- a/resources/templates/vat/snat/snat_set_workers.vat
+++ /dev/null
@@ -1 +0,0 @@
-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
deleted file mode 100644
index 0ce9f1e914..0000000000
--- a/resources/templates/vat/snat/snat_show_snat.vat
+++ /dev/null
@@ -1 +0,0 @@
-exec show snat verbose \ No newline at end of file