Add examples (#58819)

* Add examples to the ios_vlan docs: vlan using aggregate and move vlan interface example
pull/53334/merge
Max Calzavara 5 years ago committed by Alicia Cozine
parent 6a5bc5f206
commit 5689cc08ce

@ -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 = """

Loading…
Cancel
Save