-
Notifications
You must be signed in to change notification settings - Fork 23.8k
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
Fix issues with nxos_os_install module #48811
Merged
trishnaguha
merged 11 commits into
ansible:devel
from
mikewiebe-ansible:rel280/fix_nxos_install_os
Nov 20, 2018
Merged
Fix issues with nxos_os_install module #48811
trishnaguha
merged 11 commits into
ansible:devel
from
mikewiebe-ansible:rel280/fix_nxos_install_os
Nov 20, 2018
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi @mikewiebe, thank you for submitting this pull-request! |
The test
The test
|
trishnaguha
approved these changes
Nov 20, 2018
Thanks for the PR @mikewiebe |
trishnaguha
pushed a commit
to trishnaguha/ansible
that referenced
this pull request
Nov 29, 2018
* Use expect module to copy files * Remove old and redundant upgrade files * Return error message instead of code * Cleanup copy command code * Fix force issue in nxos_install_os * new nxos_install_os integration tests * Uncomment transport tests * Revert negative test change * Remove combined option that is no longer required * Make shippable happy * Add n5k test files (cherry picked from commit a721572)
trishnaguha
pushed a commit
to trishnaguha/ansible
that referenced
this pull request
Nov 29, 2018
* Use expect module to copy files * Remove old and redundant upgrade files * Return error message instead of code * Cleanup copy command code * Fix force issue in nxos_install_os * new nxos_install_os integration tests * Uncomment transport tests * Revert negative test change * Remove combined option that is no longer required * Make shippable happy * Add n5k test files (cherry picked from commit a721572)
mjmayer
pushed a commit
to mjmayer/ansible
that referenced
this pull request
Nov 30, 2018
* Use expect module to copy files * Remove old and redundant upgrade files * Return error message instead of code * Cleanup copy command code * Fix force issue in nxos_install_os * new nxos_install_os integration tests * Uncomment transport tests * Revert negative test change * Remove combined option that is no longer required * Make shippable happy * Add n5k test files
abadger
pushed a commit
that referenced
this pull request
Dec 4, 2018
* Use expect module to copy files * Remove old and redundant upgrade files * Return error message instead of code * Cleanup copy command code * Fix force issue in nxos_install_os * new nxos_install_os integration tests * Uncomment transport tests * Revert negative test change * Remove combined option that is no longer required * Make shippable happy * Add n5k test files (cherry picked from commit a721572)
Tomorrow9
pushed a commit
to Tomorrow9/ansible
that referenced
this pull request
Dec 4, 2018
* Use expect module to copy files * Remove old and redundant upgrade files * Return error message instead of code * Cleanup copy command code * Fix force issue in nxos_install_os * new nxos_install_os integration tests * Uncomment transport tests * Revert negative test change * Remove combined option that is no longer required * Make shippable happy * Add n5k test files
mattclay
pushed a commit
that referenced
this pull request
Dec 10, 2018
* Use expect module to copy files * Remove old and redundant upgrade files * Return error message instead of code * Cleanup copy command code * Fix force issue in nxos_install_os * new nxos_install_os integration tests * Uncomment transport tests * Revert negative test change * Remove combined option that is no longer required * Make shippable happy * Add n5k test files (cherry picked from commit a721572)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
affects_2.8
This issue/PR affects Ansible v2.8
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:network
This issue/PR relates to code supported by the Ansible Network Team.
test
This PR relates to tests.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SUMMARY
module_utils/network/nxos/nxos.py
where only the code-32603
was returned by theload_config
function fornetwork_cli
in cases where an invalid command is sent or the connection times out.load_config
now returns the actual error so upstream consumers have more data to process.nxos_install_os
force
keyword in thenxos_install_os
module as it's not supported on all platforms. The fix tomodule_utils/network/nxos/nxos.py
was needed for this fix.nxos_file_copy
module in the tests.nxos_file_copy
to make the code more readable for copies initiated from the nxos device.ISSUE TYPE
COMPONENT NAME
nxos_install_os
ADDITIONAL INFORMATION
Changes tested against: