'Validate console port with child cell compute node.'

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

    try:
        instance = objects.Instance.get_by_uuid(message.ctxt, instance_uuid)
    except exception.InstanceNotFound:
        with excutils.save_and_reraise_exception():
            instance = objects.Instance(context=message.ctxt, uuid=instance_uuid)
            self.msg_runner.instance_destroy_at_top(message.ctxt, instance)
    return self.compute_rpcapi.validate_console_port(message.ctxt, instance, console_port, console_type)
