summaryrefslogtreecommitdiff
path: root/interface-definitions/igmp-proxy.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-11-27 11:04:09 +0100
committerChristian Poessinger <christian@poessinger.com>2020-11-27 11:15:12 +0100
commitfb7e761ae3efa8f17d9199f29dae2fdc1f51f188 (patch)
tree695bc152c37b0fd938417449aecbd450a136f5bb /interface-definitions/igmp-proxy.xml.in
parent854052217684d1b27607050d21e826f3cfa2b142 (diff)
downloadvyos-1x-fb7e761ae3efa8f17d9199f29dae2fdc1f51f188.tar.gz
vyos-1x-fb7e761ae3efa8f17d9199f29dae2fdc1f51f188.zip
igmp-proxy: T3088: migrate to get_config_dict()
Diffstat (limited to 'interface-definitions/igmp-proxy.xml.in')
-rw-r--r--interface-definitions/igmp-proxy.xml.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/interface-definitions/igmp-proxy.xml.in b/interface-definitions/igmp-proxy.xml.in
index 74fec6b48..b9c52794f 100644
--- a/interface-definitions/igmp-proxy.xml.in
+++ b/interface-definitions/igmp-proxy.xml.in
@@ -44,7 +44,7 @@
</leafNode>
<leafNode name="role">
<properties>
- <help>Role of this IGMP interface</help>
+ <help>IGMP interface role (default: downstream)</help>
<completionHelp>
<list>upstream downstream disabled</list>
</completionHelp>
@@ -61,13 +61,14 @@
<description>Disabled interface</description>
</valueHelp>
<constraint>
- <regex>(upstream|downstream|disabled)</regex>
+ <regex>^(upstream|downstream|disabled)$</regex>
</constraint>
</properties>
+ <defaultValue>downstream</defaultValue>
</leafNode>
<leafNode name="threshold">
<properties>
- <help>TTL threshold</help>
+ <help>TTL threshold (default: 1)</help>
<valueHelp>
<format>1-255</format>
<description>TTL threshold for the interfaces (default: 1)</description>
@@ -75,8 +76,9 @@
<constraint>
<validator name="numeric" argument="--range 1-255"/>
</constraint>
- <constraintErrorMessage>threshold must be between 1 and 255</constraintErrorMessage>
+ <constraintErrorMessage>Threshold must be between 1 and 255</constraintErrorMessage>
</properties>
+ <defaultValue>1</defaultValue>
</leafNode>
<leafNode name="whitelist">
<properties>