diff --git a/browbeat-config.yaml b/browbeat-config.yaml index 450bd0ced..02c43b7c8 100644 --- a/browbeat-config.yaml +++ b/browbeat-config.yaml @@ -234,6 +234,7 @@ rally: scenarios: - name: netcreate-boot enabled: true + enable_dhcp: true image_name: cirros flavor_name: m1.tiny file: rally/rally-plugins/netcreate-boot/netcreate_boot.yml diff --git a/rally/rally-plugins/netcreate-boot/netcreate_boot.yml b/rally/rally-plugins/netcreate-boot/netcreate_boot.yml index a63dce93e..81cb9ee5e 100644 --- a/rally/rally-plugins/netcreate-boot/netcreate_boot.yml +++ b/rally/rally-plugins/netcreate-boot/netcreate_boot.yml @@ -2,6 +2,7 @@ {% set sla_max_failure = sla_max_failure or 0 %} {% set sla_max_seconds = sla_max_seconds or 60 %} {% set num_networks = num_networks or 1 %} +{% set enable_dhcp = enable_dhcp or true %} --- BrowbeatPlugin.create_network_nova_boot: - @@ -11,6 +12,7 @@ BrowbeatPlugin.create_network_nova_boot: image: name: '{{image_name}}' network_create_args: {} + subnet_create_args: {'enable_dhcp': '{{enable_dhcp}}'} num_networks: {{num_networks}} runner: concurrency: {{concurrency}}