def METHOD_NAME(self, output):
    parser = RetinaXmlParser(output)
    for item in parser.items:
        hostname = item.hostname if item.hostname else None
        h_id = self.createAndAddHost(item.ip, item.os, hostnames=[hostname])
        if not item.netbiosname == 'N/A':
            self.createAndAddNoteToHost(
                h_id, "netBIOSName", item.netbiosname)
        if not item.netbiosdomain == 'N/A':
            self.createAndAddNoteToHost(
                h_id, "netBIOSDomain", item.netbiosdomain)
        for k, vulns in item.ports.items():
            if k:
                for v in vulns:
                    cve = v.cve.split(",") if v.cve else []
                    web = False
                    s_id = self.createAndAddServiceToHost(h_id, 'unknown', v.protocol.lower(), ports=[str(v.port)],
                                                          status="open")
                    if v.port in ['80', '443'] or re.search("ssl|http", v.name.lower()):
                        web = True
                    else:
                        web = False
                    if web:
                        v_id = self.createAndAddVulnWebToService(h_id, s_id, v.name, ref=v.ref,
                                                                 website=hostname, severity=v.severity,
                                                                 resolution=v.solution, desc=v.desc, cve=cve, cvss2=v.cvss2)
                    else:
                        v_id = self.createAndAddVulnToService(h_id, s_id, v.name, ref=v.ref,
                                                              severity=v.severity, resolution=v.solution,
                                                              desc=v.desc, cve=cve, cvss2=v.cvss2)
            else:
                for v in vulns:
                    cve = v.cve.split(",") if v.cve else []
                    v_id = self.createAndAddVulnToHost(h_id, v.name, ref=v.ref, severity=v.severity,
                                                       resolution=v.solution, desc=v.desc, cve=cve, cvss2=v.cvss2)
    del parser