1package extradhcpopts
2
3// ExtraDHCPOptsExt is a struct that contains different DHCP options for a
4// single port.
5type ExtraDHCPOptsExt struct {
6	ExtraDHCPOpts []ExtraDHCPOpt `json:"extra_dhcp_opts"`
7}
8
9// ExtraDHCPOpt represents a single set of extra DHCP options for a single port.
10type ExtraDHCPOpt struct {
11	// OptName is the name of a single DHCP option.
12	OptName string `json:"opt_name"`
13
14	// OptValue is the value of a single DHCP option.
15	OptValue string `json:"opt_value"`
16
17	// IPVersion is the IP protocol version of a single DHCP option.
18	// Valid value is 4 or 6. Default is 4.
19	IPVersion int `json:"ip_version"`
20}
21