From 7fa582b8c4f09299b34e2d45ecc6908b4b82dec8 Mon Sep 17 00:00:00 2001 From: Tobias Date: Mon, 12 Feb 2024 07:37:49 +0100 Subject: [PATCH 1/2] use domain_code instead of site_code --- yanic/yanic.conf.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yanic/yanic.conf.tmpl b/yanic/yanic.conf.tmpl index d246728..efdf531 100644 --- a/yanic/yanic.conf.tmpl +++ b/yanic/yanic.conf.tmpl @@ -59,7 +59,7 @@ path = "/srv/yanic/meshviewer-ffdon.json" [nodes.output.meshviewer-ffrgb.filter] sites = ["ffdon"] - +domain_as_site = true [[nodes.output.geojson]] enable = true From 6c3edb81a89ff551036000e6679d013d3c5b6c83 Mon Sep 17 00:00:00 2001 From: Tobias Date: Fri, 16 Feb 2024 20:20:20 +0100 Subject: [PATCH 2/2] Update yanic.conf.tmplad --- yanic/yanic.conf.tmpl | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/yanic/yanic.conf.tmpl b/yanic/yanic.conf.tmpl index efdf531..f9a2a19 100644 --- a/yanic/yanic.conf.tmpl +++ b/yanic/yanic.conf.tmpl @@ -16,12 +16,6 @@ collect_interval = "1m" [respondd.sites.ffmuc] domains = [{% for site, domains in sites.items() %}{% for domain in domains %}"{{site}}_{{ domain }}", {% endfor %}{% endfor %}] -# ffdon -[respondd.sites.ffdon] -domains = [{% for domain in sites["ffdon"] %}"ffdon_{{ domain }}", {% endfor %}] - - - # interface that has an IP in your mesh network {%- for domain in sites.values()|sum(start=[]) %} [[respondd.interfaces]] @@ -58,8 +52,8 @@ enable = true path = "/srv/yanic/meshviewer-ffdon.json" [nodes.output.meshviewer-ffrgb.filter] -sites = ["ffdon"] domain_as_site = true +sites = [{% for domain in sites["ffdon"] %}"ffdon_{{ domain }}", {% endfor %}] [[nodes.output.geojson]] enable = true