summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols-igmp.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-27 07:44:51 +0100
committerGitHub <noreply@github.com>2020-03-27 07:44:51 +0100
commite4b5cdb7466be6f7f659db04c50dde9414805489 (patch)
treee515f4df46ba879beba4bcdc5b84fd80a1e9f492 /interface-definitions/protocols-igmp.xml.in
parentc1e9948d8e328b5063186e7039412bce11056ca6 (diff)
parent4aafa362d90804d211a6e15a8175df0ec38fcd69 (diff)
downloadvyos-1x-e4b5cdb7466be6f7f659db04c50dde9414805489.tar.gz
vyos-1x-e4b5cdb7466be6f7f659db04c50dde9414805489.zip
Merge pull request #274 from DmitriyEshenko/cur-pim-bas
pim: T1729: Basic PIM implementation
Diffstat (limited to 'interface-definitions/protocols-igmp.xml.in')
-rw-r--r--interface-definitions/protocols-igmp.xml.in61
1 files changed, 61 insertions, 0 deletions
diff --git a/interface-definitions/protocols-igmp.xml.in b/interface-definitions/protocols-igmp.xml.in
new file mode 100644
index 000000000..a6a2f1420
--- /dev/null
+++ b/interface-definitions/protocols-igmp.xml.in
@@ -0,0 +1,61 @@
+<?xml version="1.0"?>
+<!-- Internet Group Management Protocol (IGMP) configuration -->
+<interfaceDefinition>
+ <node name="protocols">
+ <children>
+ <node name="igmp" owner="${vyos_conf_scripts_dir}/protocols_igmp.py">
+ <properties>
+ <help>Internet Group Management Protocol (IGMP)</help>
+ </properties>
+ <children>
+ <tagNode name="interface">
+ <properties>
+ <help>IGMP interface</help>
+ <completionHelp>
+ <script>${vyos_completion_dir}/list_interfaces.py</script>
+ </completionHelp>
+ </properties>
+ <children>
+ <leafNode name="version">
+ <properties>
+ <help>IGMP version</help>
+ <valueHelp>
+ <format>2-3</format>
+ <description>IGMP version</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 2-3"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <leafNode name="query-interval">
+ <properties>
+ <help>IGMP host query interval</help>
+ <valueHelp>
+ <format>1-1800</format>
+ <description>Query interval in seconds</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-1800"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <leafNode name="query-max-response-time">
+ <properties>
+ <help>IGMP max query response time</help>
+ <valueHelp>
+ <format>10-250</format>
+ <description>Query response value in deci-seconds</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 10-250"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+ </tagNode>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>