Debian Codegraph @

ansible_collections/dellemc/enterprise_sonic/playbooks/common_examples/sonic_vxlans_config.yaml

raw symbols SCIP
1 ---
2 - name: Ansible resource module example
3 hosts: datacenter
4 gather_facts: false
5 connection: httpapi
6 collections:
7 - dellemc.enterprise_sonic
8 tasks:
9 - name: Add VLANs configuration
10 sonic_vlans:
11 config:
12 - vlan_id: 11
13 - vlan_id: 12
14 - vlan_id: 13
15 state: merged
16 - name: Configure VRFs
17 sonic_vrfs:
18 config:
19 - name: Vrfcheck1
20 - name: Vrfcheck2
21 - name: "Sonic_vxlans configuration"
22 sonic_vxlans:
23 config:
24 - name: vteptest1
25 source_ip: 1.1.1.1
26 primary_ip: 2.2.2.2
27 evpn_nvo: nvo6
28 vlan_map:
29 - vni: 101
30 vlan: 11
31 - vni: 102
32 vlan: 12
33 vrf_map:
34 - vni: 101
35 vrf: Vrfcheck1
36 - vni: 102
37 vrf: Vrfcheck2
38 register: merged03_output