iosxr modules aggregate check and other minor refactor (#28360)

*  iosxr aggregate validation
*  vyos_user, junos_user minor changes
*  Aggregated documentation
This commit is contained in:
Ganesh Nalawade
2017-08-18 09:50:35 +05:30
committed by GitHub
parent ceef4f97ed
commit 9ab9945cf3
7 changed files with 150 additions and 71 deletions

View File

@@ -100,11 +100,26 @@
- 'result.changed == true'
- '"logging buffered 4800000" in result.commands'
- name: Change logging parameters using aggregate
iosxr_logging:
aggregate:
- { dest: console, level: notifications }
- { dest: buffered, size: 4700000 }
provider: "{{ cli }}"
register: result
- assert:
that:
- 'result.changed == true'
- '"logging buffered 4700000" in result.commands'
- '"logging console notifications" in result.commands'
- name: remove logging as collection tearDown
iosxr_logging:
aggregate:
- { dest: console, level: warning, state: absent }
- { dest: buffered, size: 4800000, state: absent }
- { dest: console, level: notifications }
- { dest: buffered, size: 4700000 }
state: absent
provider: "{{ cli }}"
register: result