rally-openstack/samples/tasks/scenarios/neutron/set-and-clear-router-gateway.yaml
maxinjian 49b1da71b3 Add NeutronNetworks.set_and_clear_router_gateway
Set and Remove the external network gateway from a router.

create an external network and a router, set external network
gateway for the router, remove the external network gateway from
the router.

Change-Id: Ifcd4bfd8500a9d1c5d8c03dd1a0d711873698f55
2017-04-06 14:36:10 -04:00

26 lines
509 B
YAML

---
NeutronNetworks.set_and_clear_router_gateway:
-
args:
network_create_args:
router:external: True
router_create_args: {}
runner:
type: "constant"
times: 4
concurrency: 2
context:
network: {}
users:
tenants: 2
users_per_tenant: 2
quotas:
neutron:
network: -1
router: -1
roles:
- "admin"
sla:
failure_rate:
max: 0