netcreate-boot: Create an optional enable_dhcp argument
The argument is used when creating subnet to enabled DHCP. Change-Id: I690ae3029c762a1f94e94ee8bb1b06c589b90657
This commit is contained in:
parent
1d8f900c4f
commit
cad6e67aed
@ -234,6 +234,7 @@ rally:
|
|||||||
scenarios:
|
scenarios:
|
||||||
- name: netcreate-boot
|
- name: netcreate-boot
|
||||||
enabled: true
|
enabled: true
|
||||||
|
enable_dhcp: true
|
||||||
image_name: cirros
|
image_name: cirros
|
||||||
flavor_name: m1.tiny
|
flavor_name: m1.tiny
|
||||||
file: rally/rally-plugins/netcreate-boot/netcreate_boot.yml
|
file: rally/rally-plugins/netcreate-boot/netcreate_boot.yml
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
{% set sla_max_failure = sla_max_failure or 0 %}
|
{% set sla_max_failure = sla_max_failure or 0 %}
|
||||||
{% set sla_max_seconds = sla_max_seconds or 60 %}
|
{% set sla_max_seconds = sla_max_seconds or 60 %}
|
||||||
{% set num_networks = num_networks or 1 %}
|
{% set num_networks = num_networks or 1 %}
|
||||||
|
{% set enable_dhcp = enable_dhcp or true %}
|
||||||
---
|
---
|
||||||
BrowbeatPlugin.create_network_nova_boot:
|
BrowbeatPlugin.create_network_nova_boot:
|
||||||
-
|
-
|
||||||
@ -11,6 +12,7 @@ BrowbeatPlugin.create_network_nova_boot:
|
|||||||
image:
|
image:
|
||||||
name: '{{image_name}}'
|
name: '{{image_name}}'
|
||||||
network_create_args: {}
|
network_create_args: {}
|
||||||
|
subnet_create_args: {'enable_dhcp': '{{enable_dhcp}}'}
|
||||||
num_networks: {{num_networks}}
|
num_networks: {{num_networks}}
|
||||||
runner:
|
runner:
|
||||||
concurrency: {{concurrency}}
|
concurrency: {{concurrency}}
|
||||||
|
Loading…
Reference in New Issue
Block a user