@@ -503,15 +503,16 @@ def verify_create_instance(self, **kwargs):
503503 'domain': u'test01.labs.sftlyr.ws',
504504 'hostname': u'minion05',
505505 'datacenter': u'hkg02',
506+ 'flavor': 'BL1_1X2X100'
506507 'dedicated': False,
507508 'private': False,
508- 'cpus': 1,
509509 'os_code' : u'UBUNTU_LATEST',
510510 'hourly': True,
511511 'ssh_keys': [1234],
512512 'disks': ('100','25'),
513513 'local_disk': True,
514- 'memory': 1024
514+ 'tags': 'test, pleaseCancel',
515+ 'public_security_groups': [12, 15]
515516 }
516517
517518 vsi = mgr.verify_create_instance(**new_vsi)
@@ -536,15 +537,14 @@ def create_instance(self, **kwargs):
536537 'domain': u'test01.labs.sftlyr.ws',
537538 'hostname': u'minion05',
538539 'datacenter': u'hkg02',
540+ 'flavor': 'BL1_1X2X100'
539541 'dedicated': False,
540542 'private': False,
541- 'cpus': 1,
542543 'os_code' : u'UBUNTU_LATEST',
543544 'hourly': True,
544545 'ssh_keys': [1234],
545546 'disks': ('100','25'),
546547 'local_disk': True,
547- 'memory': 1024,
548548 'tags': 'test, pleaseCancel',
549549 'public_security_groups': [12, 15]
550550 }
@@ -607,17 +607,16 @@ def create_instances(self, config_list):
607607 # Define the instance we want to create.
608608 new_vsi = {
609609 'domain': u'test01.labs.sftlyr.ws',
610- 'hostname': u'multi-test ',
610+ 'hostname': u'minion05 ',
611611 'datacenter': u'hkg02',
612+ 'flavor': 'BL1_1X2X100'
612613 'dedicated': False,
613614 'private': False,
614- 'cpus': 1,
615615 'os_code' : u'UBUNTU_LATEST',
616616 'hourly': True,
617- 'ssh_keys': [87634 ],
617+ 'ssh_keys': [1234 ],
618618 'disks': ('100','25'),
619619 'local_disk': True,
620- 'memory': 1024,
621620 'tags': 'test, pleaseCancel',
622621 'public_security_groups': [12, 15]
623622 }
0 commit comments