diff options
author | Tibor Frank <tifrank@cisco.com> | 2017-03-13 13:22:08 +0100 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2017-04-18 11:24:44 +0200 |
commit | 28bab4e715a123199972bdc5f79f6a508a879fd6 (patch) | |
tree | 0b6c3a3aa71eb80143eae2c62086a61e153818c6 /resources/templates/vat/snat | |
parent | 4da982b7a0f5872de2cc721607894216a20892f4 (diff) |
CSIT-545: Performance tests for SNAT
- High level definition (HLD)
- Low level definition (LLD)
- Add keywords to set SNAT
- Add tests according to HLD, LLD
Change-Id: I7bf0b1870ac9c3adb36bb6590be9a3eb4ea8aa9a
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/templates/vat/snat')
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 |