dpdk: Support of DPDK16.07
[vswitchperf.git] / conf / integration / 03_traffic.conf
index 8bef092..0b46cea 100644 (file)
@@ -18,3 +18,106 @@ TRAFFICGEN_PORT2_MAC = '02:00:00:00:00:02'
 TRAFFICGEN_PORT1_IP = '1.1.1.1'
 TRAFFICGEN_PORT2_IP = '90.90.90.90'
 
+# To test VXLAN set the ff to ixnetrfc2544v2.tcl
+TRAFFICGEN_IXNET_TCL_SCRIPT = 'ixnetrfc2544v2.tcl'
+
+# VXLAN traffic item
+
+VXLAN_VNI = '99'
+# TEST frame
+# dstmac should be set to the MAC address of the DUT's receiving port
+#VXLAN_FRAME_L2 = {'srcmac':
+#                  '01:02:03:04:05:06',
+#                  'dstmac':
+#                  '00:1b:21:b3:48:a9'}
+
+VXLAN_FRAME_L2 = {'srcmac': '01:02:03:04:05:06',
+                  'dstmac': DUT_NIC2_MAC,
+                 }
+
+# VXLAN is supported both in IxNetwork and IXIA IxExplorer
+# FOR IXIA IxExplorer - VXLAN INNER FRAME
+# The following lines can be removed if IXIA support will be dropped:
+# 'protocolpad': 'true',
+# 'protocolpadbytes':
+# '080000000000630006050403020101020304050608004500002e000000004011095bc0a' \
+# '8000ac0a8f0090bb80bb9001a2e93000102030405060708090a0b0c0d0e0f1011',
+# protocolpadbytes contains the following values:
+# VxLAN header with VNI 99 (0x63)
+# Inner SRC 01:02:03:04:05:06
+# Inner DST 06:05:04:03:02:01
+# IP SRC 192.168.0.2
+# IP DST 192.168.240.9
+# SRC port 3000 (0x0BB8)
+# DST port 3001 (0x0BB9)
+# length 26
+# UDP Checksum 0x2E93
+
+VXLAN_FRAME_L3 = {'proto': 'udp',
+                  'packetsize': 64,
+                  'srcip': TRAFFICGEN_PORT1_IP,
+                  'dstip': '192.168.240.1',
+                 }
+
+VXLAN_FRAME_L4 = {'srcport': 4789,
+                  'dstport': 4789,
+                  'vni': VXLAN_VNI,
+                  'inner_srcmac': '01:02:03:04:05:06',
+                  'inner_dstmac': '06:05:04:03:02:01',
+                  'inner_srcip': '192.168.0.10',
+                  'inner_dstip': '192.168.240.9',
+                  'inner_proto': 'udp',
+                  'inner_srcport': 3000,
+                  'inner_dstport': 3001,
+                 }
+
+# TEST frame
+# dstmac should be set to the MAC address of the DUT's receiving port
+GRE_FRAME_L2 = {'srcmac': '01:02:03:04:05:06',
+                'dstmac': DUT_NIC2_MAC,
+               }
+
+GRE_FRAME_L3 = {'proto': 'gre',
+                'packetsize': 64,
+                'srcip': TRAFFICGEN_PORT1_IP,
+                'dstip': '192.168.240.1',
+               }
+
+GRE_FRAME_L4 = {'srcport': 0,
+                'dstport': 0,
+                'inner_srcmac': '01:02:03:04:05:06',
+                'inner_dstmac': '06:05:04:03:02:01',
+                'inner_srcip': '192.168.0.10',
+                'inner_dstip': '192.168.240.9',
+                'inner_proto': 'udp',
+                'inner_srcport': 3000,
+                'inner_dstport': 3001,
+               }
+
+
+# TEST frame
+# dstmac should be set to the MAC address of the DUT's receiving port
+GENEVE_FRAME_L2 = {'srcmac': '01:02:03:04:05:06',
+                   'dstmac': DUT_NIC2_MAC,
+                  }
+
+GENEVE_FRAME_L3 = {'proto': 'udp',
+                   'packetsize': 64,
+                   'srcip': TRAFFICGEN_PORT1_IP,
+                   'dstip': '192.168.240.1',
+                  }
+
+# UDP source/destination port (OUTER FRAME)
+# Variables with prefix inner_ are for the
+# INNER_FRAME
+GENEVE_FRAME_L4 = {'srcport': 6081,
+                   'dstport': 6081,
+                   'geneve_vni': 0,
+                   'inner_srcmac': '01:02:03:04:05:06',
+                   'inner_dstmac': '06:05:04:03:02:01',
+                   'inner_srcip': '192.168.0.10',
+                   'inner_dstip': '192.168.240.9',
+                   'inner_proto': 'udp',
+                   'inner_srcport': 3000,
+                   'inner_dstport': 3001,
+                  }