def allocate_vip(self): self.create() instance_id = utils.get_instance_id_bytenant(DBInstanceType.SINGLE) utils.check_vip_allocate(instance_id) pass
def allocate_vip(self): self.create() instance_id = utils.get_instance_id_bytenant(DBInstanceType.READ_REPLI) utils.check_vip_allocate(instance_id)
def vip_allocate(self): self.create() instance_id = utils.get_instance_id_bytenant(DBInstanceType.MASTER) utils.check_vip_allocate(instance_id) pass