summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols-igmp.xml.in
blob: a6a2f142030e7191903b11f8257fe1104f379c4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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>