@@ -254,7 +254,8 @@ def test_dhcp_relay_default(ptfhost, dut_dhcp_relay_data, validate_dut_routes_ex
254254 "client_udp_src_port" : DEFAULT_DHCP_CLIENT_PORT ,
255255 "switch_loopback_ip" : dhcp_relay ['switch_loopback_ip' ],
256256 "uplink_mac" : str (dhcp_relay ['uplink_mac' ]),
257- "testing_mode" : testing_mode },
257+ "testing_mode" : testing_mode ,
258+ "kvm_support" : True },
258259 log_file = "/tmp/dhcp_relay_test.DHCPTest.log" , is_python3 = True )
259260 if not skip_dhcpmon :
260261 time .sleep (36 ) # dhcpmon debug counter prints every 18 seconds
@@ -343,7 +344,8 @@ def test_dhcp_relay_with_source_port_ip_in_relay_enabled(ptfhost, dut_dhcp_relay
343344 "switch_loopback_ip" : dhcp_relay ['switch_loopback_ip' ],
344345 "uplink_mac" : str (dhcp_relay ['uplink_mac' ]),
345346 "testing_mode" : testing_mode ,
346- "enable_source_port_ip_in_relay" : True },
347+ "enable_source_port_ip_in_relay" : True ,
348+ "kvm_support" : True },
347349 log_file = "/tmp/dhcp_relay_test.DHCPTest.log" , is_python3 = True )
348350 if not skip_dhcpmon :
349351 time .sleep (36 ) # dhcpmon debug counter prints every 18 seconds
@@ -404,7 +406,8 @@ def test_dhcp_relay_after_link_flap(ptfhost, dut_dhcp_relay_data, validate_dut_r
404406 "client_udp_src_port" : DEFAULT_DHCP_CLIENT_PORT ,
405407 "switch_loopback_ip" : dhcp_relay ['switch_loopback_ip' ],
406408 "uplink_mac" : str (dhcp_relay ['uplink_mac' ]),
407- "testing_mode" : testing_mode },
409+ "testing_mode" : testing_mode ,
410+ "kvm_support" : True },
408411 log_file = "/tmp/dhcp_relay_test.DHCPTest.log" , is_python3 = True )
409412
410413
@@ -460,7 +463,8 @@ def test_dhcp_relay_start_with_uplinks_down(ptfhost, dut_dhcp_relay_data, valida
460463 "client_udp_src_port" : DEFAULT_DHCP_CLIENT_PORT ,
461464 "switch_loopback_ip" : dhcp_relay ['switch_loopback_ip' ],
462465 "uplink_mac" : str (dhcp_relay ['uplink_mac' ]),
463- "testing_mode" : testing_mode },
466+ "testing_mode" : testing_mode ,
467+ "kvm_support" : True },
464468 log_file = "/tmp/dhcp_relay_test.DHCPTest.log" , is_python3 = True )
465469
466470
@@ -495,7 +499,8 @@ def test_dhcp_relay_unicast_mac(ptfhost, dut_dhcp_relay_data, validate_dut_route
495499 "client_udp_src_port" : DEFAULT_DHCP_CLIENT_PORT ,
496500 "switch_loopback_ip" : dhcp_relay ['switch_loopback_ip' ],
497501 "uplink_mac" : str (dhcp_relay ['uplink_mac' ]),
498- "testing_mode" : testing_mode },
502+ "testing_mode" : testing_mode ,
503+ "kvm_support" : True },
499504 log_file = "/tmp/dhcp_relay_test.DHCPTest.log" , is_python3 = True )
500505
501506
@@ -529,7 +534,8 @@ def test_dhcp_relay_random_sport(ptfhost, dut_dhcp_relay_data, validate_dut_rout
529534 "client_udp_src_port" : RANDOM_CLIENT_PORT ,
530535 "switch_loopback_ip" : dhcp_relay ['switch_loopback_ip' ],
531536 "uplink_mac" : str (dhcp_relay ['uplink_mac' ]),
532- "testing_mode" : testing_mode },
537+ "testing_mode" : testing_mode ,
538+ "kvm_support" : True },
533539 log_file = "/tmp/dhcp_relay_test.DHCPTest.log" , is_python3 = True )
534540
535541
@@ -597,7 +603,8 @@ def test_dhcp_relay_counter(ptfhost, dut_dhcp_relay_data, validate_dut_routes_ex
597603 "client_udp_src_port" : DEFAULT_DHCP_CLIENT_PORT ,
598604 "switch_loopback_ip" : dhcp_relay ['switch_loopback_ip' ],
599605 "uplink_mac" : str (dhcp_relay ['uplink_mac' ]),
600- "testing_mode" : testing_mode },
606+ "testing_mode" : testing_mode ,
607+ "kvm_support" : True },
601608 log_file = "/tmp/dhcp_relay_test_counter.DHCPTest.log" , is_python3 = True )
602609 for type in dhcp_message_types :
603610 if type in ["Discover" , "Request" ]:
0 commit comments