about summary refs log tree commit diff
path: root/nixos/tests/networking.nix
Commit message (Collapse)AuthorAge
* nixosTests.networking: Port tests to pythonChristian Kampka2019-12-17
|
* nixos/tests/{ferm,networking}: fix eval with networkdLinus Heckemann2019-10-08
| | | | | | | | | | | | | | The networking.virtual test does not work with networkd yet, for multiple reasons: - network-online.target is not reached, because tun0 and tap0 are considered as required for online but _not_ brought up or assigned the configured addresses - the commands later in the test rely on some units from the scripted network setup cc @fpletz networkd exper cc @globin we looked at this together
* networking.useDHCP: disallow for networkdRobin Gloster2019-09-24
| | | | | This setting will be removed with the switch to systemd-networkd. The use of per interface config is encouraged instead.
* Merge staging-next into stagingFrederik Rietdijk2019-08-28
|\
| * Merge branch 'master' into flip-map-foreachDanylo Hlynskyi2019-08-05
| |\
| * | mass replace "flip map -> forEach"danbst2019-08-05
| | | | | | | | | | | | | | | | | | | | | See `forEach`-introduction commit. ``` rg 'flip map ' --files-with-matches | xargs sed -i 's/flip map /forEach /g' ```
| * | Revert "mass replace "flip map -> foreach""danbst2019-08-05
| | | | | | | | | | | | This reverts commit 3b0534310c89d04fc3a9c5714b5a4d0f9fb0efca.
| * | mass replace "flip map -> foreach"danbst2019-07-14
| | | | | | | | | | | | | | | | | | | | | See `foreach`-introduction commit. ``` rg 'flip map ' --files-with-matches | xargs sed -i 's/flip map /foreach /g' ```
* | | treewide: remove redundant quotesvolth2019-08-26
| |/ |/|
* | nixos/network-interfaces: make `preferTempAddr=false` work againrnhmjoj2019-07-09
|/
* treewide: remove wkennington as maintainerJörg Thalheim2019-01-26
| | | | | | He prefers to contribute to his own nixpkgs fork triton. Since he is still marked as maintainer in many packages this leaves the wrong impression he still maintains those.
* nixos/tests/networking: Fix syntax erroraszlig2018-11-12
| | | | | | | Introduced by 6c68fbd4e1f8beac39cb1f499ff90c78256262d6. Signed-off-by: aszlig <aszlig@nix.build> Cc: @Ekleog
* tests: refactor to carry the package set as an argumentLéo Gaspard2018-11-11
| | | | | This way, the package set will be possible to pass without re-importing all the time
* tests/docs: remove remnants of old allowPing default (#49198)Robin Gloster2018-10-30
| | | | | This has been defaulting to true since 16.03, we don't need this code anymore, also the note in the documentation has been obsolete for quite a while.
* nixos/tests/networking.virtual: prevent non-deterministic failure (#46949)xeji2018-09-20
| | | | The test failed non-deterministically on Hydra because interfaces sometimes weren't yet fully cleaned up when the result was checked.
* nixos/tests/networking.*.macvlan: disable reverse path checkUli Baum2018-09-02
| | | | | | | | Generated reverse path filtering rules for the macvlan interface seem to be incorrect, causing the test to fail - sometimes or always, depending on the dhcpcd version used. - Disable reverse path checking temporarily to avoid blocking the channel - Print more diagnostic information for debugging
* nixos/tests/networking: fix "virtual" testsUli Baum2018-08-26
| | | | | | | `ip route` now displays extended tun attributes, so the expected output of this test changed. Upstream change: https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=118eda77d6602616bc523a17ee45171e879d1818
* nixos/tests/networking: fix routes testsUli Baum2018-08-26
| | | | | The output format of `ip route` changed, it now explicitly shows "proto static" for static routes.
* [bot] nixos/*: remove unused arguments in lambdasvolth2018-07-20
|
* Merge pull request #27688 from rnhmjoj/routesMichael Raskin2018-02-19
|\ | | | | nixos/networking-interfaces: make static routes configurable
| * nixos/tests: rename IP addresses/routes optionsrnhmjoj2018-02-17
| |
| * nixos/networking-interfaces: rename IP addresses/routes optionsrnhmjoj2018-02-17
| |
| * nixos/tests: add test for static routesrnhmjoj2018-02-17
| |
* | nixos/tests: fix random failures of privacy testrnhmjoj2018-02-17
|/
* nixos/tests: add test for temporary IPv6 addressesrnhmjoj2018-02-01
|
* nixos/tests: add test for virtual interfacesrnhmjoj2018-01-31
|
* nixos/networking: network is online if default gw setFranz Pletz2017-09-18
| | | | | | | | | | Previously services depending on network-online.target would wait until dhcpcd times out if it was enabled and a static network address configuration was used. Setting the default gateway statically is enough for the networking to be considered online. This also adjusts the relevant networking tests to wait for network-online.target instead of just network.target.
* networking/bonds: fix examplesProfpatsch2017-03-08
| | | | | | | After the change of the bonding options, the examples were not quite correct. The diff is over-the top because the new `let` needs everything indented. Also add a small docstring to the `networkd` attr in the networking test.
* Merge pull request #22822 from Mic92/iputilsJörg Thalheim2017-02-22
|\ | | | | iputils: 20151218 -> 20161105
| * replace ping6 with pingJörg Thalheim2017-02-17
| | | | | | | | | | | | | | | | | | reason: after the upgrade of iputils from 20151218 to 20161105 functionality of ping6 and tracepath6 was merged into ping and tracepath. Ping is now mostly a drop-in replacment for ping6, except that selecting a specific interface is done by encoding it into the address (ex.: fe80::1%eth0) rather then specifing it with the `-I` flag.
* | networking.bonds: add support for arbitrary driverOptionsProfpatsch2017-02-16
|/ | | | | | | | | Until now the four attributes available very selectively provided a small subset, while copying upstream documentation. We make driver options an arbitrary key-value set and point to kernel documentation, which is always up-to-date. This way every option can be set. The four already existing options are deprecated with a warning.
* networking test: test IPv6 with RA and DHCPv6Nikolay Amiantov2017-01-15
|
* tests.networking: remove network-interfaces.targetAlexander Ried2016-09-13
|
* nixos/tests/networking: Expose subtests via attrsaszlig2016-03-01
| | | | | | | | | | | | | | | So far the networking test expression only generated a single test depending on the passed "test" attribute. This makes it difficult to autodiscover the subtests with our shiny new callSubTests function. This change essentially doesn't change the behaviour of the subtests but rather exposes them as an attribute set instead of relying on a particular input argument. The useNetworkd argument still exists however. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @wkennington
* nixos/tests/networking: Add a test for loopbackaszlig2015-12-18
| | | | | | | | | | | | | | | | It serves as a regression test, because right now if you enable networking.useNetworkd the default loopback interface doesn't get assigned any IP addresses. To be sure, I have bisected this and it has been introduced with the update to systemd 228 in 1da87d4. Only the "scripted" networking tests have to succeed in order to trigger a channel update of nixos-unstable, so I'm leaving this test as broken and we have to figure out next what's the *exact* reason for the breakage. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* all tests: added meta.maintainers sectionJoachim Schiele2015-07-12
|
* nixos/tests/networking: Clean up and attempt to make more reliableWilliam A. Kennington III2015-04-10
|
* nixos/network: Remove debug output in testsWilliam A. Kennington III2014-11-30
|
* nixos/networking: More fixesWilliam A. Kennington III2014-11-29
|
* nixos/tests: Add networking tests for basic functionalityWilliam A. Kennington III2014-11-29