summaryrefslogtreecommitdiff
path: root/tests/integration/targets/vyos_ospfv2/tests/cli/parsed.yaml
blob: ad5b005dffa54fdba0b3c7d657dcaa4fae96e732 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
- debug:
    msg: START vyos_ospfv2 parsed integration tests on connection={{ ansible_connection }}

- name: Parse externally provided ospfv2 config to agnostic model
  register: result
  vyos.vyos.vyos_ospfv2:
    running_config: "{{ lookup('file', '_parsed_config.cfg') }}"
    state: parsed

- name: Assert that config was correctly parsed
  assert:
    that:
      - "{{ parsed['after'] == result['parsed'] }}"