fixing vmcreate
This commit is contained in:
parent
b96ea74be7
commit
f030f3fbb5
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ def vmcreate(req):
|
||||||
|
|
||||||
#generators
|
#generators
|
||||||
#slave_name = str(grid.query_happiness(region_id, weight)) #TODO: provide weight parameters here and calculate route
|
#slave_name = str(grid.query_happiness(region_id, weight)) #TODO: provide weight parameters here and calculate route
|
||||||
slave_name = 'lexx' #staic route
|
slave_name = 'warrior' #staic route
|
||||||
#vmid = str(grid.generate_vmid()) #TODO: this should be between 100 and 65000
|
#vmid = str(grid.generate_vmid()) #TODO: this should be between 100 and 65000
|
||||||
vmid = random.randint(200, 62000)
|
vmid = random.randint(200, 62000)
|
||||||
cube_id = time.time() #TODO: make sure this is unique. time since epoch is not random enough but should do the trick for now
|
cube_id = time.time() #TODO: make sure this is unique. time since epoch is not random enough but should do the trick for now
|
||||||
|
|
Loading…
Reference in a new issue