summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorDmitriyEshenko <dmitriy.eshenko@vyos.io>2020-04-04 20:51:22 +0000
committerDmitriyEshenko <dmitriy.eshenko@vyos.io>2020-04-04 20:51:22 +0000
commitfbdfd7a2f03205d69ebe53e927f378850f832a20 (patch)
treec4aa9302e628a4381c5e3021a8d2aa993133b542 /interface-definitions
parent3e7fe69a6b03b053098171411e286ba515838842 (diff)
downloadvyos-1x-fbdfd7a2f03205d69ebe53e927f378850f832a20.tar.gz
vyos-1x-fbdfd7a2f03205d69ebe53e927f378850f832a20.zip
pim: T1729: Add dr-priority and IGMP join support
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/protocols-igmp.xml.in27
-rw-r--r--interface-definitions/protocols-pim.xml.in12
2 files changed, 39 insertions, 0 deletions
diff --git a/interface-definitions/protocols-igmp.xml.in b/interface-definitions/protocols-igmp.xml.in
index a6a2f1420..a9b11e1a3 100644
--- a/interface-definitions/protocols-igmp.xml.in
+++ b/interface-definitions/protocols-igmp.xml.in
@@ -16,6 +16,33 @@
</completionHelp>
</properties>
<children>
+ <tagNode name="join">
+ <properties>
+ <help>IGMP join multicast group</help>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>Multicast group address</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv4-address"/>
+ </constraint>
+ </properties>
+ <children>
+ <leafNode name="source">
+ <properties>
+ <help>Source address</help>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>Source address</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv4-address"/>
+ </constraint>
+ <multi/>
+ </properties>
+ </leafNode>
+ </children>
+ </tagNode>
<leafNode name="version">
<properties>
<help>IGMP version</help>
diff --git a/interface-definitions/protocols-pim.xml.in b/interface-definitions/protocols-pim.xml.in
index 944224f7b..6152045a7 100644
--- a/interface-definitions/protocols-pim.xml.in
+++ b/interface-definitions/protocols-pim.xml.in
@@ -17,6 +17,18 @@
</completionHelp>
</properties>
<children>
+ <leafNode name="dr-priority">
+ <properties>
+ <help>Designated Router Election Priority</help>
+ <valueHelp>
+ <format>1-4294967295</format>
+ <description>Value of the new DR Priority</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-4294967295"/>
+ </constraint>
+ </properties>
+ </leafNode>
<leafNode name="hello">
<properties>
<help>Hello Interval</help>