respondd-config.tmpl 544 B

12345678910111213141516171819202122232425
  1. {
  2. "batman": "{{ bat_iface }}",
  3. "bridge": "{{ mcast_iface }}",
  4. {%- if mesh_vpn %}
  5. "mesh-vpn": ["{{ ('", "').join(mesh_vpn) }}"],
  6. {%- endif %}
  7. "nodeinfo": {
  8. "hostname": "{{ hostname }}",
  9. {%- if location and not location_hidden %}
  10. "location": {
  11. "latitude": {{ location.latitude }},
  12. "longitude": {{ location.longitude }}
  13. },
  14. {%- endif %}
  15. "software": {
  16. "firmware": {
  17. "release": "FFHO-1.0"
  18. }
  19. },
  20. "system": {
  21. "site_code": "{{ site_code }}"
  22. },
  23. "vpn": {{ fastd_peers }}
  24. }
  25. }