'Get the basic information of NAS.'

def get_basic_info(self, management_url):

    LOG.debug('in    get_basic_info')
    (management_ip, management_port, management_ssl) = self._parse_management_url(management_url)
    connection = None
    if management_ssl:
        if hasattr(ssl, '_create_unverified_context'):
            context = ssl._create_unverified_context()
            connection = http_client.HTTPSConnection(management_ip, port=management_port, context=context)
        else:
            connection = http_client.HTTPSConnection(management_ip, port=management_port)
    else:
        connection = http_client.HTTPConnection(management_ip, management_port)
    connection.request('GET', '/cgi-bin/authLogin.cgi')
    response = connection.getresponse()
    data = response.read()
    LOG.debug('response    data:    %s', data)
    root = ET.fromstring(data)
    nas_model_name = root.find('model/displayModelName').text
    internal_model_name = root.find('model/internalModelName').text
    fw_version = root.find('firmware/version').text
    return (nas_model_name, internal_model_name, fw_version)
