Add master_flavor_id to baymodel data funtion test

Previously when testing function baymodel, The baymodel
data don't add master_flavor_id data to test

The patch adds the master_flavor_id to baymodel data
funtion test
Change-Id: Ib31f9d9f2214a44fbd620097b7de5ce3ce8a0402
This commit is contained in:
wangqun 2016-02-20 12:33:03 +00:00
parent 2c80ebe76c
commit 3a332a59e3

View File

@ -109,6 +109,7 @@ def baymodel_data(**kwargs):
"fixed_network": "192.168.0.0/24", "fixed_network": "192.168.0.0/24",
"dns_nameserver": "8.8.8.8", "dns_nameserver": "8.8.8.8",
"flavor_id": data_utils.rand_name('bay'), "flavor_id": data_utils.rand_name('bay'),
"master_flavor_id": data_utils.rand_name('bay'),
"external_network_id": str(data_utils.rand_uuid()), "external_network_id": str(data_utils.rand_uuid()),
"keypair_id": data_utils.rand_name('bay'), "keypair_id": data_utils.rand_name('bay'),
"image_id": data_utils.rand_name('bay') "image_id": data_utils.rand_name('bay')