Skip to content

Commit

Permalink
[vstest][virtual chassis] Removed dvs.runcmd using click commands (#2214
Browse files Browse the repository at this point in the history
)

[VS] click commands usage is avoided in test_virtual_chassis.py
  • Loading branch information
vganesan-nokia authored Dec 7, 2022
1 parent b8521cc commit 6afefe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_virtual_chassis.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def config_inbandif_port(self, vct, ibport):

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

def del_inbandif_port(self, vct, ibport):
Expand Down

0 comments on commit 6afefe1

Please sign in to comment.