Skip to content

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

Open
BlueShahriar wants to merge 1 commit intomininet:masterfrom
BlueShahriar:master
Open

All hopts/sopts/lopts options are ignored if some options are specified in addHost/addSwitch/addLink.#1189
BlueShahriar wants to merge 1 commit intomininet:masterfrom
BlueShahriar:master

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.

1 participant