Skip to content

Commit

Permalink
Update serverCreationInitialisation.py
Browse files Browse the repository at this point in the history
  • Loading branch information
flexiops committed Sep 12, 2016
1 parent 1315b20 commit e2bc696
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -8,7 +8,7 @@
MAX_NO_ATTEMPTS = 5
serverUUID = ""
isVerbose = False
ENDPOINT = "SERVER ENDPOINT"
ENDPOINT = "https://cp.sd1.flexiant.net:4442/"

#Login UUID/username/password
customerUUID=""
Expand Down Expand Up @@ -235,7 +235,7 @@ def rest_list_resource(auth_parms, res_type, payload):
#Method used to create the server and deploy it to the platform
def create_server():

hostname = ""
hostname = "https://cp.sd1.flexiant.net:4442/"

#Get token to authenticate the user
token = getToken(hostname, username,
Expand Down Expand Up @@ -313,4 +313,4 @@ def api_session(customerUsername, customerUUID, customerPassword):
create_server()
time.sleep(20)

StartVM(customerUUID,username,password,serverUUID)
StartVM(customerUUID,username,password,serverUUID)

0 comments on commit e2bc696

Please sign in to comment.