Move scenarios from networking/ to openstack/

Rename location of all OpenStack scenarios from "networking"
to "openstack". The old name is deprecated, but is automatically
translated into the new one.

Change-Id: I59ab4b7659199216bfdddcf2c57c254ddb1a19c8
This commit is contained in:
Ilya Shakhat 2016-04-15 16:53:40 +03:00
parent 18f2715e5e
commit 57a0d30925
53 changed files with 219 additions and 207 deletions

View File

@ -6,7 +6,7 @@ Scenario Catalog
Scenarios Scenarios
--------- ---------
.. _openstack_instances_metadata_query: .. _scenario_openstack_instances_metadata_query:
OpenStack instances metadata query OpenStack instances metadata query
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -17,7 +17,7 @@ processes.
To use this scenario specify parameter ``--scenario misc/instance_metadata``. To use this scenario specify parameter ``--scenario misc/instance_metadata``.
Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/misc/instance_metadata.yaml Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/misc/instance_metadata.yaml
.. _static_agents: .. _scenario_static_agents:
Static agents Static agents
^^^^^^^^^^^^^ ^^^^^^^^^^^^^
@ -27,7 +27,7 @@ can be used for Shaker integration testing.
To use this scenario specify parameter ``--scenario misc/static_agent``. To use this scenario specify parameter ``--scenario misc/static_agent``.
Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/misc/static_agent.yaml Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/misc/static_agent.yaml
.. _paired_static_agents: .. _scenario_paired_static_agents:
Paired static agents Paired static agents
^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^
@ -37,7 +37,7 @@ scenario can be used for Shaker integration testing.
To use this scenario specify parameter ``--scenario misc/static_agents_pair``. To use this scenario specify parameter ``--scenario misc/static_agents_pair``.
Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/misc/static_agents_pair.yaml Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/misc/static_agents_pair.yaml
.. _openstack_l2_cross_az: .. _scenario_openstack_l2_cross_az:
OpenStack L2 Cross-AZ OpenStack L2 Cross-AZ
^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^
@ -47,10 +47,10 @@ nodes are utilized. The master and slave instances are in different
availability zones. The scenario is used to test throughput between `nova` and availability zones. The scenario is used to test throughput between `nova` and
`vcenter` zones. The traffic goes within the tenant network (L2 domain). `vcenter` zones. The traffic goes within the tenant network (L2 domain).
To use this scenario specify parameter ``--scenario networking/cross_az/full_l2``. To use this scenario specify parameter ``--scenario openstack/cross_az/full_l2``.
Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/cross_az/full_l2.yaml Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/cross_az/full_l2.yaml
.. _openstack_l3_east_west_cross_az: .. _scenario_openstack_l3_east_west_cross_az:
OpenStack L3 East-West Cross-AZ OpenStack L3 East-West Cross-AZ
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -61,10 +61,10 @@ from one network to the other (L3 east-west). The master and slave instances
are in different availability zones. The scenario is used to test throughput are in different availability zones. The scenario is used to test throughput
between `nova` and `vcenter` zones. between `nova` and `vcenter` zones.
To use this scenario specify parameter ``--scenario networking/cross_az/full_l3_east_west``. To use this scenario specify parameter ``--scenario openstack/cross_az/full_l3_east_west``.
Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/cross_az/full_l3_east_west.yaml Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/cross_az/full_l3_east_west.yaml
.. _openstack_l3_north_south_cross_az: .. _scenario_openstack_l3_north_south_cross_az:
OpenStack L3 North-South Cross-AZ OpenStack L3 North-South Cross-AZ
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -75,10 +75,10 @@ traffic goes from one network via external network to the other network. The
master and slave instances are in different availability zones. The scenario is master and slave instances are in different availability zones. The scenario is
used to test throughput between `nova` and `vcenter` zones. used to test throughput between `nova` and `vcenter` zones.
To use this scenario specify parameter ``--scenario networking/cross_az/full_l3_north_south``. To use this scenario specify parameter ``--scenario openstack/cross_az/full_l3_north_south``.
Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/cross_az/full_l3_north_south.yaml Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/cross_az/full_l3_north_south.yaml
.. _openstack_l2_cross_az_performance: .. _scenario_openstack_l2_cross_az_performance:
OpenStack L2 Cross-AZ Performance OpenStack L2 Cross-AZ Performance
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -87,10 +87,10 @@ network. Each instance is hosted on a separate compute node. The master and
slave instances are in different availability zones. The scenario is used to slave instances are in different availability zones. The scenario is used to
test throughput between `nova` and `vcenter` zones. test throughput between `nova` and `vcenter` zones.
To use this scenario specify parameter ``--scenario networking/cross_az/perf_l2``. To use this scenario specify parameter ``--scenario openstack/cross_az/perf_l2``.
Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/cross_az/perf_l2.yaml Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/cross_az/perf_l2.yaml
.. _openstack_l3_east_west_cross_az_performance: .. _scenario_openstack_l3_east_west_cross_az_performance:
OpenStack L3 East-West Cross-AZ Performance OpenStack L3 East-West Cross-AZ Performance
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -100,10 +100,10 @@ plugged into single router. The traffic goes from one network to the other (L3
east-west). The master and slave instances are in different availability zones. east-west). The master and slave instances are in different availability zones.
The scenario is used to test throughput between `nova` and `vcenter` zones. The scenario is used to test throughput between `nova` and `vcenter` zones.
To use this scenario specify parameter ``--scenario networking/cross_az/perf_l3_east_west``. To use this scenario specify parameter ``--scenario openstack/cross_az/perf_l3_east_west``.
Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/cross_az/perf_l3_east_west.yaml Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/cross_az/perf_l3_east_west.yaml
.. _openstack_l3_north_south_cross_az_performance: .. _scenario_openstack_l3_north_south_cross_az_performance:
OpenStack L3 North-South Cross-AZ Performance OpenStack L3 North-South Cross-AZ Performance
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -114,10 +114,10 @@ external network to the other network. The master and slave instances are in
different availability zones. The scenario is used to test throughput between different availability zones. The scenario is used to test throughput between
`nova` and `vcenter` zones. `nova` and `vcenter` zones.
To use this scenario specify parameter ``--scenario networking/cross_az/perf_l3_north_south``. To use this scenario specify parameter ``--scenario openstack/cross_az/perf_l3_north_south``.
Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/cross_az/perf_l3_north_south.yaml Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/cross_az/perf_l3_north_south.yaml
.. _openstack_l2_cross_az_udp: .. _scenario_openstack_l2_cross_az_udp:
OpenStack L2 Cross-AZ UDP OpenStack L2 Cross-AZ UDP
^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^
@ -127,10 +127,10 @@ UDP traffic. The master and slave instances are in different availability
zones. The scenario is used to test throughput between `nova` and `vcenter` zones. The scenario is used to test throughput between `nova` and `vcenter`
zones. zones.
To use this scenario specify parameter ``--scenario networking/cross_az/udp_l2``. To use this scenario specify parameter ``--scenario openstack/cross_az/udp_l2``.
Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/cross_az/udp_l2.yaml Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/cross_az/udp_l2.yaml
.. _openstack_l2_cross_az_udp_jumbo: .. _scenario_openstack_l2_cross_az_udp_jumbo:
OpenStack L2 Cross-AZ UDP Jumbo OpenStack L2 Cross-AZ UDP Jumbo
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -140,10 +140,10 @@ UDP traffic and jumbo packets. The master and slave instances are in different
availability zones. The scenario is used to test throughput between `nova` and availability zones. The scenario is used to test throughput between `nova` and
`vcenter` zones. `vcenter` zones.
To use this scenario specify parameter ``--scenario networking/cross_az/udp_l2_mss8950``. To use this scenario specify parameter ``--scenario openstack/cross_az/udp_l2_mss8950``.
Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/cross_az/udp_l2_mss8950.yaml Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/cross_az/udp_l2_mss8950.yaml
.. _openstack_l3_east_west_cross_az_udp: .. _scenario_openstack_l3_east_west_cross_az_udp:
OpenStack L3 East-West Cross-AZ UDP OpenStack L3 East-West Cross-AZ UDP
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -154,10 +154,10 @@ east-west). The load is generated by UDP traffic. The master and slave
instances are in different availability zones. The scenario is used to test instances are in different availability zones. The scenario is used to test
throughput between `nova` and `vcenter` zones. throughput between `nova` and `vcenter` zones.
To use this scenario specify parameter ``--scenario networking/cross_az/udp_l3_east_west``. To use this scenario specify parameter ``--scenario openstack/cross_az/udp_l3_east_west``.
Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/cross_az/udp_l3_east_west.yaml Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/cross_az/udp_l3_east_west.yaml
.. _openstack_l2_dense: .. _scenario_openstack_l2_dense:
OpenStack L2 Dense OpenStack L2 Dense
^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^
@ -165,10 +165,10 @@ In this scenario Shaker launches several pairs of instances on a single compute
node. Instances are plugged into the same tenant network. The traffic goes node. Instances are plugged into the same tenant network. The traffic goes
within the tenant network (L2 domain). within the tenant network (L2 domain).
To use this scenario specify parameter ``--scenario networking/dense_l2``. To use this scenario specify parameter ``--scenario openstack/dense_l2``.
Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/dense_l2.yaml Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/dense_l2.yaml
.. _openstack_l3_east_west_dense: .. _scenario_openstack_l3_east_west_dense:
OpenStack L3 East-West Dense OpenStack L3 East-West Dense
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -176,10 +176,10 @@ In this scenario Shaker launches pairs of instances on the same compute node.
Instances are connected to different tenant networks connected to one router. Instances are connected to different tenant networks connected to one router.
The traffic goes from one network to the other (L3 east-west). The traffic goes from one network to the other (L3 east-west).
To use this scenario specify parameter ``--scenario networking/dense_l3_east_west``. To use this scenario specify parameter ``--scenario openstack/dense_l3_east_west``.
Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/dense_l3_east_west.yaml Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/dense_l3_east_west.yaml
.. _openstack_l3_north_south_dense: .. _scenario_openstack_l3_north_south_dense:
OpenStack L3 North-South Dense OpenStack L3 North-South Dense
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -188,10 +188,10 @@ Instances are connected to different tenant networks, each connected to own
router. Instances in one of networks have floating IPs. The traffic goes from router. Instances in one of networks have floating IPs. The traffic goes from
one network via external network to the other network. one network via external network to the other network.
To use this scenario specify parameter ``--scenario networking/dense_l3_north_south``. To use this scenario specify parameter ``--scenario openstack/dense_l3_north_south``.
Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/dense_l3_north_south.yaml Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/dense_l3_north_south.yaml
.. _openstack_l3_north_south_dense_to_external_target: .. _scenario_openstack_l3_north_south_dense_to_external_target:
OpenStack L3 North-South Dense to external target OpenStack L3 North-South Dense to external target
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -200,10 +200,10 @@ network connected to external network. The traffic is sent to and from external
host. The host name needs to be provided as command-line parameter, e.g. host. The host name needs to be provided as command-line parameter, e.g.
``--matrix "{host: 172.10.1.2}"``. ``--matrix "{host: 172.10.1.2}"``.
To use this scenario specify parameter ``--scenario networking/external/dense_l3_north_south_no_fip``. To use this scenario specify parameter ``--scenario openstack/external/dense_l3_north_south_no_fip``.
Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/external/dense_l3_north_south_no_fip.yaml Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/external/dense_l3_north_south_no_fip.yaml
.. _openstack_l3_north_south_dense_to_external_target_with_floating_ip: .. _scenario_openstack_l3_north_south_dense_to_external_target_with_floating_ip:
OpenStack L3 North-South Dense to external target with floating IP OpenStack L3 North-South Dense to external target with floating IP
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -212,10 +212,10 @@ network connected to external network. All instances have floating IPs. The
traffic is sent to and from external host. The host name needs to be provided traffic is sent to and from external host. The host name needs to be provided
as command-line parameter, e.g. ``--matrix "{host: 172.10.1.2}"``. as command-line parameter, e.g. ``--matrix "{host: 172.10.1.2}"``.
To use this scenario specify parameter ``--scenario networking/external/dense_l3_north_south_with_fip``. To use this scenario specify parameter ``--scenario openstack/external/dense_l3_north_south_with_fip``.
Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/external/dense_l3_north_south_with_fip.yaml Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/external/dense_l3_north_south_with_fip.yaml
.. _openstack_l3_north_south_to_external_target: .. _scenario_openstack_l3_north_south_to_external_target:
OpenStack L3 North-South to external target OpenStack L3 North-South to external target
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -225,10 +225,10 @@ available compute nodes are utilized. The traffic is sent to and from external
host (L3 north-south). The host name needs to be provided as command-line host (L3 north-south). The host name needs to be provided as command-line
parameter, e.g. ``--matrix "{host: 172.10.1.2}"``. parameter, e.g. ``--matrix "{host: 172.10.1.2}"``.
To use this scenario specify parameter ``--scenario networking/external/full_l3_north_south_no_fip``. To use this scenario specify parameter ``--scenario openstack/external/full_l3_north_south_no_fip``.
Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/external/full_l3_north_south_no_fip.yaml Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/external/full_l3_north_south_no_fip.yaml
.. _openstack_l3_north_south_to_external_target_with_floating_ip: .. _scenario_openstack_l3_north_south_to_external_target_with_floating_ip:
OpenStack L3 North-South to external target with floating IP OpenStack L3 North-South to external target with floating IP
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -239,10 +239,10 @@ traffic is sent to and from external host (L3 north-south). The host name needs
to be provided as command-line parameter, e.g. ``--matrix "{host: to be provided as command-line parameter, e.g. ``--matrix "{host:
172.10.1.2}"``. 172.10.1.2}"``.
To use this scenario specify parameter ``--scenario networking/external/full_l3_north_south_with_fip``. To use this scenario specify parameter ``--scenario openstack/external/full_l3_north_south_with_fip``.
Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/external/full_l3_north_south_with_fip.yaml Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/external/full_l3_north_south_with_fip.yaml
.. _openstack_l3_north_south_performance_to_external_target: .. _scenario_openstack_l3_north_south_performance_to_external_target:
OpenStack L3 North-South Performance to external target OpenStack L3 North-South Performance to external target
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -251,10 +251,10 @@ external network. The traffic is sent to and from external host. By default one
of public iperf3 servers is used, to override this the target host can be of public iperf3 servers is used, to override this the target host can be
provided as command-line parameter, e.g. ``--matrix "{host: 172.10.1.2}"``. provided as command-line parameter, e.g. ``--matrix "{host: 172.10.1.2}"``.
To use this scenario specify parameter ``--scenario networking/external/perf_l3_north_south_no_fip``. To use this scenario specify parameter ``--scenario openstack/external/perf_l3_north_south_no_fip``.
Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/external/perf_l3_north_south_no_fip.yaml Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/external/perf_l3_north_south_no_fip.yaml
.. _openstack_l3_north_south_performance_to_external_target_with_floating_ip: .. _scenario_openstack_l3_north_south_performance_to_external_target_with_floating_ip:
OpenStack L3 North-South performance to external target with floating IP OpenStack L3 North-South performance to external target with floating IP
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -264,10 +264,10 @@ external host. By default one of public iperf3 servers is used, to override
this the target host can be provided as command-line parameter, e.g. ``--matrix this the target host can be provided as command-line parameter, e.g. ``--matrix
"{host: 172.10.1.2}"``. "{host: 172.10.1.2}"``.
To use this scenario specify parameter ``--scenario networking/external/perf_l3_north_south_with_fip``. To use this scenario specify parameter ``--scenario openstack/external/perf_l3_north_south_with_fip``.
Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/external/perf_l3_north_south_with_fip.yaml Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/external/perf_l3_north_south_with_fip.yaml
.. _openstack_l2: .. _scenario_openstack_l2:
OpenStack L2 OpenStack L2
^^^^^^^^^^^^ ^^^^^^^^^^^^
@ -275,10 +275,10 @@ In this scenario Shaker launches pairs of instances in the same tenant network.
Every instance is hosted on a separate compute node, all available compute Every instance is hosted on a separate compute node, all available compute
nodes are utilized. The traffic goes within the tenant network (L2 domain). nodes are utilized. The traffic goes within the tenant network (L2 domain).
To use this scenario specify parameter ``--scenario networking/full_l2``. To use this scenario specify parameter ``--scenario openstack/full_l2``.
Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/full_l2.yaml Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/full_l2.yaml
.. _openstack_l3_east_west: .. _scenario_openstack_l3_east_west:
OpenStack L3 East-West OpenStack L3 East-West
^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^
@ -287,10 +287,10 @@ compute node. All available compute nodes are utilized. Instances are connected
to one of 2 tenant networks, which plugged into single router. The traffic goes to one of 2 tenant networks, which plugged into single router. The traffic goes
from one network to the other (L3 east-west). from one network to the other (L3 east-west).
To use this scenario specify parameter ``--scenario networking/full_l3_east_west``. To use this scenario specify parameter ``--scenario openstack/full_l3_east_west``.
Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/full_l3_east_west.yaml Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/full_l3_east_west.yaml
.. _openstack_l3_north_south: .. _scenario_openstack_l3_north_south:
OpenStack L3 North-South OpenStack L3 North-South
^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^
@ -299,10 +299,10 @@ All available compute nodes are utilized. Instances are in different networks
connected to different routers, master accesses slave by floating ip. The connected to different routers, master accesses slave by floating ip. The
traffic goes from one network via external network to the other network. traffic goes from one network via external network to the other network.
To use this scenario specify parameter ``--scenario networking/full_l3_north_south``. To use this scenario specify parameter ``--scenario openstack/full_l3_north_south``.
Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/full_l3_north_south.yaml Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/full_l3_north_south.yaml
.. _openstack_l2_performance: .. _scenario_openstack_l2_performance:
OpenStack L2 Performance OpenStack L2 Performance
^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^
@ -310,10 +310,10 @@ In this scenario Shaker launches 1 pair of instances in the same tenant
network. Each instance is hosted on a separate compute node. The traffic goes network. Each instance is hosted on a separate compute node. The traffic goes
within the tenant network (L2 domain). within the tenant network (L2 domain).
To use this scenario specify parameter ``--scenario networking/perf_l2``. To use this scenario specify parameter ``--scenario openstack/perf_l2``.
Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/perf_l2.yaml Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/perf_l2.yaml
.. _openstack_l3_east_west_performance: .. _scenario_openstack_l3_east_west_performance:
OpenStack L3 East-West Performance OpenStack L3 East-West Performance
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -322,10 +322,10 @@ compute node. Instances are connected to one of 2 tenant networks, which
plugged into single router. The traffic goes from one network to the other (L3 plugged into single router. The traffic goes from one network to the other (L3
east-west). east-west).
To use this scenario specify parameter ``--scenario networking/perf_l3_east_west``. To use this scenario specify parameter ``--scenario openstack/perf_l3_east_west``.
Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/perf_l3_east_west.yaml Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/perf_l3_east_west.yaml
.. _openstack_l3_north_south_performance: .. _scenario_openstack_l3_north_south_performance:
OpenStack L3 North-South Performance OpenStack L3 North-South Performance
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -334,10 +334,10 @@ nodes. Instances are in different networks connected to different routers,
master accesses slave by floating ip. The traffic goes from one network via master accesses slave by floating ip. The traffic goes from one network via
external network to the other network. external network to the other network.
To use this scenario specify parameter ``--scenario networking/perf_l3_north_south``. To use this scenario specify parameter ``--scenario openstack/perf_l3_north_south``.
Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/perf_l3_north_south.yaml Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/perf_l3_north_south.yaml
.. _openstack_l2_udp: .. _scenario_openstack_l2_udp:
OpenStack L2 UDP OpenStack L2 UDP
^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
@ -345,10 +345,10 @@ In this scenario Shaker launches pairs of instances in the same tenant network.
Every instance is hosted on a separate compute node. The traffic goes within Every instance is hosted on a separate compute node. The traffic goes within
the tenant network (L2 domain). The load is generated by UDP traffic. the tenant network (L2 domain). The load is generated by UDP traffic.
To use this scenario specify parameter ``--scenario networking/udp_l2``. To use this scenario specify parameter ``--scenario openstack/udp_l2``.
Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/udp_l2.yaml Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/udp_l2.yaml
.. _openstack_l3_east_west_udp: .. _scenario_openstack_l3_east_west_udp:
OpenStack L3 East-West UDP OpenStack L3 East-West UDP
^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -357,10 +357,10 @@ compute node. Instances are connected to one of 2 tenant networks, which
plugged into single router. The traffic goes from one network to the other (L3 plugged into single router. The traffic goes from one network to the other (L3
east-west). The load is generated by UDP traffic. east-west). The load is generated by UDP traffic.
To use this scenario specify parameter ``--scenario networking/udp_l3_east_west``. To use this scenario specify parameter ``--scenario openstack/udp_l3_east_west``.
Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/udp_l3_east_west.yaml Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/udp_l3_east_west.yaml
.. _openstack_l3_north_south_udp: .. _scenario_openstack_l3_north_south_udp:
OpenStack L3 North-South UDP OpenStack L3 North-South UDP
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -369,10 +369,10 @@ Instances are in different networks connected to different routers, master
accesses slave by floating ip. The traffic goes from one network via external accesses slave by floating ip. The traffic goes from one network via external
network to the other network. The load is generated by UDP traffic. network to the other network. The load is generated by UDP traffic.
To use this scenario specify parameter ``--scenario networking/udp_l3_north_south``. To use this scenario specify parameter ``--scenario openstack/udp_l3_north_south``.
Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/udp_l3_north_south.yaml Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/udp_l3_north_south.yaml
.. _tcp_bandwidth: .. _scenario_tcp_bandwidth:
TCP bandwidth TCP bandwidth
^^^^^^^^^^^^^ ^^^^^^^^^^^^^
@ -385,7 +385,7 @@ destination host can be overriden by command-line parameter, e.g. ``--matrix
To use this scenario specify parameter ``--scenario spot/tcp``. To use this scenario specify parameter ``--scenario spot/tcp``.
Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/spot/tcp.yaml Scenario source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/spot/tcp.yaml
.. _udp_bandwidth: .. _scenario_udp_bandwidth:
UDP bandwidth UDP bandwidth
^^^^^^^^^^^^^ ^^^^^^^^^^^^^
@ -400,7 +400,7 @@ Scenario source is available at: https://github.com/openstack/shaker/blob/master
Heat Templates Heat Templates
-------------- --------------
.. _misc_instance_metadata: .. _template_misc_instance_metadata:
misc/instance_metadata misc/instance_metadata
^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^
@ -408,72 +408,81 @@ Heat template creates a new Neutron network, a router to the external network,
plugs instances into this network and assigns floating ips plugs instances into this network and assigns floating ips
Template source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/misc/instance_metadata.hot Template source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/misc/instance_metadata.hot
.. _networking_cross_az_l2:
networking/cross_az/l2 .. _template_openstack_cross_az_l2:
^^^^^^^^^^^^^^^^^^^^^^
openstack/cross_az/l2
^^^^^^^^^^^^^^^^^^^^^
This Heat template creates a new Neutron network, a router to the external This Heat template creates a new Neutron network, a router to the external
network and plugs instances into this new network. All instances are located in network and plugs instances into this new network. All instances are located in
the same L2 domain. the same L2 domain.
Template source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/cross_az/l2.hot Template source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/cross_az/l2.hot
.. _networking_cross_az_l3_east_west:
networking/cross_az/l3_east_west .. _template_openstack_cross_az_l3_east_west:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
openstack/cross_az/l3_east_west
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This Heat template creates a pair of networks plugged into the same router. This Heat template creates a pair of networks plugged into the same router.
Master instances and slave instances are connected into different networks. Master instances and slave instances are connected into different networks.
Template source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/cross_az/l3_east_west.hot Template source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/cross_az/l3_east_west.hot
.. _networking_cross_az_l3_north_south:
networking/cross_az/l3_north_south .. _template_openstack_cross_az_l3_north_south:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
openstack/cross_az/l3_north_south
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This Heat template creates a new Neutron network plus a north_router to the This Heat template creates a new Neutron network plus a north_router to the
external network. The template also assigns floating IP addresses to each external network. The template also assigns floating IP addresses to each
instance so they are routable from the external network. instance so they are routable from the external network.
Template source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/cross_az/l3_north_south.hot Template source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/cross_az/l3_north_south.hot
.. _networking_external_l3_north_south_no_fip:
networking/external/l3_north_south_no_fip .. _template_openstack_external_l3_north_south_no_fip:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
openstack/external/l3_north_south_no_fip
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This Heat template creates a new Neutron network plugged into a router This Heat template creates a new Neutron network plugged into a router
connected to the external network, and boots an instance in that network. connected to the external network, and boots an instance in that network.
Template source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/external/l3_north_south_no_fip.hot Template source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/external/l3_north_south_no_fip.hot
.. _networking_external_l3_north_south_with_fip:
networking/external/l3_north_south_with_fip .. _template_openstack_external_l3_north_south_with_fip:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
openstack/external/l3_north_south_with_fip
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This Heat template creates a new Neutron network plugged into a router This Heat template creates a new Neutron network plugged into a router
connected to the external network, and boots an instance in that network. The connected to the external network, and boots an instance in that network. The
instance has floating IP. instance has floating IP.
Template source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/external/l3_north_south_with_fip.hot Template source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/external/l3_north_south_with_fip.hot
.. _networking_l2:
networking/l2 .. _template_openstack_l2:
^^^^^^^^^^^^^
openstack/l2
^^^^^^^^^^^^
This Heat template creates a new Neutron network, a router to the external This Heat template creates a new Neutron network, a router to the external
network and plugs instances into this new network. All instances are located in network and plugs instances into this new network. All instances are located in
the same L2 domain. the same L2 domain.
Template source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/l2.hot Template source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/l2.hot
.. _networking_l3_east_west:
networking/l3_east_west .. _template_openstack_l3_east_west:
^^^^^^^^^^^^^^^^^^^^^^^
openstack/l3_east_west
^^^^^^^^^^^^^^^^^^^^^^
This Heat template creates a pair of networks plugged into the same router. This Heat template creates a pair of networks plugged into the same router.
Master instances and slave instances are connected into different networks. Master instances and slave instances are connected into different networks.
Template source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/l3_east_west.hot Template source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/l3_east_west.hot
.. _networking_l3_north_south:
networking/l3_north_south .. _template_openstack_l3_north_south:
^^^^^^^^^^^^^^^^^^^^^^^^^
openstack/l3_north_south
^^^^^^^^^^^^^^^^^^^^^^^^
This Heat template creates a new Neutron network plus a north_router to the This Heat template creates a new Neutron network plus a north_router to the
external network. The template also assigns floating IP addresses to each external network. The template also assigns floating IP addresses to each
instance so they are routable from the external network. instance so they are routable from the external network.
Template source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/networking/l3_north_south.hot Template source is available at: https://github.com/openstack/shaker/blob/master/shaker/scenarios/openstack/l3_north_south.hot

View File

@ -11,12 +11,12 @@ How To Run
^^^^^^^^^^ ^^^^^^^^^^
.. code:: .. code::
shaker --server-endpoint <host:port> --scenario networking/full_l2 --report <full_l2.html> shaker --server-endpoint <host:port> --scenario openstack/full_l2 --report <full_l2.html>
Scenario Scenario
^^^^^^^^ ^^^^^^^^
.. literalinclude:: ../../../shaker/scenarios/networking/full_l2.yaml .. literalinclude:: ../../../shaker/scenarios/openstack/full_l2.yaml
Report Report
^^^^^^ ^^^^^^

View File

@ -11,12 +11,12 @@ How To Run
^^^^^^^^^^ ^^^^^^^^^^
.. code:: .. code::
shaker --server-endpoint <host:port> --scenario networking/full_l3_east_west --report <full_l3_east_west.html> shaker --server-endpoint <host:port> --scenario openstack/full_l3_east_west --report <full_l3_east_west.html>
Scenario Scenario
^^^^^^^^ ^^^^^^^^
.. literalinclude:: ../../../shaker/scenarios/networking/full_l3_east_west.yaml .. literalinclude:: ../../../shaker/scenarios/openstack/full_l3_east_west.yaml
Report Report
^^^^^^ ^^^^^^

View File

@ -17,7 +17,7 @@ How To Run
Scenario Scenario
^^^^^^^^ ^^^^^^^^
.. literalinclude:: ../../../shaker/scenarios/networking/full_l3_north_south.yaml .. literalinclude:: ../../../shaker/scenarios/openstack/full_l3_north_south.yaml
Report Report
^^^^^^ ^^^^^^

View File

@ -33,7 +33,7 @@ degradation when the number of VMs grows.
- class: flent - class: flent
method: tcp_bidirectional method: tcp_bidirectional
title: Bi-directional title: Bi-directional
file_name: /home/ishakhat/Work/shaker/shaker/scenarios/networking/dense_l2.yaml file_name: /home/ishakhat/Work/shaker/shaker/scenarios/openstack/dense_l2.yaml
title: OpenStack L2 Dense title: OpenStack L2 Dense
Bi-directional Bi-directional

View File

@ -31,7 +31,7 @@ router (L3 east-west)
- class: flent - class: flent
method: tcp_bidirectional method: tcp_bidirectional
title: Bi-directional title: Bi-directional
file_name: /home/ishakhat/Work/shaker/shaker/scenarios/networking/dense_l3_east_west.yaml file_name: /home/ishakhat/Work/shaker/shaker/scenarios/openstack/dense_l3_east_west.yaml
title: OpenStack L3 East-West Dense title: OpenStack L3 East-West Dense
Bi-directional Bi-directional

View File

@ -29,7 +29,7 @@ hosted on a separate compute node.
- class: flent - class: flent
method: tcp_bidirectional method: tcp_bidirectional
title: Bi-directional title: Bi-directional
file_name: /home/ishakhat/Work/shaker/shaker/scenarios/networking/full_l2.yaml file_name: /home/ishakhat/Work/shaker/shaker/scenarios/openstack/full_l2.yaml
title: OpenStack L2 title: OpenStack L2
Bi-directional Bi-directional

View File

@ -29,7 +29,7 @@ router (L3 east-west)
- class: flent - class: flent
method: tcp_bidirectional method: tcp_bidirectional
title: Bi-directional title: Bi-directional
file_name: /home/ishakhat/Work/shaker/shaker/scenarios/networking/full_l3_east_west.yaml file_name: /home/ishakhat/Work/shaker/shaker/scenarios/openstack/full_l3_east_west.yaml
title: OpenStack L3 East-West title: OpenStack L3 East-West
Bi-directional Bi-directional

View File

@ -31,7 +31,7 @@ floating ip
- class: flent - class: flent
method: tcp_bidirectional method: tcp_bidirectional
title: Bi-directional title: Bi-directional
file_name: /home/ishakhat/Work/shaker/shaker/scenarios/networking/full_l3_north_south.yaml file_name: /home/ishakhat/Work/shaker/shaker/scenarios/openstack/full_l3_north_south.yaml
title: OpenStack L3 North-South title: OpenStack L3 North-South
Bi-directional Bi-directional

View File

@ -38,7 +38,7 @@ compute nodes.
- '[type == ''agent''] >> (stats.packets.avg > 100000)' - '[type == ''agent''] >> (stats.packets.avg > 100000)'
title: UDP title: UDP
udp: true udp: true
file_name: /home/ishakhat/Work/shaker/shaker/scenarios/networking/perf_l2.yaml file_name: /home/ishakhat/Work/shaker/shaker/scenarios/openstack/perf_l2.yaml
title: OpenStack L2 Performance title: OpenStack L2 Performance
Ping Ping

View File

@ -38,7 +38,7 @@ router (L3 east-west). VMs are hosted on different compute nodes
- '[type == ''agent''] >> (stats.packets.avg > 100000)' - '[type == ''agent''] >> (stats.packets.avg > 100000)'
title: UDP title: UDP
udp: true udp: true
file_name: /home/ishakhat/Work/shaker/shaker/scenarios/networking/perf_l3_east_west.yaml file_name: /home/ishakhat/Work/shaker/shaker/scenarios/openstack/perf_l3_east_west.yaml
title: OpenStack L3 East-West Performance title: OpenStack L3 East-West Performance
Ping Ping

View File

@ -40,7 +40,7 @@ floating ip
- '[type == ''agent''] >> (stats.packets.avg > 100000)' - '[type == ''agent''] >> (stats.packets.avg > 100000)'
title: UDP title: UDP
udp: true udp: true
file_name: /home/ishakhat/Work/shaker/shaker/scenarios/networking/perf_l3_north_south.yaml file_name: /home/ishakhat/Work/shaker/shaker/scenarios/openstack/perf_l3_north_south.yaml
title: OpenStack L3 North-South Performance title: OpenStack L3 North-South Performance
Ping Ping

View File

@ -69,30 +69,29 @@ optional arguments:
--scenario SCENARIO Scenario to play. Can be a file name or one of --scenario SCENARIO Scenario to play. Can be a file name or one of
aliases: "misc/instance_metadata", aliases: "misc/instance_metadata",
"misc/static_agent", "misc/static_agents_pair", "misc/static_agent", "misc/static_agents_pair",
"networking/cross_az/full_l2", "openstack/cross_az/full_l2",
"networking/cross_az/full_l3_east_west", "openstack/cross_az/full_l3_east_west",
"networking/cross_az/full_l3_north_south", "openstack/cross_az/full_l3_north_south",
"networking/cross_az/perf_l2", "openstack/cross_az/perf_l2",
"networking/cross_az/perf_l3_east_west", "openstack/cross_az/perf_l3_east_west",
"networking/cross_az/perf_l3_north_south", "openstack/cross_az/perf_l3_north_south",
"networking/cross_az/udp_l2", "openstack/cross_az/udp_l2",
"networking/cross_az/udp_l2_mss8950", "openstack/cross_az/udp_l2_mss8950",
"networking/cross_az/udp_l3_east_west", "openstack/cross_az/udp_l3_east_west",
"networking/dense_l2", "openstack/dense_l2", "openstack/dense_l3_east_west",
"networking/dense_l3_east_west", "openstack/dense_l3_north_south",
"networking/dense_l3_north_south", "openstack/external/dense_l3_north_south_no_fip",
"networking/external/dense_l3_north_south_no_fip", "openstack/external/dense_l3_north_south_with_fip",
"networking/external/dense_l3_north_south_with_fip", "openstack/external/full_l3_north_south_no_fip",
"networking/external/full_l3_north_south_no_fip", "openstack/external/full_l3_north_south_with_fip",
"networking/external/full_l3_north_south_with_fip", "openstack/external/perf_l3_north_south_no_fip",
"networking/external/perf_l3_north_south_no_fip", "openstack/external/perf_l3_north_south_with_fip",
"networking/external/perf_l3_north_south_with_fip", "openstack/full_l2", "openstack/full_l3_east_west",
"networking/full_l2", "networking/full_l3_east_west", "openstack/full_l3_north_south", "openstack/perf_l2",
"networking/full_l3_north_south", "openstack/perf_l3_east_west",
"networking/perf_l2", "networking/perf_l3_east_west", "openstack/perf_l3_north_south", "openstack/udp_l2",
"networking/perf_l3_north_south", "networking/udp_l2", "openstack/udp_l3_east_west",
"networking/udp_l3_east_west", "openstack/udp_l3_north_south", "spot/tcp",
"networking/udp_l3_north_south", "spot/tcp",
"spot/udp". Defaults to env[SHAKER_SCENARIO]. "spot/udp". Defaults to env[SHAKER_SCENARIO].
--subunit SUBUNIT Subunit stream file name, defaults to --subunit SUBUNIT Subunit stream file name, defaults to
env[SHAKER_SUBUNIT]. env[SHAKER_SUBUNIT].

View File

@ -119,30 +119,29 @@ optional arguments:
--scenario SCENARIO Scenario to play. Can be a file name or one of --scenario SCENARIO Scenario to play. Can be a file name or one of
aliases: "misc/instance_metadata", aliases: "misc/instance_metadata",
"misc/static_agent", "misc/static_agents_pair", "misc/static_agent", "misc/static_agents_pair",
"networking/cross_az/full_l2", "openstack/cross_az/full_l2",
"networking/cross_az/full_l3_east_west", "openstack/cross_az/full_l3_east_west",
"networking/cross_az/full_l3_north_south", "openstack/cross_az/full_l3_north_south",
"networking/cross_az/perf_l2", "openstack/cross_az/perf_l2",
"networking/cross_az/perf_l3_east_west", "openstack/cross_az/perf_l3_east_west",
"networking/cross_az/perf_l3_north_south", "openstack/cross_az/perf_l3_north_south",
"networking/cross_az/udp_l2", "openstack/cross_az/udp_l2",
"networking/cross_az/udp_l2_mss8950", "openstack/cross_az/udp_l2_mss8950",
"networking/cross_az/udp_l3_east_west", "openstack/cross_az/udp_l3_east_west",
"networking/dense_l2", "openstack/dense_l2", "openstack/dense_l3_east_west",
"networking/dense_l3_east_west", "openstack/dense_l3_north_south",
"networking/dense_l3_north_south", "openstack/external/dense_l3_north_south_no_fip",
"networking/external/dense_l3_north_south_no_fip", "openstack/external/dense_l3_north_south_with_fip",
"networking/external/dense_l3_north_south_with_fip", "openstack/external/full_l3_north_south_no_fip",
"networking/external/full_l3_north_south_no_fip", "openstack/external/full_l3_north_south_with_fip",
"networking/external/full_l3_north_south_with_fip", "openstack/external/perf_l3_north_south_no_fip",
"networking/external/perf_l3_north_south_no_fip", "openstack/external/perf_l3_north_south_with_fip",
"networking/external/perf_l3_north_south_with_fip", "openstack/full_l2", "openstack/full_l3_east_west",
"networking/full_l2", "networking/full_l3_east_west", "openstack/full_l3_north_south", "openstack/perf_l2",
"networking/full_l3_north_south", "openstack/perf_l3_east_west",
"networking/perf_l2", "networking/perf_l3_east_west", "openstack/perf_l3_north_south", "openstack/udp_l2",
"networking/perf_l3_north_south", "networking/udp_l2", "openstack/udp_l3_east_west",
"networking/udp_l3_east_west", "openstack/udp_l3_north_south", "spot/tcp",
"networking/udp_l3_north_south", "spot/tcp",
"spot/udp". Defaults to env[SHAKER_SCENARIO]. "spot/udp". Defaults to env[SHAKER_SCENARIO].
--server-endpoint SERVER_ENDPOINT --server-endpoint SERVER_ENDPOINT
Address for server connections (host:port), defaults Address for server connections (host:port), defaults

View File

@ -21,25 +21,25 @@ Common Parameters
The following parameters are applicable for both OpenStack mode (`shaker`) and spot mode (`shaker-spot`). The following parameters are applicable for both OpenStack mode (`shaker`) and spot mode (`shaker-spot`).
1. Run the scenario with defaults and generate interactive report into file `report.html`:: 1. Run the scenario with defaults and generate interactive report into file `report.html`:
.. code:: .. code::
shaker --scenario <scenario> --report report.html shaker --scenario <scenario> --report report.html
2. Run the scenario and store raw result:: 2. Run the scenario and store raw result:
.. code:: .. code::
shaker --scenario <scenario> --output output.json shaker --scenario <scenario> --output output.json
3. Run the scenario and store SLA verification results in `subunit <https://launchpad.net/subunit>`_ stream file:: 3. Run the scenario and store SLA verification results in `subunit <https://launchpad.net/subunit>`_ stream file:
.. code:: .. code::
shaker --scenario <scenario> --subunit report.subunit shaker --scenario <scenario> --subunit report.subunit
4. Generate report from the raw data:: 4. Generate report from the raw data:
.. code:: .. code::

View File

@ -148,23 +148,23 @@
# Scenario to play. Can be a file name or one of aliases: # Scenario to play. Can be a file name or one of aliases:
# "misc/instance_metadata", "misc/static_agent", "misc/static_agents_pair", # "misc/instance_metadata", "misc/static_agent", "misc/static_agents_pair",
# "networking/cross_az/full_l2", "networking/cross_az/full_l3_east_west", # "openstack/cross_az/full_l2", "openstack/cross_az/full_l3_east_west",
# "networking/cross_az/full_l3_north_south", "networking/cross_az/perf_l2", # "openstack/cross_az/full_l3_north_south", "openstack/cross_az/perf_l2",
# "networking/cross_az/perf_l3_east_west", # "openstack/cross_az/perf_l3_east_west",
# "networking/cross_az/perf_l3_north_south", "networking/cross_az/udp_l2", # "openstack/cross_az/perf_l3_north_south", "openstack/cross_az/udp_l2",
# "networking/cross_az/udp_l2_mss8950", "networking/cross_az/udp_l3_east_west", # "openstack/cross_az/udp_l2_mss8950", "openstack/cross_az/udp_l3_east_west",
# "networking/dense_l2", "networking/dense_l3_east_west", # "openstack/dense_l2", "openstack/dense_l3_east_west",
# "networking/dense_l3_north_south", # "openstack/dense_l3_north_south",
# "networking/external/dense_l3_north_south_no_fip", # "openstack/external/dense_l3_north_south_no_fip",
# "networking/external/dense_l3_north_south_with_fip", # "openstack/external/dense_l3_north_south_with_fip",
# "networking/external/full_l3_north_south_no_fip", # "openstack/external/full_l3_north_south_no_fip",
# "networking/external/full_l3_north_south_with_fip", # "openstack/external/full_l3_north_south_with_fip",
# "networking/external/perf_l3_north_south_no_fip", # "openstack/external/perf_l3_north_south_no_fip",
# "networking/external/perf_l3_north_south_with_fip", "networking/full_l2", # "openstack/external/perf_l3_north_south_with_fip", "openstack/full_l2",
# "networking/full_l3_east_west", "networking/full_l3_north_south", # "openstack/full_l3_east_west", "openstack/full_l3_north_south",
# "networking/perf_l2", "networking/perf_l3_east_west", # "openstack/perf_l2", "openstack/perf_l3_east_west",
# "networking/perf_l3_north_south", "networking/udp_l2", # "openstack/perf_l3_north_south", "openstack/udp_l2",
# "networking/udp_l3_east_west", "networking/udp_l3_north_south", "spot/tcp", # "openstack/udp_l3_east_west", "openstack/udp_l3_north_south", "spot/tcp",
# "spot/udp". Defaults to env[SHAKER_SCENARIO]. (string value) # "spot/udp". Defaults to env[SHAKER_SCENARIO]. (string value)
#scenario = <None> #scenario = <None>

View File

@ -217,7 +217,12 @@ def act():
for scenario_param in [cfg.CONF.scenario]: for scenario_param in [cfg.CONF.scenario]:
LOG.debug('Processing scenario: %s', scenario_param) LOG.debug('Processing scenario: %s', scenario_param)
alias = '%s%s.yaml' % (config.SCENARIOS, scenario_param) alias_base = scenario_param
if alias_base[:11] == 'networking/': # backward compatibility
LOG.warning('Scenarios from networking/ are moved to openstack/')
alias_base = 'openstack/' + alias_base[11:]
alias = '%s%s.yaml' % (config.SCENARIOS, alias_base)
packaged = utils.resolve_relative_path(alias) packaged = utils.resolve_relative_path(alias)
# use packaged scenario or fallback to full path # use packaged scenario or fallback to full path
scenario_file_name = packaged or scenario_param scenario_file_name = packaged or scenario_param

View File

@ -14,7 +14,6 @@
# limitations under the License. # limitations under the License.
from __future__ import print_function from __future__ import print_function
import functools
import re import re
import os import os
import sys import sys
@ -73,7 +72,7 @@ def make(src, dest):
print('', file=out) print('', file=out)
for info in scenarios: for info in scenarios:
print_info(out, info) print_info(out, info, prefix='scenario')
print('To use this scenario specify parameter ``--scenario %s``.\n' print('To use this scenario specify parameter ``--scenario %s``.\n'
'Scenario source is available at: ' 'Scenario source is available at: '
'https://github.com/openstack/shaker/blob/master/%s' % 'https://github.com/openstack/shaker/blob/master/%s' %
@ -85,15 +84,16 @@ def make(src, dest):
print('', file=out) print('', file=out)
for info in templates: for info in templates:
print_info(out, info) print_info(out, info, prefix='template')
print('Template source is available at: ' print('Template source is available at: '
'https://github.com/openstack/shaker/blob/master/%s' % 'https://github.com/openstack/shaker/blob/master/%s' %
info['path'], file=out) info['path'], file=out)
print('', file=out)
def print_info(out, info): def print_info(out, info, prefix):
block_id = re.sub(r'[^\w\d]+', '_', info['title']).lower() block_id = re.sub(r'[^\w\d]+', '_', info['title']).lower()
print('.. _%s:\n' % block_id, file=out) print('.. _%s_%s:\n' % (prefix, block_id), file=out)
print(info['title'], file=out) print(info['title'], file=out)
print('^' * len(info['title']), file=out) print('^' * len(info['title']), file=out)
print('\n'.join(textwrap.wrap(info['description'], width=79)), file=out) print('\n'.join(textwrap.wrap(info['description'], width=79)), file=out)