'Look for remote shares in the flags and mount them locally.'

def _ensure_shares_mounted(self):

    mounted_shares = []
    self._load_shares_config(getattr(self.configuration, (self.driver_prefix + '_shares_config')))
    for share in self.shares.keys():
        try:
            self._ensure_share_mounted(share)
            mounted_shares.append(share)
        except Exception as exc:
            LOG.error('Exception    during    mounting    %s', exc)
    self._mounted_shares = mounted_shares
    LOG.debug('Available    shares    %s', self._mounted_shares)
