Skip to content

Commit

Permalink
Correction
Browse files Browse the repository at this point in the history
Signed-off-by: Wenda Ni <wonda.ni@gmail.com>
  • Loading branch information
wendani committed May 25, 2021
1 parent 70cf6da commit 503d983
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/test_sub_port_intf.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,6 @@ def _test_sub_port_intf_creation(self, dvs, sub_port_intf_name, vrf_name=None):

vrf_oid = self.default_vrf_oid
old_rif_oids = self.get_oids(ASIC_RIF_TABLE)
old_lag_oids = self.get_oids(ASIC_LAG_TABLE)

self.set_parent_port_admin_status(dvs, parent_port, "up")
if parent_port.startswith(LAG_PREFIX):
Expand Down Expand Up @@ -572,16 +571,10 @@ def _test_sub_port_intf_appl_db_proc_seq(self, dvs, sub_port_intf_name, admin_up
# Remove ip addresses from APPL_DB
self.remove_sub_port_intf_ip_addr_appl_db(sub_port_intf_name, self.IPV4_ADDR_UNDER_TEST)
self.remove_sub_port_intf_ip_addr_appl_db(sub_port_intf_name, self.IPV6_ADDR_UNDER_TEST)

# Remove sub port interface from APPL_DB
self.remove_sub_port_intf_profile_appl_db(sub_port_intf_name)
self.check_sub_port_intf_profile_removal(rif_oid)

# Remove lag
if parent_port.startswith(LAG_PREFIX):
self.remove_lag(parent_port)
self.check_lag_removal(parent_port_oid)

# Remove vrf if created
if vrf_name:
self.remove_vrf(vrf_name)
Expand Down Expand Up @@ -804,7 +797,6 @@ def _test_sub_port_intf_removal(self, dvs, sub_port_intf_name, removal_seq_test=

vrf_oid = self.default_vrf_oid
old_rif_oids = self.get_oids(ASIC_RIF_TABLE)
old_lag_oids = self.get_oids(ASIC_LAG_TABLE)

self.set_parent_port_admin_status(dvs, parent_port, "up")
if parent_port.startswith(LAG_PREFIX):
Expand Down

0 comments on commit 503d983

Please sign in to comment.