'Init volume attachment class.'

def __init__(self, configuration):

    self.configuration = configuration
    self.connector = connector.InitiatorConnector.factory(self._get_connector_identifier(), utils.get_root_helper(), device_scan_attempts=self.configuration.num_volume_device_scan_tries)
    self.connection_conf = {}
    self.connection_conf['server_ip'] = self.configuration.disco_client
    self.connection_conf['server_port'] = self.configuration.disco_client_port
    self.connection_properties = {}
    self.connection_properties['name'] = None
    self.connection_properties['disco_id'] = None
    self.connection_properties['conf'] = self.connection_conf
