Fix junos_vlan integration test failure (#28613)

This commit is contained in:
Ganesh Nalawade 2017-08-24 21:03:04 -04:00 committed by GitHub
parent 061fe51e9a
commit 7d8a4b13a5

View file

@ -115,8 +115,9 @@
- name: Create vlan configuration using aggregate
junos_vlan:
aggregate:
- { vlan_id: 159, name: test_vlan_1, description: test vlan-1 }
- name: test_vlan_2
- { vlan_id: 159, name: test_vlan_1 }
- { vlan_id: 161, name: test_vlan_2 }
description: test vlan
provider: "{{ netconf }}"
register: result
@ -125,7 +126,8 @@
- 'result.changed == true'
- result.diff.prepared | search("\+ *test_vlan_1")
- result.diff.prepared | search("\+ *vlan-id 159")
- result.diff.prepared | search("\+ *test_vlan_2")
- result.diff.prepared | search("\+ *vlan-id 161")
- result.diff.prepared | search("\+ *description \"test vlan\"")
- name: Deactivate vlan configuration using aggregate
junos_vlan: