add additional dhcp options in functional tests
@@ -581,6 +581,7 @@ var _ = Describe("Networking", func() {
BootFileName: "config",
TFTPServerName: "tftp.kubevirt.io",
NTPServers: []string{"127.0.0.1", "127.0.0.2"},
+ ExtraOptions: map[int]string{240: "extra.options.kubevirt.io"},
}
_, err = virtClient.VirtualMachineInstance(tests.NamespaceTestDefault).Create(dhcpVMI)
@@ -603,6 +604,7 @@ var _ = Describe("Networking", func() {
&expect.BExp{R: "#"},
&expect.BSnd{S: "cat /dhcp-env\n"},
&expect.BExp{R: "new_ntp_servers=127.0.0.1 127.0.0.2"},
+ &expect.BExp{R: "new_unknown_240=extra.options.kubevirt.io"},
&expect.BExp{R: "#"},
}, 15)
