#NEWLINE# def __eq__( self , other ) : #NEWLINE# #INDENT# 'Compare only the binding, without the id key.' #NEWLINE# return ( ( self . port_id == other . port_id ) and ( self . vlan_id == other . vlan_id ) and ( self . vni == other . vni ) and ( self . switch_ip == other . switch_ip ) and ( self . instance_id == other . instance_id ) and ( self . is_provider_vlan == other . is_provider_vlan ) and ( self . channel_group == other . channel_group ) and ( self . is_native_vlan == other . is_native_vlan ) )