def validate_console_port(self, ctxt, instance_uuid, console_port,
                              console_type):
        cctxt = self.client.prepare(version='1.6')
        return cctxt.call(ctxt, 'validate_console_port',
                          instance_uuid=instance_uuid,
                          console_port=console_port,
                          console_type=console_type)
Handle AllocateIds and route remotely if it matches the target app.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/cells/rpcapi.py/CellsAPI.validate_console_port--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/datastore_admin/remote_api_put_stub.py/DatastorePutStub._Dynamic_AllocateIds