Role service-yanic: query link-local and site-local multicast address

This commit is contained in:
Julian Labus 2019-05-04 17:57:52 +02:00
parent d035daf6d9
commit e17f378f0b
No known key found for this signature in database
GPG Key ID: 8AF209F2C6B3572A
1 changed files with 3 additions and 5 deletions

View File

@ -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]