#
# "Name": "phy2phy_burst", # A human-readable string identifying the
# # test.
-# "Traffic Type": "rfc2544", # One of the supported traffic types.
+# "Traffic Type": "rfc2544_throughput",
+# # One of the supported traffic types.
# # It can be overridden by cli option traffic_type.
-# # Default value is "rfc2544".
# "Deployment": "p2p", # One of the supported deployment scenarios.
# "Description": "Lorem ipsum..." # Optional. A human-readable string
# # describing the test.
PERFORMANCE_TESTS = [
{
"Name": "phy2phy_tput",
- "Traffic Type": "rfc2544",
+ "Traffic Type": "rfc2544_throughput",
"Deployment": "p2p",
"biDirectional": "True",
"Description": "LTD.Throughput.RFC2544.PacketLossRatio",
},
{
"Name": "back2back",
- "Traffic Type": "back2back",
+ "Traffic Type": "rfc2544_back2back",
"Deployment": "p2p",
"biDirectional": "True",
"Description": "LTD.Throughput.RFC2544.BackToBackFrames",
},
{
"Name": "phy2phy_tput_mod_vlan",
- "Traffic Type": "rfc2544",
+ "Traffic Type": "rfc2544_throughput",
"Deployment": "p2p",
"Frame Modification": "vlan",
"biDirectional": "False",
},
{
"Name": "phy2phy_cont",
- "Traffic Type": "continuous",
+ "Traffic Type": "rfc2544_continuous",
"Deployment": "p2p",
"Description": "Phy2Phy Continuous Stream",
"biDirectional": "True",
},
{
"Name": "pvp_cont",
- "Traffic Type": "continuous",
+ "Traffic Type": "rfc2544_continuous",
"Deployment": "pvp",
"Description": "PVP Continuous Stream",
"biDirectional": "True",
},
{
"Name": "pvvp_cont",
- "Traffic Type": "continuous",
+ "Traffic Type": "rfc2544_continuous",
"Deployment": "pvvp",
"Description": "PVVP Continuous Stream",
"biDirectional": "True",
},
{
"Name": "pvpv_cont",
- "Traffic Type": "continuous",
+ "Traffic Type": "rfc2544_continuous",
"Deployment": "pvpv",
"Description": "Two VMs in parallel with Continuous Stream",
"biDirectional": "True",
},
{
"Name": "phy2phy_scalability",
- "Traffic Type": "rfc2544",
+ "Traffic Type": "rfc2544_throughput",
"Deployment": "p2p",
"biDirectional": "True",
"Description": "LTD.Scalability.Flows.RFC2544.0PacketLoss",
},
{
"Name": "pvp_tput",
- "Traffic Type": "rfc2544",
+ "Traffic Type": "rfc2544_throughput",
"Deployment": "pvp",
"Description": "LTD.Throughput.RFC2544.PacketLossRatio",
"biDirectional": "True",
},
{
"Name": "pvp_back2back",
- "Traffic Type": "back2back",
+ "Traffic Type": "rfc2544_back2back",
"Deployment": "pvp",
"Description": "LTD.Throughput.RFC2544.BackToBackFrames",
"biDirectional": "True",
},
{
"Name": "pvvp_tput",
- "Traffic Type": "rfc2544",
+ "Traffic Type": "rfc2544_throughput",
"Collector": "cpu",
"Deployment": "pvvp",
"Description": "LTD.Throughput.RFC2544.PacketLossRatio",
},
{
"Name": "pvvp_back2back",
- "Traffic Type": "back2back",
+ "Traffic Type": "rfc2544_back2back",
"Collector": "cpu",
"Deployment": "pvvp",
"Description": "LTD.Throughput.RFC2544.BackToBackFrames",
},
{
"Name": "phy2phy_cpu_load",
- "Traffic Type": "rfc2544",
+ "Traffic Type": "rfc2544_throughput",
"Deployment": "p2p",
"biDirectional": "True",
"Description": "LTD.CPU.RFC2544.0PacketLoss",
},
{
"Name": "phy2phy_mem_load",
- "Traffic Type": "rfc2544",
+ "Traffic Type": "rfc2544_throughput",
"Deployment": "p2p",
"biDirectional": "True",
"Description": "LTD.Memory.RFC2544.0PacketLoss",
INTEGRATION_TESTS = [
{
"Name": "overlay_p2p_mod_tput",
- "Traffic Type": "rfc2544",
+ "Traffic Type": "rfc2544_throughput",
"Deployment": "ptunp",
"biDirectional": 'True',
"Tunnel Type": "vxlan",
},
{
"Name": "overlay_p2p_tput",
- "Traffic Type": "rfc2544",
+ "Traffic Type": "rfc2544_throughput",
"Deployment": "op2p",
"biDirectional": 'False',
"Tunnel Type": SUPPORTED_TUNNELING_PROTO[0],
},
{
"Name": "overlay_p2p_cont",
- "Traffic Type": "continuous",
+ "Traffic Type": "rfc2544_continuous",
"Deployment": "op2p",
"biDirectional": 'False',
"Tunnel Type": SUPPORTED_TUNNELING_PROTO[0],
"Tunnel Operation": "encapsulation",
- "Description": "Overlay Encapsulation Continuous Stream",
+ "Description": "Overlay Encapsulation RFC2544 Continuous Stream",
"Parameters": {'TRAFFICGEN_IXNET_TCL_SCRIPT' : 'ixnetrfc2544v2.tcl'},
},
{
"Name": "overlay_p2p_decap_tput",
- "Traffic Type": "rfc2544",
+ "Traffic Type": "rfc2544_throughput",
"Deployment": "op2p",
"biDirectional": 'False',
"Tunnel Type": SUPPORTED_TUNNELING_PROTO[0],
},
{
"Name": "overlay_p2p_decap_cont",
- "Traffic Type": "continuous",
+ "Traffic Type": "rfc2544_continuous",
"Deployment": "op2p",
"biDirectional": 'False',
"Tunnel Type": SUPPORTED_TUNNELING_PROTO[0],
"Tunnel Operation": "decapsulation",
- "Description": "Overlay Decapsulation Continuous Stream",
+ "Description": "Overlay Decapsulation RFC2544 Continuous Stream",
"Parameters": {'TRAFFICGEN_IXNET_TCL_SCRIPT' : 'ixnetrfc2544v2.tcl'},
},
{
"Description": "vSwitch - configure switch and execute RFC2544 throughput test",
"TestSteps": STEP_VSWITCH_P2P_FLOWS_INIT +
[
- ['trafficgen', 'send_traffic', {'traffic_type' : 'throughput', 'bidir' : 'True'}],
+ ['trafficgen', 'send_traffic', {'traffic_type' : 'rfc2544_throughput', 'bidir' : 'True'}],
] +
STEP_VSWITCH_P2P_FLOWS_FINIT
},
"Description": "vSwitch - configure switch and execute RFC2544 back2back test",
"TestSteps": STEP_VSWITCH_P2P_FLOWS_INIT +
[
- ['trafficgen', 'send_traffic', {'traffic_type' : 'back2back', 'bidir' : 'True'}],
+ ['trafficgen', 'send_traffic', {'traffic_type' : 'rfc2544_back2back', 'bidir' : 'True'}],
] +
STEP_VSWITCH_P2P_FLOWS_FINIT
},
{
"Name": "vswitch_p2p_cont",
"Deployment": "clean",
- "Description": "vSwitch - configure switch and execute continuous stream test",
+ "Description": "vSwitch - configure switch and execute RFC2544 continuous stream test",
"TestSteps": STEP_VSWITCH_P2P_FLOWS_INIT +
[
- ['trafficgen', 'send_traffic', {'traffic_type' : 'continuous', 'bidir' : 'True'}],
+ ['trafficgen', 'send_traffic', {'traffic_type' : 'rfc2544_continuous', 'bidir' : 'True'}],
] +
STEP_VSWITCH_P2P_FLOWS_FINIT
},
"TestSteps": STEP_VSWITCH_PVP_FLOWS_INIT +
[
['vnf', 'start'],
- ['trafficgen', 'send_traffic', {'traffic_type' : 'throughput', 'bidir' : 'True'}],
+ ['trafficgen', 'send_traffic', {'traffic_type' : 'rfc2544_throughput', 'bidir' : 'True'}],
['vnf', 'stop'],
] +
STEP_VSWITCH_PVP_FLOWS_FINIT
"TestSteps": STEP_VSWITCH_PVP_FLOWS_INIT +
[
['vnf', 'start'],
- ['trafficgen', 'send_traffic', {'traffic_type' : 'back2back', 'bidir' : 'True'}],
+ ['trafficgen', 'send_traffic', {'traffic_type' : 'rfc2544_back2back', 'bidir' : 'True'}],
['vnf', 'stop'],
] +
STEP_VSWITCH_PVP_FLOWS_FINIT
{
"Name": "vswitch_pvp_cont",
"Deployment": "clean",
- "Description": "vSwitch - configure switch, vnf and execute continuous stream test",
+ "Description": "vSwitch - configure switch, vnf and execute RFC2544 continuous stream test",
"TestSteps": STEP_VSWITCH_PVP_FLOWS_INIT +
[
['vnf', 'start'],
- ['trafficgen', 'send_traffic', {'traffic_type' : 'continuous', 'bidir' : 'True'}],
+ ['trafficgen', 'send_traffic', {'traffic_type' : 'rfc2544_continuous', 'bidir' : 'True'}],
['vnf', 'stop'],
] +
STEP_VSWITCH_PVP_FLOWS_FINIT
"TestSteps": STEP_VSWITCH_PVP_FLOWS_INIT +
[
['vnf', 'start'],
- ['trafficgen', 'send_traffic', {'traffic_type' : 'throughput', 'bidir' : 'True'}],
- ['trafficgen', 'send_traffic', {'traffic_type' : 'back2back', 'bidir' : 'True'}],
- ['trafficgen', 'send_traffic', {'traffic_type' : 'continuous', 'bidir' : 'True'}],
+ ['trafficgen', 'send_traffic', {'traffic_type' : 'rfc2544_throughput', 'bidir' : 'True'}],
+ ['trafficgen', 'send_traffic', {'traffic_type' : 'rfc2544_back2back', 'bidir' : 'True'}],
+ ['trafficgen', 'send_traffic', {'traffic_type' : 'rfc2544_continuous', 'bidir' : 'True'}],
['vnf', 'stop'],
] +
STEP_VSWITCH_PVP_FLOWS_FINIT
[
['vnf1', 'start'],
['vnf2', 'start'],
- ['trafficgen', 'send_traffic', {'traffic_type' : 'throughput', 'bidir' : 'True'}],
+ ['trafficgen', 'send_traffic', {'traffic_type' : 'rfc2544_throughput', 'bidir' : 'True'}],
['vnf1', 'stop'],
['vnf2', 'stop'],
] +
[
['vnf1', 'start'],
['vnf2', 'start'],
- ['trafficgen', 'send_traffic', {'traffic_type' : 'back2back', 'bidir' : 'True'}],
+ ['trafficgen', 'send_traffic', {'traffic_type' : 'rfc2544_back2back', 'bidir' : 'True'}],
['vnf1', 'stop'],
['vnf2', 'stop'],
] +
{
"Name": "vswitch_pvvp_cont",
"Deployment": "clean",
- "Description": "vSwitch - configure switch, two chained vnfs and execute continuous stream test",
+ "Description": "vSwitch - configure switch, two chained vnfs and execute RFC2544 continuous stream test",
"TestSteps": STEP_VSWITCH_PVVP_FLOWS_INIT +
[
['vnf1', 'start'],
['vnf2', 'start'],
- ['trafficgen', 'send_traffic', {'traffic_type' : 'continuous', 'bidir' : 'True'}],
+ ['trafficgen', 'send_traffic', {'traffic_type' : 'rfc2544_continuous', 'bidir' : 'True'}],
['vnf1', 'stop'],
['vnf2', 'stop'],
] +
[
['vnf1', 'start'],
['vnf2', 'start'],
- ['trafficgen', 'send_traffic', {'traffic_type' : 'throughput', 'bidir' : 'True'}],
- ['trafficgen', 'send_traffic', {'traffic_type' : 'back2back', 'bidir' : 'True'}],
- ['trafficgen', 'send_traffic', {'traffic_type' : 'continuous', 'bidir' : 'True'}],
+ ['trafficgen', 'send_traffic', {'traffic_type' : 'rfc2544_throughput', 'bidir' : 'True'}],
+ ['trafficgen', 'send_traffic', {'traffic_type' : 'rfc2544_back2back', 'bidir' : 'True'}],
+ ['trafficgen', 'send_traffic', {'traffic_type' : 'rfc2544_continuous', 'bidir' : 'True'}],
['vnf1', 'stop'],
['vnf2', 'stop'],
] +
['vnf2', 'start'],
['vnf3', 'start'],
['vnf4', 'start'],
- ['trafficgen', 'send_traffic', {'traffic_type' : 'throughput', \
+ ['trafficgen', 'send_traffic', {'traffic_type' : 'rfc2544_throughput', \
'bidir' : 'True'}],
['vnf1', 'stop'],
['vnf2', 'stop'],
['vnf2', 'start'],
['vnf3', 'start'],
['vnf4', 'start'],
- ['trafficgen', 'send_traffic', {'traffic_type' : 'back2back', \
+ ['trafficgen', 'send_traffic', {'traffic_type' : 'rfc2544_back2back', \
'bidir' : 'True'}],
['vnf1', 'stop'],
['vnf2', 'stop'],
},
{
"Name": "vswitch_p4vp_cont",
- "Description": "4 chained vnfs, execute continuous stream test",
+ "Description": "4 chained vnfs, execute RFC2544 continuous stream test",
"Deployment": "clean",
"TestSteps": STEP_VSWITCH_P4VP_FLOWS_INIT +
[
['vnf2', 'start'],
['vnf3', 'start'],
['vnf4', 'start'],
- ['trafficgen', 'send_traffic', {'traffic_type' : 'continuous', \
+ ['trafficgen', 'send_traffic', {'traffic_type' : 'rfc2544_continuous', \
'bidir' : 'True'}],
['vnf1', 'stop'],
['vnf2', 'stop'],
['vnf2', 'start'],
['vnf3', 'start'],
['vnf4', 'start'],
- ['trafficgen', 'send_traffic', {'traffic_type' : 'throughput', \
+ ['trafficgen', 'send_traffic', {'traffic_type' : 'rfc2544_throughput', \
'bidir' : 'True'}],
- ['trafficgen', 'send_traffic', {'traffic_type' : 'back2back', \
+ ['trafficgen', 'send_traffic', {'traffic_type' : 'rfc2544_back2back', \
'bidir' : 'True'}],
- ['trafficgen', 'send_traffic', {'traffic_type' : 'continuous', \
+ ['trafficgen', 'send_traffic', {'traffic_type' : 'rfc2544_continuous', \
'bidir' : 'True'}],
['vnf1', 'stop'],
['vnf2', 'stop'],
# or add "Parameters" option to the test definition:
# "Parameters" : {'GUEST_LOOPBACK' : ['linux_bridge'],},
"Name": "2pvp_udp_dest_flows",
- "Description": "Continuous TC with 2 Parallel VMs, flows on UDP Dest Port",
+ "Description": "RFC2544 Continuous TC with 2 Parallel VMs, flows on UDP Dest Port",
"Deployment": "clean",
"Stream Type": "L4",
"MultiStream": 2,
# Start 2 VMs
['vnf1', 'start'],
['vnf2', 'start'],
- ['trafficgen', 'send_traffic', {'traffic_type' : 'continuous', 'bidir' : 'False'}],
+ ['trafficgen', 'send_traffic', {'traffic_type' : 'rfc2544_continuous', 'bidir' : 'False'}],
['vnf1', 'stop'],
['vnf2', 'stop'],
# Clean up
# or add "Parameters" option to the test definition:
# "Parameters" : {'GUEST_LOOPBACK' : ['linux_bridge'],},
"Name": "4pvp_udp_dest_flows",
- "Description": "Continuous TC with 4 Parallel VMs, flows on UDP Dest Port",
+ "Description": "RFC2544 Continuous TC with 4 Parallel VMs, flows on UDP Dest Port",
"Deployment": "clean",
"Stream Type": "L4",
"MultiStream": 4,
['vnf2', 'start'],
['vnf3', 'start'],
['vnf4', 'start'],
- ['trafficgen', 'send_traffic', {'traffic_type' : 'continuous', 'bidir' : 'False'}],
+ ['trafficgen', 'send_traffic', {'traffic_type' : 'rfc2544_continuous', 'bidir' : 'False'}],
['vnf1', 'stop'],
['vnf2', 'stop'],
['vnf3', 'stop'],
# or add "Parameters" option to the test definition:
# "Parameters" : {'GUEST_LOOPBACK' : ['linux_bridge'],},
"Name": "6pvp_udp_dest_flows",
- "Description": "Continuous TC with 6 Parallel VMs, flows on UDP Dest Port",
+ "Description": "RFC2544 Continuous TC with 6 Parallel VMs, flows on UDP Dest Port",
"Deployment": "clean",
"Stream Type": "L4",
"MultiStream": 6,
['vnf4', 'start'],
['vnf5', 'start'],
['vnf6', 'start'],
- ['trafficgen', 'send_traffic', {'traffic_type' : 'continuous', 'bidir' : 'False'}],
+ ['trafficgen', 'send_traffic', {'traffic_type' : 'rfc2544_continuous', 'bidir' : 'False'}],
['vnf1', 'stop'],
['vnf2', 'stop'],
['vnf3', 'stop'],
# "TestSteps": STEP_VSWITCH_PVP_FLOWS_INIT +
# [
# ['vnf', 'start'],
-# ['trafficgen', 'send_traffic', {'traffic_type' : 'continuous', 'bidir' : 'True'}],
+# ['trafficgen', 'send_traffic', {'traffic_type' : 'rfc2544_continuous', 'bidir' : 'True'}],
# ['vnf', 'stop'],
# ] +
# STEP_VSWITCH_PVP_FLOWS_FINIT
.. code-block:: python
- ['trafficgen', 'send_traffic', {'traffic_type' : 'throughput'}]
+ ['trafficgen', 'send_traffic', {'traffic_type' : 'rfc2544_throughput'}]
- ['trafficgen', 'send_traffic', {'traffic_type' : 'back2back', 'bidir' : 'True'}]
+ ['trafficgen', 'send_traffic', {'traffic_type' : 'rfc2544_back2back', 'bidir' : 'True'}]
* ``settings`` - reads or modifies VSPERF configuration
['vswitch', 'add_flow', 'int_br0', {'in_port': '#STEP[1][1]', \
'dl_type': '0x0800', 'nw_dst': '90.90.90.90', \
'actions': ['output:#STEP[2][1]'], 'idle_timeout': '0'}],
- ['trafficgen', 'send_traffic', {'traffic_type' : 'continuous'}],
+ ['trafficgen', 'send_traffic', \
+ {'traffic_type' : 'rfc2544_continuous'}],
['vswitch', 'dump_flows', 'int_br0'], # STEP 5
['vswitch', 'del_flow', 'int_br0'], # STEP 7 == del-flows
['vswitch', 'del_port', 'int_br0', '#STEP[1][0]'],
'dl_type': '0x0800', 'nw_proto': '17', 'udp_dst': '3', \
'actions': ['output:#STEP[2][1]'], 'idle_timeout': '0'}],
# Send mono-dir traffic
- ['trafficgen', 'send_traffic', {'traffic_type' : 'continuous', \
+ ['trafficgen', 'send_traffic', \
+ {'traffic_type' : 'rfc2544_continuous', \
'bidir' : 'False'}],
# Clean up
['vswitch', 'del_flow', 'int_br0'],
'actions': ['output:#STEP[2][1]'], 'idle_timeout': '0'}],
# Start VMs
['vnf1', 'start'],
- ['trafficgen', 'send_traffic', {'traffic_type' : 'continuous', \
+ ['trafficgen', 'send_traffic', \
+ {'traffic_type' : 'rfc2544_continuous', \
'bidir' : 'False'}],
['vnf1', 'stop'],
# Clean up
# Start VMs
['vnf1', 'start'], # STEP 16
['vnf2', 'start'], # STEP 17
- ['trafficgen', 'send_traffic', {'traffic_type' : 'continuous', \
+ ['trafficgen', 'send_traffic', \
+ {'traffic_type' : 'rfc2544_continuous', \
'bidir' : 'False'}],
['vnf1', 'stop'],
['vnf2', 'stop'],