1
0
mirror of https://passt.top/passt synced 2024-07-01 23:42:41 +00:00
passt/test
Giuseppe Scrivano 9a175cc2ce pasta: Allow specifying paths and names of namespaces
Based on a patch from Giuseppe Scrivano, this adds the ability to:

- specify paths and names of target namespaces to join, instead of
  a PID, also for user namespaces, with --userns

- request to join or create a network namespace only, without
  entering or creating a user namespace, with --netns-only

- specify the base directory for netns mountpoints, with --nsrun-dir

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
[sbrivio: reworked logic to actually join the given namespaces when
 they're not created, implemented --netns-only and --nsrun-dir,
 updated pasta demo script and man page]
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
2021-10-07 04:05:15 +02:00
..
build test: Add CI/demo scripts 2021-09-27 15:10:35 +02:00
demo pasta: Allow specifying paths and names of namespaces 2021-10-07 04:05:15 +02:00
dhcp test: Add CI/demo scripts 2021-09-27 15:10:35 +02:00
env test: Add CI/demo scripts 2021-09-27 15:10:35 +02:00
icmp test: Add CI/demo scripts 2021-09-27 15:10:35 +02:00
lib test/lib/term: Export PCAP and DEBUG variables for tmux sessions globally 2021-10-05 20:02:03 +02:00
ndp test: Add CI/demo scripts 2021-09-27 15:10:35 +02:00
perf test: Add CI/demo scripts 2021-09-27 15:10:35 +02:00
tcp test: Add CI/demo scripts 2021-09-27 15:10:35 +02:00
two_guests test: Add CI/demo scripts 2021-09-27 15:10:35 +02:00
udp test: Add CI/demo scripts 2021-09-27 15:10:35 +02:00
ci test: Add CI/demo scripts 2021-09-27 15:10:35 +02:00
run test: Record CI and demo videos in Xvfb by default, fix demo setup sequence 2021-09-29 16:45:26 +02:00
run_demo test: Add CI/demo scripts 2021-09-27 15:10:35 +02:00