summaryrefslogtreecommitdiffstats
path: root/conf/integration/03_traffic.conf
diff options
context:
space:
mode:
authorDino Simeon Madarang <dino.simeonx.madarang@intel.com>2016-02-02 08:32:01 +0000
committerMaryam Tahhan <maryam.tahhan@intel.com>2016-03-16 15:05:00 +0000
commit8ee2450bd267c7dc173f62909a8a4ebe13feab84 (patch)
tree26c52f865e0470d5cc6228046196c1338399acc5 /conf/integration/03_traffic.conf
parentbc1c22c6391745759c8e85f5d4070abf259269d8 (diff)
tunneling: Vanilla OVS decapsulation tests
Add Vanilla OVS VXLAN/GRE/GENEVE decapsulation tests Recent changes: * Line wrap * Fix GENEVE IP settings * Add GRE and GENEVE steps to integration.rst * Add DUT_NIC1_MAC and DUT_NIC2_MAC * Remove unnecessary call to vswitch.set_tunnel_arp * Move optional VXLAN/GRE/GENEVE decap settings to a different section * Add tunnel type to report files md and rst * Fix typo error: l4 to L4 in conf/integration/03_traffic.conf Change-Id: I8a43521668d5870ec893aed1df49467f0a84a07d JIRA: VSPERF-180 Signed-off-by: Dino Simeon Madarang <dino.simeonx.madarang@intel.com> Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
Diffstat (limited to 'conf/integration/03_traffic.conf')
-rw-r--r--conf/integration/03_traffic.conf62
1 files changed, 30 insertions, 32 deletions
diff --git a/conf/integration/03_traffic.conf b/conf/integration/03_traffic.conf
index 501a3ea8..0b46cea0 100644
--- a/conf/integration/03_traffic.conf
+++ b/conf/integration/03_traffic.conf
@@ -31,15 +31,17 @@ VXLAN_VNI = '99'
# 'dstmac':
# '00:1b:21:b3:48:a9'}
-VXLAN_FRAME_L2 = {'srcmac': '',
- 'dstmac': '',
+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':
-# '080000000000630006050403020101020304050608004500002e000000004011095bc0a8000ac0a8f0090bb80bb9001a2e93000102030405060708090a0b0c0d0e0f1011',
+# '080000000000630006050403020101020304050608004500002e000000004011095bc0a' \
+# '8000ac0a8f0090bb80bb9001a2e93000102030405060708090a0b0c0d0e0f1011',
# protocolpadbytes contains the following values:
# VxLAN header with VNI 99 (0x63)
# Inner SRC 01:02:03:04:05:06
@@ -54,72 +56,68 @@ VXLAN_FRAME_L2 = {'srcmac': '',
VXLAN_FRAME_L3 = {'proto': 'udp',
'packetsize': 64,
'srcip': TRAFFICGEN_PORT1_IP,
- 'dstip': '',
+ 'dstip': '192.168.240.1',
}
-VXLAN_FRAME_l4 = {'srcport': 4789,
+VXLAN_FRAME_L4 = {'srcport': 4789,
'dstport': 4789,
'vni': VXLAN_VNI,
- 'inner_srcmac': '',
- 'inner_dstmac': '',
- 'inner_srcip': '',
- 'inner_dstip': '',
- 'inner_proto': 'tcp',
+ '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,
- 'protocolpad': '',
- 'protocolpadbytes': '',
}
# TEST frame
# dstmac should be set to the MAC address of the DUT's receiving port
-GRE_FRAME_L2 = {'srcmac': '',
- 'dstmac': '',
+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': '',
+ 'dstip': '192.168.240.1',
}
-GRE_FRAME_l4 = {'srcport': 0,
+GRE_FRAME_L4 = {'srcport': 0,
'dstport': 0,
- 'inner_srcmac': '',
- 'inner_dstmac': '',
- 'inner_srcip': '',
- 'inner_dstip': '',
- 'inner_proto': 'tcp',
+ '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,
- 'protocolpad': '',
- 'protocolpadbytes': '',
}
# TEST frame
# dstmac should be set to the MAC address of the DUT's receiving port
-GENEVE_FRAME_L2 = {'srcmac': '',
- 'dstmac': '',
+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': '',
+ '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,
+GENEVE_FRAME_L4 = {'srcport': 6081,
'dstport': 6081,
'geneve_vni': 0,
- 'inner_srcmac': '',
- 'inner_dstmac': '',
- 'inner_srcip': '',
- 'inner_dstip': '',
- 'inner_proto': 'tcp',
+ '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,
}