-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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_vrf refactor #24280
Merged
Merged
nxos_vrf refactor #24280
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
trishnaguha
added
module
This issue/PR relates to a module.
networking
Network category
labels
May 4, 2017
The test
|
ansibot
added
WIP
This issue/PR is a work in progress. Nevertheless it was shared for getting input from peers.
affects_2.4
This issue/PR affects Ansible v2.4
bugfix_pull_request
ci_verified
Changes made in this PR are causing tests to fail.
labels
May 4, 2017
trishnaguha
force-pushed
the
refactor_nxos_vrf
branch
from
May 4, 2017 08:26
2426728
to
fe1c0ee
Compare
ansibot
added
community_review
In order to be merged, this PR must follow the community review workflow.
and removed
ci_verified
Changes made in this PR are causing tests to fail.
labels
May 4, 2017
trishnaguha
force-pushed
the
refactor_nxos_vrf
branch
2 times, most recently
from
May 4, 2017 08:53
919b258
to
a5b8ecd
Compare
trishnaguha
removed
the
WIP
This issue/PR is a work in progress. Nevertheless it was shared for getting input from peers.
label
May 4, 2017
Qalthos
approved these changes
May 4, 2017
@@ -139,14 +116,10 @@ def execute_show_command(command, module): | |||
|
|||
def apply_key_map(key_map, table): | |||
new_dict = {} | |||
for key, value in table.items(): | |||
for key in table.keys(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure why I did it, but there's no need for keys()
here.
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
Remove unnecessary keys() method Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
trishnaguha
force-pushed
the
refactor_nxos_vrf
branch
from
May 5, 2017 03:15
ea545ed
to
bc1a38d
Compare
rcarrillocruz
approved these changes
May 5, 2017
ansibot
added
bug
This issue/PR relates to a bug.
and removed
bugfix_pull_request
labels
Mar 6, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
affects_2.4
This issue/PR affects Ansible v2.4
bug
This issue/PR relates to a bug.
cisco
Cisco technologies
community_review
In order to be merged, this PR must follow the community review workflow.
module
This issue/PR relates to a module.
networking
Network category
nxos
Cisco NXOS community
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.
Signed-off-by: Trishna Guha trishnaguha17@gmail.com
SUMMARY
Refactor and unit test of nxos_vrf
ISSUE TYPE
COMPONENT NAME
modules/network/nxos/nxos_vrf.py
ANSIBLE VERSION