cisco.nxos
cisco.nxos copied to clipboard
added l3_peer_router functionality + documentation + tests
SUMMARY
VPC module was missing a simple flag to enabling/disabling Layer 3 Peer Router functionality. I pretty much duplicated exactly how peer_gw bool is implemented and tested on nexus 5k and 9k's in my environment.
ISSUE TYPE
- Feature Pull Request
COMPONENT NAME
nxos_vpc
ADDITIONAL INFORMATION
recheck
recheck
recheck
I don't understand why that fails randomly but had a 100% successful run once
@loganbest It is a CI infra issue on our end.
recheck
recheck
@loganbest The integration tests are consistently failing for following test case:
- https://github.com/ansible-collections/cisco.nxos/blob/main/tests/integration/targets/nxos_vpc/tests/common/sanity.yaml#L139-L144 (no layer3 peer-router\r\r\nERROR: Please enable peer-gateway before configuring this feature\r\n\rnxos-9kv-I5(config-vpc-domain)#)
@NilashishC Do you have a link to which test is failing? the ansible/check is green and the only things I see failing in the non-voting integration tests are not related to my change it seems
@loganbest The integration test jobs for NX-OS are set to non-voting because of random flakiness in our CI. You must have noticed that all the *-scenario03 jobs have failed. That is where the nxos_vpc target is tested.
Here's the job output log from one of the scenario03 jobs: https://ab9543f5173227672f5f-50546db36105ea883c1501741b816920.ssl.cf1.rackcdn.com/316/41b047d0c447157bfacf84280f7b5dfffe2569cd/check/ansible-test-network-integration-nxos-cli-python36-scenario03/4828e1b/job-output.txt
You'd have to grep for "failed=1".
I was also able to reproduce the issue by running the nxos_vpc test locally against NX-OS 7.0.3.I5.1 and 9.3.6.
hi, is there any issue with this PR now?
hi, is there any issue with this PR now?
Yes, the issue I specified in my previous comment needs to be addressed before we can merge this PR.
@NilashishC thanks for the info! @loganbest could you please take a look at https://github.com/ansible-collections/cisco.nxos/pull/316#issuecomment-885409786 ?
Build succeeded.
:heavy_check_mark: ansible-galaxy-importer SUCCESS in 4m 06s :heavy_check_mark: build-ansible-collection SUCCESS in 3m 20s :x: ansible-ee-integration-cisco-nxos-cli-python39-latest FAILURE in 2h 10m 02s (non-voting) :heavy_check_mark: ansible-tox-linters SUCCESS in 5m 38s
Closing this PR due to lack of activity.