Skip to content

Create test environment that allows adding "fake" network adapters #58

@nightlark

Description

@nightlark

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions