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

Fix vEOS port alignment #256

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

Conversation

monrad
Copy link
Contributor

@monrad monrad commented Jan 29, 2021

To ensure the first PCI id is used for the mangement interface all ports were bumped by one so vr-xcon would be off by one when.
Special handling for vEOS is moved from the common vrnetlab.py kode into the vEOS launch.py file.
My "naive" fix is just to decrement the i variable after it has been used for the PCI bus calculations so the port numbers line up with the correct ports.
This pull request also includes vEOS support for the topomachine.

Move all vEOS specific code to the specific launcy.py file.
Workaround that the mgmt interface needs to be first on the bus.
We still need to keep the correct port numbering to make sure xcon works correctly.
@monrad monrad mentioned this pull request Jan 29, 2021
@monrad
Copy link
Contributor Author

monrad commented Nov 21, 2021

@emjemj requested that the topomachine change would be done in a separate PR so I have reverted that commit in this PR.

monrad added a commit to monrad/vrnetlab that referenced this pull request Nov 21, 2021
This change needs the change in vrnetlab#256 to not be off by one in every interface
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.

None yet

1 participant