Fix funtional gate: specify missing network_driver

Change-Id: I8c03c26b489533ca2798aa3307fdcb227eb06fa9
Closes-Bug: #1498617
This commit is contained in:
Hongbin Lu 2015-09-22 14:35:28 -04:00
parent 76dacd8419
commit dbd6a8d1d2

View File

@ -94,7 +94,8 @@ def random_baymodel_data(keypair_id=random_string(), image_id=random_string()):
"coe": generate_random_coe(),
"http_proxy": "http://proxy.com:%s" % generate_random_port(),
"https_proxy": "https://proxy.com:%s" % generate_random_port(),
"no_proxy": ",".join(generate_random_ip() for x in range(3))
"no_proxy": ",".join(generate_random_ip() for x in range(3)),
"network_driver": "flannel",
}
model = baymodel_model.BayModelEntity.from_dict(data)