Commit e8f91730 authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis Committed by Christos Stavrakakis

burnin: Rename 'project' parameter to 'project_id'

Kamaki's 'create_server' and 'create_network' functions accept a
'project_id' parameter, not a 'project' one. Fix burnin to use the
correct parameter names.

closes grnet/synnefo#137
parent 53b99fa8
......@@ -140,7 +140,7 @@ class CycladesTests(BurninTests):
server = self.clients.cyclades.create_server(
servername, flavor['id'], image['id'],
personality=personality, networks=networks,
project=project_id)
project_id=project_id)
self.info("Server id: %s", server['id'])
self.info("Server password: %s", server['adminPass'])
......@@ -433,7 +433,7 @@ class CycladesTests(BurninTests):
name = self.run_id
network = self.clients.network.create_network(
"MAC_FILTERED", name=name, shared=False,
project=project_id)
project_id=project_id)
self.info("Network with id %s created", network['id'])
subnet = self.clients.network.create_subnet(
network['id'], cidr=cidr, enable_dhcp=dhcp)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment