summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorGaige B Paulsen <gaige@cluetrust.com>2025-01-07 17:03:42 -0500
committerGitHub <noreply@github.com>2025-01-07 17:03:42 -0500
commitaf5b93277699b2dc3732f08573ef127b784cb2ce (patch)
tree20966b8b8e4bdfe50b1b974ae0c8f1fd936d9e12 /README.md
parentc14a524d7134b54e315d72b5b449351fd04ae813 (diff)
downloadvyos.vyos-af5b93277699b2dc3732f08573ef127b784cb2ce.tar.gz
vyos.vyos-af5b93277699b2dc3732f08573ef127b784cb2ce.zip
T7006: fix integration tests for 1.4+ interfaces (#372)
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/README.md b/README.md
index 672ae96d..c3f8d0b0 100644
--- a/README.md
+++ b/README.md
@@ -200,6 +200,21 @@ You can use `ANSIBLE_COLLECTIONS_PATH` to test the collection locally. For examp
ANSIBLE_COLLECTIONS_PATHS=~/my_dev_path ansible-playbook -i inventory.network test.yml
```
+### Integration Tests
+
+Integration tests are run using `ansible-test` and require that there be an inventory
+defined (you can pass this in with `--inventory <filename>`) and that the system be
+configured for access (recommended to use SSH keys).
+
+Additionally:
+- eth0 should be configured for `address dhcp` and should have an assigned address
+ on the local network
+- eth1 and eth2 should be defined and uncofirgured (they'll be overwritten by the tests)
+- eth3 and beyond should not be present or interface-related tests will fail
+- eth0 is also expected to show `duplex auto` and `speed auto` in the output of `show interfaces`,
+ however others are not due to the fact that they are repeatedly deleted and recreated
+ which causes the default values to be hidden.
+
## Changelogs
<!--Add a link to a changelog.md file or an external docsite to cover this information. -->