def __eq__(self, other):
    keys = ['id', 'address', 'network', 'vnic_type', 'type', 'profile', 'details', 'devname', 'ovs_interfaceid', 'qbh_params', 'qbg_params', 'active', 'preserve_on_delete']
    return all(((self[k] == other[k]) for k in keys))
def __eq__(self, other):
    keys = ['id', 'address', 'network', 'vnic_type', 'type', 'profile', 'details', 'devname', 'ovs_interfaceid', 'qbh_params', 'qbg_params', 'active', 'preserve_on_delete']
    return all(((self[k] == other[k]) for k in keys))