diff options
author | Matt Clay <mclay@redhat.com> | 2020-03-13 13:24:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-13 13:24:03 -0700 |
commit | 757fe7502de932cbb5f9407b65c78f00bd477682 (patch) | |
tree | ebad8d528c9ea8290c67c523b53eb04f1f3e857a | |
parent | b01a361a24bfdd8e20180e00f8290282b044ef26 (diff) | |
download | ansible-757fe7502de932cbb5f9407b65c78f00bd477682.tar.gz |
Update ansible-test network test provisioning. (#68220)
* Update network provisioning defaults.
* Update network test requirements.
4 files changed, 5 insertions, 11 deletions
diff --git a/changelogs/fragments/ansible-test-network-testing.yml b/changelogs/fragments/ansible-test-network-testing.yml new file mode 100644 index 0000000000..4b17f55f30 --- /dev/null +++ b/changelogs/fragments/ansible-test-network-testing.yml @@ -0,0 +1,2 @@ +minor_changes: + - ansible-test provisioning of network devices for ``network-integration`` has been updated to use collections. diff --git a/test/integration/network-integration.requirements.txt b/test/integration/network-integration.requirements.txt index e8c81df12a..9c4d78d6f4 100644 --- a/test/integration/network-integration.requirements.txt +++ b/test/integration/network-integration.requirements.txt @@ -1,6 +1 @@ -pexpect # for _user test -scp # for Cisco ios -selectors2 # for ncclient -ncclient # for Junos -jxmlease # for Junos -xmltodict # for Junos +scp # needed by incidental_ios_file diff --git a/test/lib/ansible_test/_data/completion/network.txt b/test/lib/ansible_test/_data/completion/network.txt index 4e8486feb5..dca911f89b 100644 --- a/test/lib/ansible_test/_data/completion/network.txt +++ b/test/lib/ansible_test/_data/completion/network.txt @@ -1,2 +1,2 @@ -ios/csr1000v connection=network_cli -vyos/1.1.8 connection=local +ios/csr1000v collection=cisco.ios connection=ansible.netcommon.network_cli +vyos/1.1.8 collection=vyos.vyos connection=ansible.netcommon.network_cli diff --git a/test/utils/shippable/incidental/network.sh b/test/utils/shippable/incidental/network.sh index 0ef1f6733b..8ca8026233 100755 --- a/test/utils/shippable/incidental/network.sh +++ b/test/utils/shippable/incidental/network.sh @@ -37,9 +37,6 @@ for python_version in "${python_versions[@]}"; do # shellcheck disable=SC2086 ansible-test network-integration --color -v --retry-on-error "${target}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} ${UNSTABLE:+"$UNSTABLE"} \ --platform "${platform}/${version}" \ - --platform-connection "${platform}=ansible.netcommon.network_cli" \ - --platform-collection "vyos=vyos.vyos" \ - --platform-collection "ios=cisco.ios" \ --docker default --python "${python_version}" \ --remote-terminate "${terminate}" --remote-stage "${stage}" --remote-provider "${provider}" done |