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 /interface-definitions | |
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 'interface-definitions')
-rw-r--r-- | interface-definitions/service_mdns_repeater.xml.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/interface-definitions/service_mdns_repeater.xml.in b/interface-definitions/service_mdns_repeater.xml.in index 5d6f61d74..9d626bf6a 100644 --- a/interface-definitions/service_mdns_repeater.xml.in +++ b/interface-definitions/service_mdns_repeater.xml.in @@ -67,6 +67,23 @@ <multi/> </properties> </leafNode> + <leafNode name="cache-entries"> + <properties> + <help>Number of resource records cached per interface</help> + <valueHelp> + <format>u32:0</format> + <description>Disable caching</description> + </valueHelp> + <valueHelp> + <format>u32:1-65535</format> + <description>Resource records to cache per interface</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 0-65535"/> + </constraint> + </properties> + <defaultValue>4096</defaultValue> + </leafNode> <leafNode name="vrrp-disable"> <properties> <help>Disables mDNS repeater on VRRP interfaces not in MASTER state</help> |