Skip to content

Commit

Permalink
Fixing subport vs test script for subport under VNET (#2048)
Browse files Browse the repository at this point in the history
* Fixed subport vs test script for subport under VNET
  • Loading branch information
preetham-singh authored Nov 25, 2021
1 parent fb0a5fd commit 3d862a7
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 3d862a7

Please sign in to comment.