Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some physical duts supports only up to 8 min-link values #285

Merged
merged 1 commit into from
Sep 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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