def __eq__(self, other):
    keys = ['cidr', 'dns', 'gateway', 'ips', 'routes', 'version']
    return all(((self[k] == other[k]) for k in keys))
def __eq__(self, other):
    keys = ['cidr', 'dns', 'gateway', 'ips', 'routes', 'version']
    return all(((self[k] == other[k]) for k in keys))