From 5d5fc10455b2f57321e2933f61b909af2ec73407 Mon Sep 17 00:00:00 2001 From: Dino Simeon Madarang Date: Thu, 28 Jan 2016 15:51:22 +0000 Subject: pkt_gen: Add IxNet support for GRE frames Add option to generate GRE frames for testing GRE decapsulation tests. Recent changes: * Fix merge conflict * Updated userguides * Complete set of fields and working decap * Move GRE ixnet calls to if statement to reuse inner frame settings Change-Id: I0cf9243953a72a464ae4701a858e76aecbdb8528 JIRA: VSPERF-191 Signed-off-by: Dino Simeon Madarang Reviewed-by: Maryam Tahhan Reviewed-by: Billy O Mahony Reviewed-by: Martin Klozik Reviewed-by: Al Morton Reviewed-by: Brian Castelli --- conf/integration/03_traffic.conf | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'conf/integration') diff --git a/conf/integration/03_traffic.conf b/conf/integration/03_traffic.conf index b59a2d09..7a890ad3 100644 --- a/conf/integration/03_traffic.conf +++ b/conf/integration/03_traffic.conf @@ -70,3 +70,26 @@ VXLAN_FRAME_l4 = {'srcport': 4789, 'protocolpad': '', 'protocolpadbytes': '', } + +GRE_FRAME_L2 = {'srcmac': '', + 'dstmac': '', + } + +GRE_FRAME_L3 = {'proto': 'gre', + 'packetsize': 64, + 'srcip': TRAFFICGEN_PORT1_IP, + 'dstip': '', + } + +GRE_FRAME_l4 = {'srcport': 0, + 'dstport': 0, + 'inner_srcmac': '', + 'inner_dstmac': '', + 'inner_srcip': '', + 'inner_dstip': '', + 'inner_proto': 'tcp', + 'inner_srcport': 3000, + 'inner_dstport': 3001, + 'protocolpad': '', + 'protocolpadbytes': '', + } -- cgit 1.2.3-korg