Skip to content

Commit

Permalink
Merge pull request #285 from dlyssenko/fix_min-links
Browse files Browse the repository at this point in the history
some physical duts supports only up to 8 min-link values
  • Loading branch information
dlyssenko authored Sep 13, 2023
2 parents 10b2714 + 6ada0c5 commit 9d2c1b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/system/test_api_interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ def test_get_lacp_mode_with_default(self):

def test_minimum_links_valid(self):
for dut in self.duts:
minlinks = random_int(1, 16)
minlinks = random_int(1, 8) # some physical duts may have only 8 links
dut.config(['no interface Port-Channel1',
'interface Port-Channel1'])
result = dut.api('interfaces').set_minimum_links('Port-Channel1',
Expand Down

0 comments on commit 9d2c1b4

Please sign in to comment.