ansible/test/integration/targets/iosxr_static_routes/tests/cli/gathered.yaml
Nilashish Chakraborty 3405ee1c01
Add iosxr_static_routes RM (#65181)
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
2020-02-27 14:31:00 +05:30

20 lines
537 B
YAML

---
- debug:
msg: "START iosxr_static_routes gathered integration tests on connection={{ ansible_connection }}"
- include_tasks: _remove_config.yaml
- include_tasks: _populate_config.yaml
- block:
- name: Gather static routes facts from the device using iosxr_static_routes module
iosxr_static_routes:
state: gathered
register: result
- assert:
that: "{{ replaced['before'] | symmetric_difference(result['gathered']) |length == 0 }}"
always:
- include_tasks: _remove_config.yaml