Skip to content
Snippets Groups Projects
Commit 647dbe5a authored by Rafael Da Silveira Santos's avatar Rafael Da Silveira Santos
Browse files

Remove old files

parent b6a38238
Branches
No related tags found
No related merge requests found
---
- name: Set Interface description
loop: "{{ service.fabric[hostname].interfaces }}"
loop_control:
loop_var: interface
arista.eos.eos_interfaces:
config:
- name: "{{ interface.name }}"
description: "{{ interface.description }}"
- name: Configure Interface VLAN
loop: "{{ service.fabric[hostname].interfaces }}"
loop_control:
loop_var: interface
arista.eos.eos_l2_interfaces:
config:
- name: "{{ interface.name }}"
mode : access
access:
vlan: "{{ service.fabric[hostname].vlan }}"
---
- name: Configure VTEP flooding
when: device.key != hostname
loop: "{{ lookup('ansible.builtin.dict', service.fabric) }}"
loop_control:
loop_var: device
arista.eos.eos_command:
commands:
- "conf t"
- "interface vxlan 1"
- "vxlan vlan {{ service.fabric[hostname].vlan }} flood vtep fc00:0:0:2{{ device.key.split('L')[-1] }}::"
- "exit"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment