Skip to content

Commit

Permalink
Merge pull request #152 from T0biii/patch-1
Browse files Browse the repository at this point in the history
yanic FFDON: Use domains as sites and filter by it
  • Loading branch information
DasSkelett authored Feb 16, 2024
2 parents 306391c + 6c3edb8 commit f6c53a1
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions yanic/yanic.conf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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]]
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f6c53a1

Please sign in to comment.