From e17f378f0b7105f300032b90bb54c6650141df28 Mon Sep 17 00:00:00 2001 From: Julian Labus Date: Sat, 4 May 2019 17:57:52 +0200 Subject: [PATCH] Role service-yanic: query link-local and site-local multicast address --- roles/service-yanic/templates/yanic.conf.j2 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/roles/service-yanic/templates/yanic.conf.j2 b/roles/service-yanic/templates/yanic.conf.j2 index 924d242..d9ecb4e 100644 --- a/roles/service-yanic/templates/yanic.conf.j2 +++ b/roles/service-yanic/templates/yanic.conf.j2 @@ -25,12 +25,10 @@ domains = [ {% for mesh in meshes %} [[respondd.interfaces]] ifname = "{{mesh.id}}br" -{% if mesh.legacy is defined %} -ip_address = "{{ 'fe80::1:aff:fe%02x:%02x' % (mesh.domain_number, magic) }}" -{% else %} -ip_address = "{{ 'fe80::1:aff:fe56:%0x%03x' % (mesh.domain_number, magic) }}" -{% endif %} multicast_address = "ff05::2:1001" +[[respondd.interfaces]] +ifname = "{{mesh.id}}br" +multicast_address = "ff02::2:1001" {% endfor %} [nodes]