VXLAN was recently assigned UDP port 4789 by IANA. This updates the OVS VXLAN implementation to reflect the new UDP port number. It also updates the unit test for VXLAN to pass with the change in UDP port number.
Cc: Kenneth Duda <kd...@aristanetworks.com> Signed-off-by: Kyle Mestery <kmest...@cisco.com> --- lib/netdev-vport.c | 2 +- tests/tunnel.at | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/netdev-vport.c b/lib/netdev-vport.c index 4aa8bb0..cea44c8 100644 --- a/lib/netdev-vport.c +++ b/lib/netdev-vport.c @@ -42,7 +42,7 @@ VLOG_DEFINE_THIS_MODULE(netdev_vport); /* Default to the OTV port, per the VXLAN IETF draft. */ -#define VXLAN_DST_PORT 8472 +#define VXLAN_DST_PORT 4789 #define LISP_DST_PORT 4341 diff --git a/tests/tunnel.at b/tests/tunnel.at index 78e43f5..2eabb77 100644 --- a/tests/tunnel.at +++ b/tests/tunnel.at @@ -398,7 +398,7 @@ br0 (dummy@ovs-dummy): dnl change UDP port to default -AT_CHECK([ovs-vsctl -- set Interface p1 options:dst_port=8472]) +AT_CHECK([ovs-vsctl -- set Interface p1 options:dst_port=4789]) AT_CHECK([ovs-appctl dpif/show], [0], [dnl br0 (dummy@ovs-dummy): -- 1.8.1.4 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev