'Validate console port with child cell compute node.'

def validate_console_port(self, ctxt, instance_uuid, console_port, console_type):

    instance = objects.Instance.get_by_uuid(ctxt, instance_uuid)
    if (not instance.cell_name):
        raise exception.InstanceUnknownCell(instance_uuid=instance_uuid)
    response = self.msg_runner.validate_console_port(ctxt, instance.cell_name, instance_uuid, console_port, console_type)
    return response.value_or_raise()
