-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Currently the CI tests just print out the IP addresses found using netif, then ifconfig is ran to output the network adapters present -- making sure they match is a manual process that should be automated by taking in a list of expected interfaces (perhaps provided by ifconfig or ipconfig in an earlier step, parsed into an easier to read "standard" file format that is easy to read and parse for the CI tests).
However, oftentimes the adapters present on CI VMs lack IPv6 addresses, and just in general the ability to add a bunch of different interfaces for testing corner cases could be useful. We can then use that same mechanism of passing the tests the interfaces we know must exist due to having created them in our "fake" network environment.
Using https://mininet.org/ could be an option to consider for Linux, or Docker compose. Not sure about Windows or macOS.
The results of this setup could directly be used to help inform an approach for GMLC-TDC/HELICS#98 eventually.