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

Make amount of shown ports configurable #1113

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Civil
Copy link
Contributor

@Civil Civil commented Feb 27, 2024

Currently it is hardcoded to '4' which is suboptimal for bigger screens. Add a new flag to trex-console, -m that allows to specify amount of ports user want to see.

Keep default value as 4 for compatibility reasons.

Related to #1109

Currently it is hardcoded to '4' which is suboptimal for bigger screens.
Add a new flag to trex-console, `-m` that allows to specify amount of
ports user want to see.

Keep default value as 4 for compatibility reasons.

Related to cisco-system-traffic-generator#1109
That is a quick way to get MIN_COLS check to work again

However in case `-m 0` or `-m -1` specified (all ports), check won't be
adjusted to actual number of ports available on a system
@trex-bot
Copy link

Checked SHA: 411efc8
Status: SUCCESS ✔️
Link to job: http://81.218.86.50:8080/job/trex_build/827/

@hhaim
Copy link
Contributor

hhaim commented Feb 28, 2024

@Civil seems as a good idea, I will rebase it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants