Commit graph

16 commits

Author SHA1 Message Date
Wolfgang Walther 5a0711127c
treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
rnhmjoj 632c8f720e
nixos/tests/networking: add rnhmjoj as maintainer 2025-07-11 09:44:49 +02:00
rnhmjoj 4e5205a68a
nixos/networking-interfaces: add IPIP tunnels 2025-07-11 09:44:49 +02:00
rnhmjoj 1c5b9429ea
nixos/tests/networking: test both 6in4 and UDP-encapsulated tunnels 2025-07-11 09:44:48 +02:00
rnhmjoj 1a8c90128b
nixos/network-interfaces: add option to set source address 2025-07-11 09:44:48 +02:00
rnhmjoj 54a6949722
nixos/tests/networking: test hostname via DHCP 2025-05-05 21:59:33 +02:00
Jared Baur f38d462b9b
nixosTests.networking.networkd.bond: fix flakiness
We need to do the virtio link setup prior to `network.target`, since
systemd-networkd orders itself before `network.target`. So in order for
the bond to properly enslave the two virtio links, they should be
configured as a part of `network-pre.target`.
2025-01-31 18:54:59 -08:00
K900 441c242855 nixos/tests: fix bonding test 2025-01-21 13:44:36 +03:00
Silvan Mosberger 4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
misuzu 92df50f4d0 nixos/tests/networking: fix flaky scripted.dhcpSimple test
The underlying issue is unknown, but starting
the router first and then the client makes the test not flaky.
2024-12-04 20:18:46 +02:00
Egor Savkin 8bda6ea01c tests: network: update nixosTests.networking.scripted.virtual to match correct behavior
First, `stop network-addresses-X` should clean up the addresses without deleting the interfaces. And only `stop tap0-netdev` should fully delete the interfaces.

Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-12-02 10:57:42 +08:00
rnhmjoj 9cb83c2af4
nixos/tests/networking: fix GRE test
More fallout from c6f6c282.
2024-11-30 09:51:44 +01:00
rnhmjoj 127dcca388
nixos/tests/networking: test nameservers via DHCP 2024-10-15 11:53:05 +02:00
Vladimír Čunát a3c0b3b215
Revert "nixos/tests/networking: test nameservers via DHCP"
This reverts commit bad5251e87.

https://github.com/NixOS/nixpkgs/pull/348305#issuecomment-2410165312
Should've known that commit starting with `bad` will be no good.
Fixes nixosTests.networking.networkd.dhcpSimple
https://hydra.nixos.org/build/274843085/nixlog/8/tail
2024-10-14 08:48:30 +02:00
rnhmjoj bad5251e87
nixos/tests/networking: test nameservers via DHCP 2024-09-16 08:07:55 +02:00
Janik H. 080c08d3c1
nixosTests.networking: split router into a separate file and remove with lib; antipattern
this commit also does a tiny bit more, namely:
- removing unnecessary ping's to the hosts own ip
- and simplifying a few pieces of code like changing `{ inherit (pkgs) lib pkgs; };` to `{ inherit lib pkgs; };`
2024-04-02 02:33:48 +02:00
Renamed from nixos/tests/networking.nix (Browse further)