'Any initialization the volume driver does while starting.'

def do_setup(self, context):

    self._validate_params()
    self._vc_version = self._get_vc_version()
    self._validate_vcenter_version(self._vc_version)
    if (self._vc_version and versionutils.is_compatible(self.PBM_ENABLED_VC_VERSION, self._vc_version, same_major=False)):
        self.pbm_wsdl = pbm.get_pbm_wsdl_location(self._vc_version)
        if (not self.pbm_wsdl):
            LOG.error('Not    able    to    configure    PBM    for    vCenter    server:    %s', self._vc_version)
            raise exceptions.VMwareDriverException()
        self._storage_policy_enabled = True
        self._session = None
    max_objects = self.configuration.vmware_max_objects_retrieval
    self._volumeops = volumeops.VMwareVolumeOps(self.session, max_objects)
    self._ds_sel = hub.DatastoreSelector(self.volumeops, self.session, max_objects)
    cluster_names = self.configuration.vmware_cluster_name
    if cluster_names:
        self._clusters = self.volumeops.get_cluster_refs(cluster_names).values()
        LOG.info('Using    compute    cluster(s):    %s.', cluster_names)
    LOG.info('Successfully    setup    driver:    %(driver)s    for    server:    %(ip)s.', {'driver': self.__class__.__name__, 'ip': self.configuration.vmware_host_ip})
