'Disallow connection from connector.'

def terminate_connection(self, volume, connector, **kwargs):

    volname = volume.display_name
    properties = {}
    properties['scaleIO_volname'] = volname
    properties['scaleIO_volume_id'] = volume.provider_id
    properties['hostIP'] = connector['ip']
    properties['serverIP'] = self.configuration.coprhd_scaleio_rest_gateway_host
    properties['serverPort'] = self.configuration.coprhd_scaleio_rest_gateway_port
    properties['serverUsername'] = self.configuration.coprhd_scaleio_rest_server_username
    properties['serverPassword'] = self.configuration.coprhd_scaleio_rest_server_password
    properties['serverToken'] = self.server_token
    initiator_port = self._get_client_id(properties['serverIP'], properties['serverPort'], properties['serverUsername'], properties['serverPassword'], properties['hostIP'])
    init_ports = []
    init_ports.append(initiator_port)
    self.common.terminate_connection(volume, 'scaleio', init_ports, connector['host'])
