eos_vrf
Manage VRFs on Arista EOS network devices
Collection: arista.eos
Full Name: arista.eos.eos_vrf
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Manage VRFs on Arista EOS network devices
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| aggregate | list | |||
| associated_interfaces | list | |||
| delay | int | 10 | ||
| interfaces | list | |||
| name | str | |||
| purge | bool | false | ||
| rd | str | |||
| state | str | present |
Example
yaml
- name: Create vrf
arista.eos.eos_vrf:
name: test
rd: 1:200
interfaces:
- Ethernet2
state: present
- name: Delete VRFs
arista.eos.eos_vrf:
name: test
state: absent
- name: Create aggregate of VRFs with purge
arista.eos.eos_vrf:
aggregate:
- name: test4
rd: 1:204
- name: test5
rd: 1:205
state: present
purge: true
- name: Delete aggregate of VRFs
arista.eos.eos_vrf:
aggregate:
- name: test2
- name: test3
- name: test4
- name: test5
state: absent