def METHOD_NAME(self):
    """
    Return ip attribute dict
    :return: None if no ip in xml, dict of ip's attributes.
    """
    try:
        ip_node = self.xmltreefile.reroot('/ip')
    except KeyError as detail:
        raise xcepts.LibvirtXMLError(detail)
    node = ip_node.getroot()
    ip_attr = dict(list(node.items()))
    return ip_attr