mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 05:40:23 -07:00
ios integration tests to network_cli (#33920)
* Preliminary steps * Fix Python3 network_cli ios * Add connection to debug strings * Fix ios confirm prompt by way of optional newline Also update ios_user delete tests
This commit is contained in:
parent
8d5c8b252d
commit
cb1b705218
56 changed files with 358 additions and 102 deletions
|
@ -6,6 +6,7 @@
|
|||
name: 172.16.0.1
|
||||
state: absent
|
||||
authorize: yes
|
||||
become: yes
|
||||
|
||||
- name: Remove console
|
||||
ios_logging:
|
||||
|
@ -13,6 +14,7 @@
|
|||
level: warnings
|
||||
state: absent
|
||||
authorize: yes
|
||||
become: yes
|
||||
|
||||
- name: Remove buffer
|
||||
ios_logging:
|
||||
|
@ -20,6 +22,7 @@
|
|||
size: 8000
|
||||
authorize: yes
|
||||
state: absent
|
||||
become: yes
|
||||
|
||||
# start tests
|
||||
- name: Set up host logging
|
||||
|
@ -29,6 +32,7 @@
|
|||
facility: local7
|
||||
state: present
|
||||
authorize: yes
|
||||
become: yes
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
@ -43,6 +47,7 @@
|
|||
name: 172.16.0.1
|
||||
state: present
|
||||
authorize: yes
|
||||
become: yes
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
@ -55,6 +60,7 @@
|
|||
name: 172.16.0.1
|
||||
state: absent
|
||||
authorize: yes
|
||||
become: yes
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
@ -68,6 +74,7 @@
|
|||
name: 172.16.0.1
|
||||
state: absent
|
||||
authorize: yes
|
||||
become: yes
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
@ -80,6 +87,7 @@
|
|||
level: warnings
|
||||
state: present
|
||||
authorize: yes
|
||||
become: yes
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
@ -92,6 +100,7 @@
|
|||
dest: buffered
|
||||
size: 8000
|
||||
authorize: yes
|
||||
become: yes
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
@ -105,6 +114,7 @@
|
|||
- { dest: console, level: notifications }
|
||||
- { dest: buffered, size: 9000 }
|
||||
authorize: yes
|
||||
become: yes
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
@ -120,6 +130,7 @@
|
|||
- { dest: buffered, size: 9000 }
|
||||
state: absent
|
||||
authorize: yes
|
||||
become: yes
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue