Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for the N3500 platform that uses the A8 image #36261

Merged
merged 4 commits into from Feb 17, 2018

Conversation

rahushen
Copy link
Contributor

SUMMARY

Some of the newer module added in Ansible 2.5 were failing on the N35 platform. This PR addresses those failures.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME
  • nxos_lldp
  • nxos_linkagg
  • nxos_l3_interface
ANSIBLE VERSION
ansible 2.5.0b1 (stable-2.5 a7a03bbf4a) last updated 2018/02/15 12:05:44 (GMT -400)
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /root/agents-ci/ansible/lib/ansible
  executable location = /root/agents-ci/ansible/bin/ansible
  python version = 2.7.6 (default, Oct 26 2016, 20:30:19) [GCC 4.8.4]

@rahushen
Copy link
Contributor Author

@trishnaguha Please prioritize this PR as these commits need to make it into 2.5

@ansibot
Copy link
Contributor

ansibot commented Feb 15, 2018

@ansibot ansibot added bugfix_pull_request core_review In order to be merged, this PR must follow the core review workflow. module This issue/PR relates to a module. needs_triage Needs a first human triage before being processed. networking Network category nxos Cisco NXOS community support:community This issue/PR relates to code supported by the Ansible community. support:network This issue/PR relates to code supported by the Ansible Network Team. test This PR relates to tests. labels Feb 15, 2018
@@ -236,6 +236,9 @@ def main():
cmds = get_commands(proposed, existing, state, module)

if cmds:
# On N35 A8 images, some features return a yes/no prompt
# on enablement or disablement. Bypass using terminal dont-ask
cmds.insert(0, 'terminal dont-ask')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please make sure to test these changes across our platform matrix.

@ansibot ansibot added needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. and removed core_review In order to be merged, this PR must follow the core review workflow. needs_triage Needs a first human triage before being processed. labels Feb 15, 2018
@mattclay
Copy link
Member

@mattclay mattclay added the ci_verified Changes made in this PR are causing tests to fail. label Feb 15, 2018
@trishnaguha trishnaguha self-assigned this Feb 16, 2018
@trishnaguha trishnaguha added this to the 2.5.0 milestone Feb 16, 2018
@trishnaguha
Copy link
Member

@rahushen Thanks for the PR. Please confirm that this PR has been tested across the platforms. We are good to merge after you fix the unittest failure.

@ansibot
Copy link
Contributor

ansibot commented Feb 16, 2018

@ansibot ansibot added support:core This issue/PR relates to code supported by the Ansible Engineering Team. and removed ci_verified Changes made in this PR are causing tests to fail. labels Feb 16, 2018
@ansibot ansibot added core_review In order to be merged, this PR must follow the core review workflow. and removed needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. labels Feb 16, 2018
@trishnaguha trishnaguha merged commit e24c547 into ansible:devel Feb 17, 2018
trishnaguha pushed a commit to trishnaguha/ansible that referenced this pull request Feb 17, 2018
* fix nxos_l3_interface tests as n35 doesn't support ipv6

* add terminal dont-ask to nxos_feature and nxos_lldp

* put interfaces in L2 mode for N35

* fix nxos_feature unit-tests

(cherry picked from commit e24c547)
trishnaguha added a commit that referenced this pull request Feb 17, 2018
* Fix nxos_system tests (#36201)

* Fix nxos_system tests

* Add debug connection plugin info

* Move sanity test under common

(cherry picked from commit 5b5d246)

* Fixes for the N3500 platform that uses the A8 image (#36261)

* fix nxos_l3_interface tests as n35 doesn't support ipv6

* add terminal dont-ask to nxos_feature and nxos_lldp

* put interfaces in L2 mode for N35

* fix nxos_feature unit-tests

(cherry picked from commit e24c547)
@trishnaguha
Copy link
Member

cherry-picked to stable-2.5

@ansibot ansibot added bug This issue/PR relates to a bug. and removed bugfix_pull_request labels Mar 6, 2018
@dagwieers dagwieers added the cisco Cisco technologies label Feb 23, 2019
@ansible ansible locked and limited conversation to collaborators Apr 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug This issue/PR relates to a bug. cisco Cisco technologies core_review In order to be merged, this PR must follow the core review workflow. module This issue/PR relates to a module. networking Network category nxos Cisco NXOS community support:community This issue/PR relates to code supported by the Ansible community. support:core This issue/PR relates to code supported by the Ansible Engineering Team. support:network This issue/PR relates to code supported by the Ansible Network Team. test This PR relates to tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants