From 35d89fad1b3ddef1f044e6e25f8e4e768fbbc01d Mon Sep 17 00:00:00 2001 From: Juha Kosonen Date: Mon, 17 Dec 2018 16:27:45 +0200 Subject: [PATCH] rally-jobs: Set floating network as a parameter The option to define the name of floating network enables more flexibility for using the task file as is. Change-Id: Icaf9ca6b337a500d3f76521f94244f1932d0e09b Signed-off-by: Juha Kosonen --- rally-jobs/task-neutron.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rally-jobs/task-neutron.yaml b/rally-jobs/task-neutron.yaml index e64a52ec0a9..cafcdb576c2 100644 --- a/rally-jobs/task-neutron.yaml +++ b/rally-jobs/task-neutron.yaml @@ -1,3 +1,5 @@ +{% set floating_network = floating_network or "public" %} + --- version: 2 title: Rally Task for OpenStack Neutron CI @@ -306,7 +308,7 @@ - scenario: NeutronNetworks.create_and_delete_floating_ips: - floating_network: "public" + floating_network: {{ floating_network }} floating_ip_args: {} runner: constant: @@ -322,7 +324,7 @@ - scenario: NeutronNetworks.create_and_list_floating_ips: - floating_network: "public" + floating_network: {{ floating_network }} floating_ip_args: {} runner: constant: