ansible/test/integration/targets/iosxr_static_routes/tests/cli/parsed.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

15 lines
No EOL
507 B
YAML

---
- debug:
msg: "START iosxr_static_routes parsed integration tests on connection={{ ansible_connection }}"
- block:
- name: Use parsed state to convert externally supplied device specific static routes commands to structured format
iosxr_static_routes:
running_config: "{{ lookup('file', '../../fixtures/parsed.cfg') }}"
state: parsed
register: result
- assert:
that: "{{ merged['after'] | symmetric_difference(result['parsed']) |length==0 }}"