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
nxos_interface: Fix admin_state check for n6k #55673
Merged
trishnaguha
merged 2 commits into
ansible:devel
from
mikewiebe-ansible:fix_nxos_interface
May 8, 2019
Merged
nxos_interface: Fix admin_state check for n6k #55673
trishnaguha
merged 2 commits into
ansible:devel
from
mikewiebe-ansible:fix_nxos_interface
May 8, 2019
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
mikewiebe
changed the title
[WIP] Fix admin_state check for n6k
[WIP] nxos_interface: Fix admin_state check for n6k
Apr 23, 2019
ansibot
added
WIP
This issue/PR is a work in progress. Nevertheless it was shared for getting input from peers.
affects_2.9
This issue/PR affects Ansible v2.9
bug
This issue/PR relates to a bug.
cisco
Cisco technologies
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
owner_pr
This PR is made by the module's maintainer.
support:network
This issue/PR relates to code supported by the Ansible Network Team.
labels
Apr 23, 2019
ansibot
removed
the
needs_triage
Needs a first human triage before being processed.
label
Apr 24, 2019
ansibot
added
test
This PR relates to tests.
and removed
owner_pr
This PR is made by the module's maintainer.
labels
Apr 24, 2019
mikewiebe
changed the title
[WIP] nxos_interface: Fix admin_state check for n6k
nxos_interface: Fix admin_state check for n6k
Apr 24, 2019
ansibot
added
core_review
In order to be merged, this PR must follow the core review workflow.
and removed
WIP
This issue/PR is a work in progress. Nevertheless it was shared for getting input from peers.
labels
Apr 24, 2019
Please cherry-pick to stable2.8 |
ansibot
added
the
stale_ci
This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
label
May 4, 2019
trishnaguha
approved these changes
May 8, 2019
trishnaguha
pushed a commit
to trishnaguha/ansible
that referenced
this pull request
May 8, 2019
* Fix admin_state check for n6k * Fix rx and tx_rate intent check test (cherry picked from commit bceca72)
abadger
pushed a commit
that referenced
this pull request
May 21, 2019
* Fix admin_state check for n6k * Fix rx and tx_rate intent check test (cherry picked from commit bceca72)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
affects_2.9
This issue/PR affects Ansible v2.9
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
stale_ci
This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
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
This PR fixes two problems with the nxos_interface module:
admin_state
key as part of the structured output for theshow interface
command.tx_rate
negative test. The counters can be greater then 0 when the test runs so we first clear the counters and then set test rate to a high value to ensure the test fails.ISSUE TYPE
COMPONENT NAME
nxos_interface
ADDITIONAL INFORMATION
Tested on N3k, N6k, N7k, N9k platforms