From e2948455412d6cd4f0e73a616367dda2fbb57157 Mon Sep 17 00:00:00 2001 From: Bence Romsics Date: Wed, 28 Nov 2018 11:24:48 +0100 Subject: [PATCH] rally-jobs: Add FloatingIP workloads As discussed on the neutron-performance meeting [1] floating IP operations should be covered in the neutron gate rally job. As I set out to write the missing tests I discovered that some of it was already written by rally folks. For example see [2]. In neutron we only need to add them to the rally job definition. Keep in mind the test code has been relocated since to the rally-openstack repository. For example see [3]. [1] http://eavesdrop.openstack.org/meetings/neutron_performance/2018/neutron_performance.2018-10-22-16.02.log.html#l-143 [2] https://review.openstack.org/225223 [3] https://github.com/openstack/rally-openstack/blob/4e4bfc5/rally_openstack/scenarios/neutron/network.py Change-Id: Icec7011cb293f1c92d968ef60efe7468ea4631fb --- rally-jobs/task-neutron.yaml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/rally-jobs/task-neutron.yaml b/rally-jobs/task-neutron.yaml index f9d0c2cd8b0..e64a52ec0a9 100644 --- a/rally-jobs/task-neutron.yaml +++ b/rally-jobs/task-neutron.yaml @@ -300,3 +300,38 @@ neutron: network: -1 port: 1000 + - + title: Floating IP related workloads + workloads: + - + scenario: + NeutronNetworks.create_and_delete_floating_ips: + floating_network: "public" + floating_ip_args: {} + runner: + constant: + times: 10 + concurrency: 5 + contexts: + users: + tenants: 2 + users_per_tenant: 3 + quotas: + neutron: + floatingip: -1 + - + scenario: + NeutronNetworks.create_and_list_floating_ips: + floating_network: "public" + floating_ip_args: {} + runner: + constant: + times: 10 + concurrency: 5 + contexts: + users: + tenants: 2 + users_per_tenant: 3 + quotas: + neutron: + floatingip: -1