diff options
Diffstat (limited to 'interface-definitions/protocols-pim.xml.in')
| -rw-r--r-- | interface-definitions/protocols-pim.xml.in | 156 | 
1 files changed, 37 insertions, 119 deletions
| diff --git a/interface-definitions/protocols-pim.xml.in b/interface-definitions/protocols-pim.xml.in index 733279aa4..96bd7504c 100644 --- a/interface-definitions/protocols-pim.xml.in +++ b/interface-definitions/protocols-pim.xml.in @@ -20,74 +20,39 @@                </constraint>              </properties>              <children> -              #include <include/bfd/bfd.xml.i> -              <leafNode name="no-bsm"> -                <properties> -                  <help>Do not process bootstrap messages</help> -                  <valueless/> -                </properties> -              </leafNode> -              <leafNode name="no-unicast-bsm"> -                <properties> -                  <help>Do not process unicast bootstrap messages</help> -                  <valueless/> -                </properties> -              </leafNode> -              <leafNode name="dr-priority"> -                <properties> -                  <help>Designated Router Election Priority</help> -                  <valueHelp> -                    <format>u32: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> -                  <valueHelp> -                    <format>u32:1-180</format> -                    <description>Hello Interval in seconds</description> -                  </valueHelp> -                  <constraint> -                    <validator name="numeric" argument="--range 1-180"/> -                  </constraint> -                </properties> -              </leafNode> -              <node name="igmp"> -                <properties> -                  <help>Internet Group Management Protocol (IGMP) options</help> -                </properties> -                <children> -                  <leafNode name="version"> -                    <properties> -                      <help>Interface IGMP version</help> -                      <valueHelp> -                        <format>2</format> -                        <description>IGMP version 2</description> -                      </valueHelp> -                      <valueHelp> -                        <format>3</format> -                        <description>IGMP version 3</description> -                      </valueHelp> -                      <constraint> -                        <validator name="numeric" argument="--range 2-3"/> -                      </constraint> -                    </properties> -                    <defaultValue>3</defaultValue> +            #include <include/bfd/bfd.xml.i> +            #include <include/pim/bsm.xml.i> +            #include <include/pim/dr-priority.xml.i> +            #include <include/pim/hello.xml.i> +            #include <include/pim/passive.xml.i> +            #include <include/source-address-ipv4.xml.i> +            <node name="igmp"> +              <properties> +                <help>Internet Group Management Protocol (IGMP) options</help> +              </properties> +              <children> +                <leafNode name="version"> +                  <properties> +                    <help>Interface IGMP version</help> +                    <completionHelp> +                      <list>1 2</list> +                    </completionHelp> +                    <valueHelp> +                      <format>2</format> +                      <description>IGMP version 2</description> +                    </valueHelp> +                    <valueHelp> +                      <format>3</format> +                      <description>IGMP version 3</description> +                    </valueHelp> +                    <constraint> +                      <validator name="numeric" argument="--range 2-3"/> +                    </constraint> +                  </properties> +                  <defaultValue>3</defaultValue>                    </leafNode>                  </children>                </node> -              <leafNode name="passive"> -                <properties> -                  <help>Disable sending and receiving PIM control packets on the interface</help> -                  <valueless/> -                </properties> -              </leafNode> -              #include <include/source-address-ipv4.xml.i>              </children>            </tagNode>            <node name="ecmp"> @@ -102,8 +67,8 @@                  </properties>                </leafNode>              </children> -           </node> -           <node name="igmp"> +          </node> +          <node name="igmp">              <properties>                <help>Internet Group Management Protocol (IGMP) options</help>              </properties> @@ -121,46 +86,11 @@                  </properties>                </leafNode>              </children> -           </node> -           <leafNode name="join-prune-interval"> -            <properties> -              <help>Join Prune Send Interval</help> -              <valueHelp> -                <format>u32:1-65535</format> -                <description>Interval in seconds</description> -              </valueHelp> -              <constraint> -                <validator name="numeric" argument="--range 1-65535"/> -              </constraint> -            </properties> -            <defaultValue>60</defaultValue> -          </leafNode> -          <leafNode name="keep-alive-timer"> -            <properties> -              <help>Keep alive Timer</help> -              <valueHelp> -                <format>u32:1-65535</format> -                <description>Keep alive Timer in seconds</description> -              </valueHelp> -              <constraint> -                <validator name="numeric" argument="--range 1-65535"/> -              </constraint> -            </properties> -            <defaultValue>210</defaultValue> -          </leafNode> -          <leafNode name="packets"> -            <properties> -              <help>Packets to process at once</help> -              <valueHelp> -                <format>u32:1-255</format> -                <description>Number of packets</description> -              </valueHelp> -              <constraint> -                <validator name="numeric" argument="--range 1-255"/> -              </constraint> -            </properties> -            <defaultValue>3</defaultValue> -          </leafNode> +          </node> +          #include <include/pim/join-prune-interval.xml.i> +          #include <include/pim/keep-alive-timer.xml.i> +          #include <include/pim/packets.xml.i> +          #include <include/pim/register-suppress-time.xml.i>            <leafNode name="register-accept-list">              <properties>                <help>Only accept registers from a specific source prefix list</help> @@ -173,18 +103,6 @@                </completionHelp>              </properties>            </leafNode> -          <leafNode name="register-suppress-time"> -            <properties> -              <help>Register Suppress Timer</help> -              <valueHelp> -                <format>u32:1-65535</format> -                <description>In seconds</description> -              </valueHelp> -              <constraint> -                <validator name="numeric" argument="--range 1-65535"/> -              </constraint> -            </properties> -          </leafNode>            <node name="rp">              <properties>                <help>Rendezvous Point</help> | 
