]> ruderich.org/simon Gitweb - linux-network-namespace-labs/linux-network-namespace-labs.git/log
linux-network-namespace-labs/linux-network-namespace-labs.git
8 weeks agoconfig: "link": make net-name optional for unnumbered ptp-links master
Simon Ruderich [Wed, 30 Apr 2025 08:14:40 +0000 (10:14 +0200)]
config: "link": make net-name optional for unnumbered ptp-links

Helped-by: Luca <luca@daerich.com>
8 weeks agodot: quote nodes in dotlang to allow for special chars
Luca [Thu, 24 Apr 2025 18:56:52 +0000 (20:56 +0200)]
dot: quote nodes in dotlang to allow for special chars

[sr: replace "\"%s\"" with "%q", don't escape in HTML label which causes
extra quotes]

Signed-off-by: Luca <luca@daerich.com>
8 weeks agoci: fix typo in comment
Simon Ruderich [Wed, 30 Apr 2025 07:17:46 +0000 (09:17 +0200)]
ci: fix typo in comment

7 months agoci: fix typo in comment
Simon Ruderich [Fri, 22 Nov 2024 07:46:44 +0000 (08:46 +0100)]
ci: fix typo in comment

7 months agoReplace (undocumented) "link-l3" option with argument for "link"
Simon Ruderich [Fri, 15 Nov 2024 08:18:48 +0000 (09:18 +0100)]
Replace (undocumented) "link-l3" option with argument for "link"

7 months agoDon't abort on "down" when process doesn't exist
Simon Ruderich [Fri, 15 Nov 2024 08:00:44 +0000 (09:00 +0100)]
Don't abort on "down" when process doesn't exist

7 months agoci: sort examples
Simon Ruderich [Fri, 15 Nov 2024 08:00:36 +0000 (09:00 +0100)]
ci: sort examples

7 months agoREADME: update
Simon Ruderich [Fri, 15 Nov 2024 07:38:49 +0000 (08:38 +0100)]
README: update

7 months agoexamples: add READMEs
Simon Ruderich [Fri, 15 Nov 2024 07:38:37 +0000 (08:38 +0100)]
examples: add READMEs

7 months agoci: run examples/podman-frr
Simon Ruderich [Fri, 15 Nov 2024 06:58:07 +0000 (07:58 +0100)]
ci: run examples/podman-frr

7 months agoci: check if examples properly cleanup files in /etc/netns/
Simon Ruderich [Fri, 15 Nov 2024 06:55:18 +0000 (07:55 +0100)]
ci: check if examples properly cleanup files in /etc/netns/

7 months agoci: run examples/bird-ospf
Simon Ruderich [Thu, 14 Nov 2024 08:09:13 +0000 (09:09 +0100)]
ci: run examples/bird-ospf

7 months agoAdd (sr.ht) CI to run examples
Simon Ruderich [Wed, 13 Nov 2024 16:47:44 +0000 (17:47 +0100)]
Add (sr.ht) CI to run examples

7 months agoREADME: split build and run dependencies
Simon Ruderich [Tue, 12 Nov 2024 20:42:11 +0000 (21:42 +0100)]
README: split build and run dependencies

7 months agoAdd (gitlab) CI
Simon Ruderich [Sun, 10 Nov 2024 22:51:53 +0000 (23:51 +0100)]
Add (gitlab) CI

7 months agoAdd README and basic examples
Simon Ruderich [Wed, 6 Nov 2024 11:21:01 +0000 (12:21 +0100)]
Add README and basic examples

7 months agoDisallow node names which are numbers
Simon Ruderich [Tue, 5 Nov 2024 06:46:17 +0000 (07:46 +0100)]
Disallow node names which are numbers

7 months agoImprove error message when parsing output of `ip -json link`
Simon Ruderich [Tue, 5 Nov 2024 06:42:11 +0000 (07:42 +0100)]
Improve error message when parsing output of `ip -json link`

7 months agoFix code formatting
Simon Ruderich [Tue, 5 Nov 2024 06:41:53 +0000 (07:41 +0100)]
Fix code formatting

7 months agoAdd "down" command to remove an existing lab
Simon Ruderich [Mon, 4 Nov 2024 08:03:55 +0000 (09:03 +0100)]
Add "down" command to remove an existing lab

7 months agoUse separate "up" and "dot" commands
Simon Ruderich [Mon, 4 Nov 2024 07:48:08 +0000 (08:48 +0100)]
Use separate "up" and "dot" commands

7 months agoMove setup code to separate file
Simon Ruderich [Mon, 4 Nov 2024 07:35:16 +0000 (08:35 +0100)]
Move setup code to separate file

7 months agoUpdate comment
Simon Ruderich [Mon, 4 Nov 2024 07:28:31 +0000 (08:28 +0100)]
Update comment

7 months agoAdd new option "link-l3" to create layer 3 links (no ARP) using netkit
Simon Ruderich [Sun, 3 Nov 2024 09:32:51 +0000 (10:32 +0100)]
Add new option "link-l3" to create layer 3 links (no ARP) using netkit

"link" uses veth which is layer 2 and requires ARP to function.

netkit requires Linux kernel >= 6.7 and iproute2 >= 6.8.

Thanks to lemmi in OFTC/#kernelnewbies for telling me about netkit.

7 months agoImprove error message when parsing output of `ip netns pids`
Simon Ruderich [Sun, 3 Nov 2024 08:25:33 +0000 (09:25 +0100)]
Improve error message when parsing output of `ip netns pids`

This is very unlikely to fail but debugging such errors is painful
without the original output.

7 months agoUse separate function for better code readability
Simon Ruderich [Sun, 3 Nov 2024 08:24:16 +0000 (09:24 +0100)]
Use separate function for better code readability

7 months agoPermit arbitrary whitespace between fields in config file
Simon Ruderich [Fri, 1 Nov 2024 08:49:38 +0000 (09:49 +0100)]
Permit arbitrary whitespace between fields in config file

7 months agoAdd "cmd" option to start commands on each node
Simon Ruderich [Fri, 1 Nov 2024 08:37:16 +0000 (09:37 +0100)]
Add "cmd" option to start commands on each node

7 months agoTerminate programs in namespaces before deleting them
Simon Ruderich [Fri, 1 Nov 2024 08:35:33 +0000 (09:35 +0100)]
Terminate programs in namespaces before deleting them

7 months agoEnable IPv4/IPv6 forwarding for nodes
Simon Ruderich [Fri, 1 Nov 2024 07:51:37 +0000 (08:51 +0100)]
Enable IPv4/IPv6 forwarding for nodes

This tool is focused on network labs which almost always require
routing.

7 months agoAdd support to generate dot files of the network
Simon Ruderich [Fri, 1 Nov 2024 07:43:55 +0000 (08:43 +0100)]
Add support to generate dot files of the network

The resulting image (after running `dot`) isn't perfect but good enough
to get a quick overview of the network.

7 months agoFirst working version
Simon Ruderich [Sun, 27 Oct 2024 20:33:26 +0000 (21:33 +0100)]
First working version

8 months agoInitial commit
Simon Ruderich [Sun, 27 Oct 2024 07:18:59 +0000 (08:18 +0100)]
Initial commit