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

Revise network handling to specify use of Linux namespacing for isolation #96

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,12 @@ in a cluster and across clusters to avoid collisions.

The current test harness hardcodes an initial listen port of 8888 on 127.0.0.1
and uses each port in sequence per node in the cluster for the http plugin.
The revised system will take advantage of the entirety of the 127.0.0.0/8
subnet by choosing an IP address to run the cluster on deterministically based
on the name of the test as it is known to `ctest`. The listen port for the
http plugin will remain the default 8888 and sequential ports, though at least
one test will start on an alternate port to ensure customized ports work
throughout the system.
The revised system will use Linux namespaces to isolate each test's network
activity in its own sandbox. The listen port for the http plugin will remain
the default 8888 and sequential ports, though at least one test will start
on an alternate port to ensure customized ports work throughout the system.
If the '--keep-running' flag is specified, virtual network devices will be
created to allow interaction with the test network from outside the sandbox.

As with filesystem usage, the IP address and ports used will be customizable.
The test harness currently exposes the port number for the HTTP plugin for
Expand Down