mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 14:40:19 -07:00
eos aggregate spec validation and doc changes (#28414)
* Add aggregate validation for eos DI modules * Doc change to add aggregate examples
This commit is contained in:
parent
c74be156b1
commit
4f54d6cea1
5 changed files with 184 additions and 86 deletions
|
@ -51,6 +51,23 @@ EXAMPLES = """
|
|||
net_vrf:
|
||||
name: MANAGEMENT
|
||||
state: absent
|
||||
|
||||
- name: Create aggregate of VRFs with purge
|
||||
net_vrf:
|
||||
aggregate:
|
||||
- { name: test4, rd: "1:204" }
|
||||
- { name: test5, rd: "1:205" }
|
||||
state: present
|
||||
purge: yes
|
||||
|
||||
- name: Delete aggregate of VRFs
|
||||
net_vrf:
|
||||
aggregate:
|
||||
- name: test2
|
||||
- name: test3
|
||||
- name: test4
|
||||
- name: test5
|
||||
state: absent
|
||||
"""
|
||||
|
||||
RETURN = """
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue