Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing subport vs test script for subport under VNET #2048

Merged
merged 10 commits into from
Nov 25, 2021
2 changes: 1 addition & 1 deletion tests/test_sub_port_intf.py
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,7 @@ def _test_sub_port_intf_removal(self, dvs, sub_port_intf_name, removal_seq_test=
}
rif_oid = self.get_newly_created_oid(ASIC_RIF_TABLE, old_rif_oids)
#If subintf mtu deleted, it inherits from parent
if vrf_name == self.VRF_UNDER_TEST:
if vrf_name == self.VRF_UNDER_TEST or vrf_name == self.VNET_UNDER_TEST:
if parent_port.startswith(ETHERNET_PREFIX):
fv_dict["SAI_ROUTER_INTERFACE_ATTR_MTU"] = ETHERNET_PORT_DEFAULT_MTU
self.check_sub_port_intf_fvs(self.asic_db, ASIC_RIF_TABLE, rif_oid, fv_dict)
Expand Down