ansible/test/integration/targets/junos_vlan/tests/netconf/net_vlan.yaml
Ganesh Nalawade c53dcd1982
Cleanup net integration test case for network modules (#34684)
*  Remove platform agnostic net_* test cases.
*  Add minimal platform agnostic test cases to individual
   platform-specific test cases
2018-01-10 21:28:49 +05:30

30 lines
771 B
YAML

---
- debug: msg="START junos netconf/net_vlan.yaml on connection={{ ansible_connection }}"
# Add minimal testcase to check args are passed correctly to
# implementation module and module run is successful.
- name: setup - remove vlan
net_vlan:
name: test-vlan
description: test vlan
state: absent
provider: "{{ netconf }}"
- name: Create vlan using platform agnostic vlan module
net_vlan:
vlan_id: 100
name: test-vlan
state: present
description: test vlan
provider: "{{ netconf }}"
register: result
- name: teardown - remove vlan
net_vlan:
name: test-vlan
description: test vlan
state: absent
provider: "{{ netconf }}"
- debug: msg="END junos netconf/net_vlan.yaml on connection={{ ansible_connection }}"