#NEWLINE# def test_set_source_interface_negate( self ) : #NEWLINE# #INDENT# for dut in self . duts : #NEWLINE# #INDENT# dut . config ( [ 'no interface Vxlan1' , 'interface Vxlan1' , 'vxlan source-interface Loopback0' ] ) #NEWLINE# api = dut . api ( 'interfaces' ) #NEWLINE# instance = api . set_source_interface ( 'Vxlan1' , disable = True ) #NEWLINE# self . assertTrue ( dut ) #NEWLINE# self . contains ( 'no vxlan source-interface' , dut )