Skip to content

Commit 6afefe1

Browse files
[vstest][virtual chassis] Removed dvs.runcmd using click commands (sonic-net#2214)
[VS] click commands usage is avoided in test_virtual_chassis.py
1 parent b8521cc commit 6afefe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_virtual_chassis.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def config_inbandif_port(self, vct, ibport):
3939

4040
# Configure only for line cards
4141
if cfg_switch_type == "voq":
42-
dvs.runcmd(f"config interface startup {ibport}")
42+
dvs.port_admin_set(f"{ibport}", "up")
4343
config_db.create_entry("VOQ_INBAND_INTERFACE", f"{ibport}", {"inband_type": "port"})
4444

4545
def del_inbandif_port(self, vct, ibport):

0 commit comments

Comments
 (0)