Example #1
0
 def allocate_vip(self):
     self.create()
     instance_id = utils.get_instance_id_bytenant(DBInstanceType.SINGLE)
     utils.check_vip_allocate(instance_id)
     pass
Example #2
0
 def allocate_vip(self):
     self.create()
     instance_id = utils.get_instance_id_bytenant(DBInstanceType.READ_REPLI)
     utils.check_vip_allocate(instance_id)
Example #3
0
 def vip_allocate(self):
     self.create()
     instance_id = utils.get_instance_id_bytenant(DBInstanceType.MASTER)
     utils.check_vip_allocate(instance_id)
     pass