def __eq__(self, other):
return (<EOL>self.port_id == other.port_id and<EOL>self.vlan_id == other.vlan_id and<EOL>self.vni == other.vni and<EOL>self.switch_ip == other.switch_ip and<EOL>self.instance_id == other.instance_id and<EOL>self.channel_group == other.channel_group and<EOL>self.is_native == other.is_native<EOL>)<EOL>
Compare only the binding, without the id key.