From b92b5be7d4bbbf523812f774bb2e539ab2081cf6 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Tue, 4 Apr 2017 10:06:00 +0200 Subject: CSIT-524: Traffic generator using python profiles Profile name structure: [trex|ixia]-[sl|sf]-[topo]-[packet structure]-[scale] - Traffic generator - T-rex (trex) or Ixia (ixia) - Stateless (sl) or statefull (sf) - Topology - 2-node topology (2n) or 3-node topology (3n) - Packet structure - eth | ip4/6 | udp - Scale - e.g. ip4dst1, ip6dst10000, 4000u15p Traffic types changed to stream profiles: - From: 2-node-bridge To: trex-sl-2n-ethip4-ip4src253 - From: 3-node-bridge To: trex-sl-3n-ethip4-ip4src254 - From: 3-node-IPv4-dst-1000000 To: trex-sl-3n-ethip4-ip4dst1000000 - From: 3-node-IPv4-dst-100000 To: trex-sl-3n-ethip4-ip4dst100000 - From: 3-node-IPv4-dst-10000 To: trex-sl-3n-ethip4-ip4dst10000 - From: 3-node-IPv4-dst-1000 To: trex-sl-3n-ethip4-ip4dst1000 - From: 3-node-IPv4-dst-100 To: trex-sl-3n-ethip4-ip4dst100 - From: 3-node-IPv4-dst-1 To: trex-sl-3n-ethip4-ip4dst1 - From: 3-node-IPv4 To: trex-sl-3n-ethip4-ip4src253 - From: 3-node-IPv6-dst-1000000 To: trex-sl-3n-ethip6-ip6dst1000000 - From: 3-node-IPv6-dst-100000 To: trex-sl-3n-ethip6-ip6dst100000 - From: 3-node-IPv6-dst-10000 To: trex-sl-3n-ethip6-ip6dst10000 - From: 3-node-IPv6 To: trex-sl-3n-ethip6-ip6src253 - From: 3-node-xconnect To: trex-sl-3n-ethip4-ip4src254 - From: 3-node-IPv4-SNAT-1000u-15p To: trex-sl-3n-ethip4udp-1000u15p - From: 3-node-IPv4-SNAT-100u-15p To: trex-sl-3n-ethip4udp-100u15p - From: 3-node-IPv4-SNAT-10u-15p To: trex-sl-3n-ethip4udp-10u15p - From: 3-node-IPv4-SNAT-1u-15p To: trex-sl-3n-ethip4udp-1u15p - From: 3-node-IPv4-SNAT-1u-1p To: trex-sl-3n-ethip4udp-1u1p - From: 3-node-IPv4-SNAT-2000u-15p To: trex-sl-3n-ethip4udp-2000u15p - From: 3-node-IPv4-SNAT-4000u-15p To: trex-sl-3n-ethip4udp-4000u15p Change-Id: If6a3cf204c93ff9f2cdccc5fd395e26b05483b58 Signed-off-by: Tibor Frank --- .../10ge2p1x520-ethip6lispip4-ip6base-ndrchk.robot | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'tests/perf/10ge2p1x520-ethip6lispip4-ip6base-ndrchk.robot') diff --git a/tests/perf/10ge2p1x520-ethip6lispip4-ip6base-ndrchk.robot b/tests/perf/10ge2p1x520-ethip6lispip4-ip6base-ndrchk.robot index 831ad3957a..68ff8e3743 100644 --- a/tests/perf/10ge2p1x520-ethip6lispip4-ip6base-ndrchk.robot +++ b/tests/perf/10ge2p1x520-ethip6lispip4-ip6base-ndrchk.robot @@ -47,6 +47,10 @@ | ... | IP protocol=61 and generated payload. | ... | *[Ref] Applicable standard specifications:* RFC2544. +*** Variables *** +# Traffic profile: +| ${traffic_profile} | trex-sl-3n-ethip6-ip6src253 + *** Test Cases *** | tc01-78B-1t1c-ethip6lispip4-ip6base-ndrchk | | [Documentation] @@ -70,7 +74,7 @@ | | ... | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid} | | ... | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency} | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate} -| | ... | ${framesize} | 3-node-IPv6 +| | ... | ${framesize} | ${traffic_profile} | tc02-1460B-1t1c-ethip6lispip4-ip6base-ndrchk | | [Documentation] @@ -94,7 +98,7 @@ | | ... | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid} | | ... | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency} | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate} -| | ... | ${framesize} | 3-node-IPv6 +| | ... | ${framesize} | ${traffic_profile} | tc03-9000B-1t1c-ethip6lispip4-ip6base-ndrchk | | [Documentation] @@ -117,7 +121,7 @@ | | ... | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid} | | ... | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency} | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate} -| | ... | ${framesize} | 3-node-IPv6 +| | ... | ${framesize} | ${traffic_profile} | tc04-78B-2t2c-ethip6lispip4-ip6base-ndrchk | | [Documentation] @@ -141,7 +145,7 @@ | | ... | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid} | | ... | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency} | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate} -| | ... | ${framesize} | 3-node-IPv6 +| | ... | ${framesize} | ${traffic_profile} | tc05-1460B-2t2c-ethip6lispip4-ip6base-ndrchk | | [Documentation] @@ -165,7 +169,7 @@ | | ... | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid} | | ... | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency} | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate} -| | ... | ${framesize} | 3-node-IPv6 +| | ... | ${framesize} | ${traffic_profile} | tc06-9000B-2t2c-ethip6lispip4-ip6base-ndrchk | | [Documentation] @@ -188,7 +192,7 @@ | | ... | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid} | | ... | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency} | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate} -| | ... | ${framesize} | 3-node-IPv6 +| | ... | ${framesize} | ${traffic_profile} | tc07-78B-4t4c-ethip6lispip4-ip6base-ndrchk | | [Documentation] @@ -212,7 +216,7 @@ | | ... | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid} | | ... | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency} | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate} -| | ... | ${framesize} | 3-node-IPv6 +| | ... | ${framesize} | ${traffic_profile} | tc08-1460B-4t4c-ethip6lispip4-ip6base-ndrchk | | [Documentation] @@ -236,7 +240,7 @@ | | ... | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid} | | ... | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency} | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate} -| | ... | ${framesize} | 3-node-IPv6 +| | ... | ${framesize} | ${traffic_profile} | tc09-9000B-4t4c-ethip6lispip4-ip6base-ndrchk | | [Documentation] @@ -259,4 +263,4 @@ | | ... | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid} | | ... | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency} | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate} -| | ... | ${framesize} | 3-node-IPv6 +| | ... | ${framesize} | ${traffic_profile} -- cgit 1.2.3-korg