code: def create_instances(self, config_list):
          
          tags = [conf.pop('tags', None) for conf in config_list]
  
          resp = self.guest.createObjects([self._generate_create_dict(**kwargs)
                                           for kwargs in config_list])
  
          for instance, tag in zip(resp, tags):
              if tag is not None:
                  self.set_tags(tag, guest_id=instance['id'])
  
          return resp
docs: Creates multiple virtual server instances.
  
          This takes a list of dictionaries using the same arguments as
          create_instance().
  
          .. warning::
  
              This will add charges to your account
  
          Example::
  
              # Define the instance we want to create.
              new_vsi = {
                  'domain': u'test01.labs.sftlyr.ws',
                  'hostname': u'minion05',
                  'datacenter': u'hkg02',
                  'flavor': 'BL1_1X2X100'
                  'dedicated': False,
                  'private': False,
                  'os_code' : u'UBUNTU_LATEST',
                  'hourly': True,
                  'ssh_keys': [1234],
                  'disks': ('100','25'),
                  'local_disk': True,
                  'tags': 'test, pleaseCancel',
                  'public_security_groups': [12, 15]
              }
  
              # using .copy() so we can make changes to individual nodes
              instances = [new_vsi.copy(), new_vsi.copy(), new_vsi.copy()]
  
              # give each its own hostname, not required.
              instances[0]['hostname'] = "multi-test01"
              instances[1]['hostname'] = "multi-test02"
              instances[2]['hostname'] = "multi-test03"
  
              vsi = mgr.create_instances(config_list=instances)
              #vsi will be a dictionary of all the new virtual servers
              print vsi