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
IT cases for nxos_logging #39929
Merged
Merged
IT cases for nxos_logging #39929
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
ansibot
added
bug
This issue/PR relates to a bug.
needs_triage
Needs a first human triage before being processed.
networking
Network category
nxos
Cisco NXOS community
support:network
This issue/PR relates to code supported by the Ansible Network Team.
test
This PR relates to tests.
labels
May 9, 2018
jborean93
removed
the
needs_triage
Needs a first human triage before being processed.
label
May 10, 2018
trishnaguha
reviewed
May 10, 2018
- { dest: module, dest_level: 2, state: absent } | ||
- { dest: monitor, dest_level: 3, state: absent } | ||
- { dest: logfile, dest_level: 1, name: test, state: absent } | ||
- { facility: daemon, facility_level: 4, state: absent } |
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.
since state: absent
is common with all the aggregate items, right way to frame this is as follows:
- name: remove logging as collection tearDown
nxos_logging: &agg
aggregate:
- - { dest: console, dest_level: 0, state: absent }
- - { dest: module, dest_level: 2, state: absent }
- - { dest: monitor, dest_level: 3, state: absent }
- - { dest: logfile, dest_level: 1, name: test, state: absent }
- - { facility: daemon, facility_level: 4, state: absent }
+ - { dest: console, dest_level: 0 }
+ - { dest: module, dest_level: 2 }
+ - { dest: monitor, dest_level: 3 }
+ - { dest: logfile, dest_level: 1, name: test }
+ - { facility: daemon, facility_level: 4 }
+ state: absent
provider: "{{ connection }}"
register: result
@trishnaguha Thanks for the comments. Made the changes. |
trishnaguha
approved these changes
May 11, 2018
oolongbrothers
pushed a commit
to oolongbrothers/ansible
that referenced
this pull request
May 12, 2018
* IT cases for nxos_logging * review comment
oolongbrothers
pushed a commit
to oolongbrothers/ansible
that referenced
this pull request
May 14, 2018
* IT cases for nxos_logging * review comment
oolongbrothers
pushed a commit
to oolongbrothers/ansible
that referenced
this pull request
May 14, 2018
* IT cases for nxos_logging * review comment
tonal
pushed a commit
to tonal/ansible
that referenced
this pull request
May 15, 2018
* IT cases for nxos_logging * review comment
cherry-picked to 2.5 |
trishnaguha
moved this from Need CP into 2.5.3
to Done
in zzz NOT USED: Networking Bugs
May 15, 2018
trishnaguha
pushed a commit
to trishnaguha/ansible
that referenced
this pull request
May 15, 2018
* IT cases for nxos_logging * review comment (cherry picked from commit 2557c06)
oolongbrothers
pushed a commit
to oolongbrothers/ansible
that referenced
this pull request
May 15, 2018
* IT cases for nxos_logging * review comment
oolongbrothers
pushed a commit
to oolongbrothers/ansible
that referenced
this pull request
May 15, 2018
* IT cases for nxos_logging * review comment
trishnaguha
added a commit
that referenced
this pull request
May 16, 2018
* Fix nxos terminal plugin regex (#39659) Fix nxos terminal plugin regex to match command prompt without newline character as prefix (cherry picked from commit 0ac222d) * remove purge from nxos_logging doc, argspec (#39947) * remove purge from nxos_logging doc, argspec Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * shippable Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> (cherry picked from commit f1103a7) * IT cases for nxos_logging (#39929) * IT cases for nxos_logging * review comment (cherry picked from commit 2557c06) * fix nxos_ping issues (#40028) (cherry picked from commit 6fac574) * Fix vxlan_vtep_vni tests (#39968) (cherry picked from commit 0407c51) * ios cliconf plugin fix regex for version (#40066) Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> (cherry picked from commit 5cf61d7) * update changelog Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * shippable Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
ilicmilan
pushed a commit
to ilicmilan/ansible
that referenced
this pull request
Nov 7, 2018
* IT cases for nxos_logging * review comment
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
nxos
Cisco NXOS 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
IT cases for nxos_logging
ISSUE TYPE
COMPONENT NAME
nxos_logging
ANSIBLE VERSION
ADDITIONAL INFORMATION