Exemple #1
0
 def modify_multi(plan, modified_nodes):
     return modify_deployment(
         nodes=modified_nodes,
         previous_nodes=plan['nodes'],
         previous_node_instances=plan['node_instances'],
         modified_nodes=(),
         scaling_groups={})
 def modify_multi(plan, modified_nodes):
     return modify_deployment(
         nodes=plan['nodes'],
         previous_nodes=plan['nodes'],
         previous_node_instances=plan['node_instances'],
         modified_nodes=modified_nodes,
         scaling_groups=plan['scaling_groups'])
 def modify_multi(self, plan, modified_nodes):
     return modify_deployment(plan['nodes'],
                              plan['node_instances'],
                              modified_nodes)
Exemple #4
0
def modify_deployment(nodes, previous_node_instances, modified_nodes):
    return multi_instance.modify_deployment(nodes,
                                            previous_node_instances,
                                            modified_nodes)
 def modify_multi(self, plan, modified_nodes):
     return modify_deployment(plan['nodes'], plan['node_instances'],
                              modified_nodes)
def modify_deployment(nodes, previous_node_instances, modified_nodes):
    return multi_instance.modify_deployment(nodes, previous_node_instances,
                                            modified_nodes)