'Converts the share point name to an IP address.
The volume reference may have a DNS name portion in the share name.
Convert that to an IP address and then restore the entire path.
:param vol_ref: driver-specific information used to identify a volume
:returns: a volume reference where share is in IP format or raises
error
:raises e.strerror:'

def _convert_vol_ref_share_name_to_share_ip(self, vol_ref):

    share_split = vol_ref.split(':')
    try:
        vol_ref_share_ip = cutils.resolve_hostname(share_split[0])
    except socket.gaierror as e:
        LOG.exception('Invalid    hostname    %(host)s', {'host': share_split[0]})
        LOG.debug('error:    %(err)s', {'err': e.strerror})
        raise
    vol_ref_share = ((vol_ref_share_ip + ':') + share_split[1])
    return vol_ref_share
