Commit d6c208ae authored by Thomas Phil's avatar Thomas Phil

testje

parent b910af7f
File mode changed from 100644 to 100755
......@@ -28,9 +28,9 @@ class DeployManyCommand(Command):
deployVmNameList.append('worker-' + str(uuid.uuid4()))
amount -= 1
cloudProviderName = Core.config().clouddomain.driver
scaling_driver = Core.config().schedulerdomain.scalingdriver
profile = getattr(Core.config().clouddomain, cloudProviderName).default_profile
profile = getattr(Core.config().schedulerdomain, scaling_driver).default_profile
deployVms = commandFactory.newDeployVms(names=deployVmNameList, profile=profile, cores=cores, ram=ram)
commandBus = cloudService.getCommandBus()
......
......@@ -23,9 +23,9 @@ class DeploySingleCommand(Command):
self.error('Invalid input')
return
cloudProviderName = Core.config().clouddomain.driver
scaling_driver = Core.config().schedulerdomain.scalingdriver
profile = getattr(Core.config().clouddomain, cloudProviderName).default_profile
profile = getattr(Core.config().schedulerdomain, scaling_driver).default_profile
deployVmsCommand = commandFactory.newDeployVms(names=[name], profile=profile, cores=cores, ram = ram)
commandBus = cloudService.getCommandBus()
......
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