-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools: topogen: Fix network argument. Added IPv6 network argument. (#…
…4536) The argument `-n` or `--network` in [topogen.py](https://github.com/scionproto/scion/blob/9d52e2f8d2211427707dfe5b4028158759ebddeb/tools/topogen.py) is ignored when generating a topology, the default network is always used. There exists no argument for the user to specify a different IPv6 network with respect to the default one. I have added the argument `-n6` or `--network-v6` which is the IPv6 version of the `--network` argument. I moved for consistency the variables like `DEFAULT_NETWORK` from [net.py](https://github.com/scionproto/scion/blob/9d52e2f8d2211427707dfe5b4028158759ebddeb/tools/topology/net.py) to [defines.py](https://github.com/scionproto/scion/blob/9d52e2f8d2211427707dfe5b4028158759ebddeb/tools/topology/defines.py) where the IPv6 network defines are already present.
- Loading branch information
Showing
4 changed files
with
15 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters