From e61881f2ec8a85945349b7e7268ef206ee178d6b Mon Sep 17 00:00:00 2001 From: chaos_kao Date: Fri, 22 Jan 2021 08:58:43 +0800 Subject: [PATCH] remove workaournd patch causes CLI command has been fixed --- tests/sflow/test_sflow.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/sflow/test_sflow.py b/tests/sflow/test_sflow.py index f1448b24d8b..6a8a6813f5d 100644 --- a/tests/sflow/test_sflow.py +++ b/tests/sflow/test_sflow.py @@ -89,7 +89,6 @@ def config_dut_ports(duthost, ports, vlan): # Even though port is deleted from vlan , the port shows its master as Bridge upon assigning ip address. # Hence config reload is done as workaround. ##FIXME for i in range(len(ports)): - duthost.command('config vlan member add %s %s' %(vlan,ports[i])) duthost.command('config vlan member del %s %s' %(vlan,ports[i])) duthost.command('config interface ip add %s %s/24' %(ports[i],var['dut_intf_ips'][i])) duthost.command('config save -y')