JNPRAutomate / ansible-junos-evpn-vxlan

Sample project that use Ansible and Jinja2 template to automatically generate configurations for Juniper devices deploy in EVPN/VXLAN fabric mode
MIT License
91 stars 65 forks source link

duplicate RD on MX L3 #36

Open ksator opened 7 years ago

ksator commented 7 years ago

Hello,

this template generates a duplicate RD on MX: https://github.com/JNPRAutomate/ansible-junos-evpn-vxlan/blob/master/roles/overlay-evpn-mx-l3/templates/main.conf.j2

so each tenant has 2 routing instances (VRF and VS) with the same RD so the config doesnt commit on MX devices.

route-distinguisher {{ loopback_ip }}:{{tenant.id}}

I fixed it locally using a diff value for each routing instance but we should fix in on this repo:

$ more roles/overlay-evpn-mx-l3/templates/main.conf.j2 | grep disti
        route-distinguisher {{ loopback_ip }}:10{{tenant.id}};
        route-distinguisher {{ loopback_ip }}:{{tenant.id}};

many thanks