Beispiel #1
0
 def stop(cls, **kwargs):
     arg = dotdict(kwargs)
     cloud_provider = CloudProvider(arg.cloud).provider
     for server in kwargs["servers"]:
         cloud_provider.stop_vm(server)
         Console.ok("Machine {:} is being stopped on {:} Cloud...".format(
             server, cloud_provider.cloud))
Beispiel #2
0
 def stop(cls, **kwargs):
     arg = dotdict(kwargs)
     cloud_provider = CloudProvider(arg.cloud).provider
     for server in kwargs["servers"]:
         cloud_provider.stop_vm(server)
         Console.ok("Machine {:} is being stopped on {:} Cloud..."
                    .format(server, cloud_provider.cloud))
Beispiel #3
0
 def stop(cls, **kwargs):
     cloud_provider = CloudProvider(kwargs["cloud"]).provider
     for server in kwargs["servers"]:
         cloud_provider.stop_vm(server)
         print("Machine {:} is being stopped on {:} Cloud...".format(server, cloud_provider.cloud))
Beispiel #4
0
 def stop(cls, **kwargs):
     cloud_provider = CloudProvider(kwargs["cloud"]).provider
     for server in kwargs["servers"]:
         cloud_provider.stop_vm(server)
         print("Machine {:} is being stopped on {:} Cloud...".format(server, cloud_provider.cloud))