puppet-neutron/lib/puppet/parser/functions
Emilien Macchi bab3cbf0c8 Fix logic in validate_vxlan_udp_port
Fix the logic in validate_vxlan_udp_port.

According to RFC6056 [1]:
*  The Well-Known Ports, 0 through 1023.
*  The Registered Ports, 1024 through 49151
*  The Dynamic and/or Private Ports, 49152 through 65535

And RFC7348 [2]:
A well-known UDP port (4789) has been assigned by the IANA in the
Service Name and Transport Protocol Port Number Registry for VXLAN.

So this patch makes sure we either use 4789 or a dynamic port.

[1] http://tools.ietf.org/html/rfc6056
[2] https://tools.ietf.org/html/rfc7348

Change-Id: Id96e675f9cb58bb50ae29147c5b470224b15b4d2
2016-07-04 13:31:03 +00:00
..
validate_network_vlan_ranges.rb Don't be too strict for vlan_ranges 2014-02-19 14:25:51 +01:00
validate_tunnel_id_ranges.rb VXLAN support 2014-01-10 14:07:14 +01:00
validate_vni_ranges.rb VXLAN support 2014-01-10 14:07:14 +01:00
validate_vxlan_udp_port.rb Fix logic in validate_vxlan_udp_port 2016-07-04 13:31:03 +00:00