#NEWLINE# def ovs_vxlan_supported( from_ip = '192.0.2.1' , to_ip = '192.0.2.2' ) : #NEWLINE# #INDENT# name = base . get_rand_device_name ( prefix = 'vxlantest-' ) #NEWLINE# with ovs_lib . OVSBridge ( name ) as br : #NEWLINE# #INDENT# port = br . add_tunnel_port ( to_ip , to_ip , const . TYPE_VXLAN ) #NEWLINE# return ( port != ovs_lib . INVALID_OFPORT )