Add examples (#58819)

* Add examples to the ios_vlan docs: vlan using aggregate and move vlan interface example
This commit is contained in:
Max Calzavara 2019-07-08 21:10:10 +02:00 committed by Alicia Cozine
parent 6a5bc5f206
commit 5689cc08ce

View file

@ -85,6 +85,19 @@ EXAMPLES = """
ios_vlan:
vlan_id: 100
state: absent
- name: Add vlan using aggregate
ios_vlan:
aggregate:
- { vlan_id: 100, name: test-vlan, interfaces: [GigabitEthernet0/1, GigabitEthernet0/2], delay: 15, state: suspend }
- { vlan_id: 101, name: test-vlan, interfaces: GigabitEthernet0/3 }
- name: Move interfaces to a different VLAN
ios_vlan:
vlan_id: 102
interfaces:
- GigabitEthernet0/0
- GigabitEthernet0/1
"""
RETURN = """