'Get name server data from fabric.
Return the connected node port wwn list(local
and remote) for the given switch fabric.
:returns: name server information.'

def get_nameserver_info(self):

    nsinfo = []
    headers = {zone_constant.AUTH_HEADER: self.auth_header}
    response = self.connect(zone_constant.GET_METHOD, zone_constant.NS_PAGE, header=headers)
    parsed_raw_zoneinfo = self.get_parsed_data(response, zone_constant.NSINFO_BEGIN, zone_constant.NSINFO_END).strip(' DCTB \n\r')
    for line in parsed_raw_zoneinfo.splitlines():
        start_index = (line.find(zone_constant.NS_DELIM) + 7)
        if (start_index != (-1)):
            nsinfo.extend([line[start_index:(start_index + 23)].strip()])
    return nsinfo
