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

Add support for a starting index when connecting nodes. #126

Merged
merged 2 commits into from
Dec 10, 2024

Conversation

xorrkaz
Copy link
Collaborator

@xorrkaz xorrkaz commented Nov 22, 2024

By default, the lab.connect_two_nodes() connects the next two
available indexes. Extend this to allow an index where you can start
at, for example, 1. This could allow to skip mgmt interfaces.

By default, the `lab.connect_two_nodes()` connects the next two
available indexes.  Extend this to allow an index where you can start
at, for example, 1.  This could allow to skip mgmt interfaces.
Spotted by: Patrick Mosko
@xorrkaz xorrkaz requested a review from tmikuska November 22, 2024 15:48
@tmikuska tmikuska merged commit af60c0b into main Dec 10, 2024
5 checks passed
@tmikuska tmikuska deleted the connect-with-index branch December 10, 2024 17:08
tmikuska pushed a commit that referenced this pull request Jan 26, 2025
* Add support for a starting index when connecting nodes.

By default, the `lab.connect_two_nodes()` connects the next two
available indexes.  Extend this to allow an index where you can start
at, for example, 1.  This could allow to skip mgmt interfaces.

* Consume the position element.

Spotted by: Patrick Mosko

---------

Co-authored-by: Joe Clarke <[email protected]>
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