summaryrefslogtreecommitdiffstats
path: root/VNFs/vCGNAPT/config/cgnat_20G_hwlb_2port.txt
diff options
context:
space:
mode:
authorDeepak S <deepak.s@linux.intel.com>2017-06-15 23:23:29 -0700
committerDeepak S <deepak.s@linux.intel.com>2017-06-15 23:34:46 -0700
commit720998394c5d613529ce616b333c0de5da1b8de4 (patch)
treec03f694bfb3c39fcdaa9c03e2ce7a19f807820c7 /VNFs/vCGNAPT/config/cgnat_20G_hwlb_2port.txt
parent44e700fcfe8655565076b9c3036c61b2e53a8bcd (diff)
Adding Sample vCGNAPT config to run with multi-port pairv1.0.0
JIRA: SAMPLEVNF-40 This patch adds sample vCGNAPT config for 1, 6, 10 port pair Change-Id: I003e98b26e794d111af562232e8688f255a7d61a Signed-off-by: Deepak S <deepak.s@linux.intel.com>
Diffstat (limited to 'VNFs/vCGNAPT/config/cgnat_20G_hwlb_2port.txt')
-rw-r--r--VNFs/vCGNAPT/config/cgnat_20G_hwlb_2port.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/VNFs/vCGNAPT/config/cgnat_20G_hwlb_2port.txt b/VNFs/vCGNAPT/config/cgnat_20G_hwlb_2port.txt
new file mode 100644
index 00000000..d3aa5244
--- /dev/null
+++ b/VNFs/vCGNAPT/config/cgnat_20G_hwlb_2port.txt
@@ -0,0 +1,15 @@
+
+p 1 arpadd 0 192.16.100.20 00:00:00:00:00:01
+p 1 arpadd 1 172.16.40.20 00:00:00:9F:32:71
+
+set fwd rxonly
+set_sym_hash_ena_per_port 0 enable
+set_hash_global_config 0 simple_xor ipv4-udp enable
+set_sym_hash_ena_per_port 1 enable
+set_hash_global_config 1 simple_xor ipv4-udp enable
+
+set_hash_input_set 0 ipv4-udp src-ipv4 udp-src-port add
+set_hash_input_set 1 ipv4-udp dst-ipv4 udp-dst-port add
+
+p 1 arpls
+