[ovs-git] [ovn-org/ovn] b06319: Fix the data type for DHCP option tftp_server (66)
noreply at github.com
Wed Jun 17 09:07:35 UTC 2020
Author: Dhathri Purohith <dhathri.purohith at nutanix.com>
Date: 2020-06-17 (Wed, 17 Jun 2020)
Fix the data type for DHCP option tftp_server (66)
Currently, DHCP option is of type ipv4. But, according to RFC 2132,
option 66 can be a hostname i.e, we should also accept string type.
In order to be backward compatible, a new type called "host_id" is
introduced, which accepts both ipv4 address and string. Type for DHCP
option 66 is changed to "host_id" instead of ipv4.
OVN northd code that updates the OVN southbound database is enhanced to
consider the change in the type and code for DHCP option, so that the
change in datatype is reflected.
Signed-off-by: Dhathri Purohith <dhathri.purohith at nutanix.com>
Signed-off-by: Ankur Sharma <ankur.sharma at nutanix.com>
Signed-off-by: Numan Siddique <numans at ovn.org>
More information about the git