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
nso_config work around ordering issues #36774
Merged
Merged
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
Include dependencies when sorting entries to avoid issues with certain versions of NSO.
ansibot
added
bugfix_pull_request
needs_triage
Needs a first human triage before being processed.
networking
Network category
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
test
This PR relates to tests.
labels
Feb 27, 2018
@cmoberg could you please review. Nice to see tests added to defend the bug fixes. |
ansibot
removed
the
needs_triage
Needs a first human triage before being processed.
label
Feb 27, 2018
Yep, this should go into 2.5 if possible. |
shipit |
1 similar comment
shipit |
gundalow
pushed a commit
to gundalow/ansible
that referenced
this pull request
Feb 27, 2018
Include dependencies when sorting entries to avoid issues with certain versions of NSO. (cherry picked from commit e75989e)
gundalow
added a commit
that referenced
this pull request
Feb 27, 2018
Merged into Thanks |
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
bug
This issue/PR relates to a bug.
cisco
Cisco technologies
networking
Network category
nso
Cisco NSO community
support:core
This issue/PR relates to code supported by the Ansible Engineering 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.
Include dependencies when sorting entries to avoid issues with
certain versions of NSO.
SUMMARY
Some version of NSO evaluate dependencies during path parsing (instead of the validate step) and thus requires elements to be set in order. Work-around this by sorting the values using the provided dependency information if any.
ISSUE TYPE
COMPONENT NAME
nso_config
ANSIBLE VERSION
ADDITIONAL INFORMATION
NA