summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-05 08:56:24 +0200
committerGitHub <noreply@github.com>2020-04-05 08:56:24 +0200
commita8999fda91619fe6fed0d3a99401d1a2e0895c50 (patch)
tree4097810a1a735390e4d97dd7931d141be1daf94c /interface-definitions
parent3d978249b313c0e4a12cf7aabad4a272a7593c50 (diff)
parentfbdfd7a2f03205d69ebe53e927f378850f832a20 (diff)
downloadvyos-1x-a8999fda91619fe6fed0d3a99401d1a2e0895c50.tar.gz
vyos-1x-a8999fda91619fe6fed0d3a99401d1a2e0895c50.zip
Merge pull request #304 from DmitriyEshenko/cur-pim-igm-p2
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>