diff options
author | Christian Breunig <christian@breunig.cc> | 2024-11-23 18:36:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-23 19:36:33 +0200 |
commit | ec18cc393591052fd1f021c4a62220ab2e537a2e (patch) | |
tree | b43d4df6fee4f8816adddefd447bf762a4472436 /data/templates/mdns-repeater | |
parent | b91aaed8eb0953e0217ff37005bb8c47e2b05685 (diff) | |
download | vyos-1x-ec18cc393591052fd1f021c4a62220ab2e537a2e.tar.gz vyos-1x-ec18cc393591052fd1f021c4a62220ab2e537a2e.zip |
avahi: T6908: add option to define max-cache entries (#4207)
* avahi: T6908: reduce runtime overhead in smoketests by using setUpClass/tearDownClass
* avahi: T6908: add option to define mdns-repeater max-cache entries
Add CLI option to configure `cache-entries-max` entries in Avahi daemon
configuration.
Default value of 4096 for "cache-entries" CVLI node was retrieved from
source code.
Diffstat (limited to 'data/templates/mdns-repeater')
-rw-r--r-- | data/templates/mdns-repeater/avahi-daemon.conf.j2 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/mdns-repeater/avahi-daemon.conf.j2 b/data/templates/mdns-repeater/avahi-daemon.conf.j2 index cc6495817..a5031945c 100644 --- a/data/templates/mdns-repeater/avahi-daemon.conf.j2 +++ b/data/templates/mdns-repeater/avahi-daemon.conf.j2 @@ -6,6 +6,9 @@ allow-interfaces={{ interface | join(', ') }} {% if browse_domain is vyos_defined and browse_domain | length %} browse-domains={{ browse_domain | join(', ') }} {% endif %} +{% if cache_entries is vyos_defined %} +cache-entries-max={{ cache_entries }} +{% endif %} disallow-other-stacks=no [wide-area] |