#NEWLINE# def add_endpoint( self , ip = base_type_tunnel . TUNNEL_IP_ONE , host = base_type_tunnel . HOST_ONE ) : #NEWLINE# #INDENT# if ( ip == base_type_tunnel . TUNNEL_IP_ONE ) : #NEWLINE# #INDENT# port = VXLAN_UDP_PORT_ONE #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# port = VXLAN_UDP_PORT_TWO #NEWLINE# #UNINDENT# return self . driver . add_endpoint ( ip , ip , port )