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

All hopts/sopts/lopts options are ignored if some options are specified in addHost/addSwitch/addLink. #1189

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BlueShahriar
Copy link

@BlueShahriar BlueShahriar commented Jul 7, 2023

If you specify some options as arguments in Topo.addHost/addSwitch/addLink methods, then all the default options specified in Topo.hopts/sopts/lopts (Topo instance variables) are ignored. It would be more convenient if method options are updated by default options rather than ignoring all default options when some method options are provided. In cases where options are specified in both places, it would be better to prioritize the method options.

…re specified in addHost/addSwitch/addLink methods.
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