def __eq__(self, other):
    keys = ['id', 'bridge', 'label', 'subnets']
    return all(((self[k] == other[k]) for k in keys))
def __eq__(self, other):
    keys = ['id', 'bridge', 'label', 'subnets']
    return all(((self[k] == other[k]) for k in keys))