diff options
Diffstat (limited to 'ovn')
-rw-r--r-- | ovn/lib/ovn-l7.h | 2 | ||||
-rw-r--r-- | ovn/northd/ovn-northd.c | 1 | ||||
-rw-r--r-- | ovn/ovn-nb.xml | 9 |
3 files changed, 12 insertions, 0 deletions
diff --git a/ovn/lib/ovn-l7.h b/ovn/lib/ovn-l7.h index a2224d019..fe3104e1f 100644 --- a/ovn/lib/ovn-l7.h +++ b/ovn/lib/ovn-l7.h @@ -73,6 +73,8 @@ struct gen_opts_map { #define DHCP_OPT_BOOTFILE DHCP_OPTION("bootfile_name", 67, "str") #define DHCP_OPT_WPAD DHCP_OPTION("wpad", 252, "str") #define DHCP_OPT_PATH_PREFIX DHCP_OPTION("path_prefix", 210, "str") +#define DHCP_OPT_TFTP_SERVER_ADDRESS \ + DHCP_OPTION("tftp_server_address", 150, "ipv4") static inline uint32_t gen_opt_hash(char *opt_name) diff --git a/ovn/northd/ovn-northd.c b/ovn/northd/ovn-northd.c index 1a59c9fa9..2843969f4 100644 --- a/ovn/northd/ovn-northd.c +++ b/ovn/northd/ovn-northd.c @@ -7389,6 +7389,7 @@ static struct gen_opts_map supported_dhcp_opts[] = { DHCP_OPT_WPAD, DHCP_OPT_BOOTFILE, DHCP_OPT_PATH_PREFIX, + DHCP_OPT_TFTP_SERVER_ADDRESS, }; static struct gen_opts_map supported_dhcpv6_opts[] = { diff --git a/ovn/ovn-nb.xml b/ovn/ovn-nb.xml index b084c821e..61a57110a 100644 --- a/ovn/ovn-nb.xml +++ b/ovn/ovn-nb.xml @@ -2178,6 +2178,15 @@ instead of deriving it from the bootfile name. </p> </column> + + <column name="options" key="tftp_server_address"> + <p> + The DHCPv4 option code for this option is 150. The option + contains one or more IPv4 addresses that the client MAY + use. This option is Cisco proprietary, the IEEE standard + that matches with this requirement is option 66 (tftp_server). + </p> + </column> </group> </group> |