'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
:return:         A volume reference where share is in IP format.'

def _convert_vol_ref_share_name_to_share_ip(self, vol_ref):

    share_split = vol_ref.rsplit(':', 1)
    vol_ref_share_ip = na_utils.resolve_hostname(share_split[0])
    vol_ref_share = ((vol_ref_share_ip + ':') + share_split[1])
    return vol_ref_share
