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

Interactive console output should behave like the real switch based on terminal width #97

Open
JoProvost opened this issue Jan 24, 2017 · 0 comments

Comments

@JoProvost
Copy link
Contributor

Some switch models wrap the output when it exceeds the width of the terminal. As it may not be required to fully simulate this feature, systems developed to interact with those routers must expect to read the output on multiple lines.

To do so, fake-switches should support this feature by simulating line wrap at a fixed terminal width determined some how (configuration) or dynamically defined by the terminal width the same way the real switch would do.

mat128 pushed a commit to mat128/fake-switches that referenced this issue Jan 26, 2017
Currently, port names were written all on one line, as if the software
connecting had defined a very long terminal. This is not always the
case.

Fake-switch should expose possible cases, such as port names wrapping on
other lines.

This commit adds this (missing) feature to the show vlan command.

This is a follow up of internap#90.

Partial-bug: internap#97
mat128 pushed a commit that referenced this issue Jan 26, 2017
Currently, port names were written all on one line, as if the software
connecting had defined a very long terminal. This is not always the
case.

Fake-switch should expose possible cases, such as port names wrapping on
other lines.

This commit adds this (missing) feature to the show vlan command.

This is a follow up of #90.

Partial-bug: #97
FrancoisLopez pushed a commit to FrancoisLopez/fake-switches that referenced this issue May 6, 2019
…-switchapi

Add the definition of get_vlan_interfaces on SwitchBase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant