summaryrefslogtreecommitdiff
path: root/interface-definitions/include/rip-interface.xml.i
blob: 1d5e6f949cff15b625725091290f043eb0a5a281 (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!-- included start from rip-interface.xml.i -->
<tagNode name="interface">
  <properties>
    <help>Interface name</help>
    <completionHelp>
      <script>${vyos_completion_dir}/list_interfaces.py</script>
    </completionHelp>
    <valueHelp>
      <format>txt</format>
      <description>Interface name</description>
    </valueHelp>
    <constraint>
      <validator name="interface-name"/>
    </constraint>
  </properties>
  <children>
    <node name="authentication">
      <properties>
        <help>Authentication</help>
      </properties>
      <children>
        <tagNode name="md5">
          <properties>
            <help>MD5 key id</help>
            <valueHelp>
              <format>u32:1-255</format>
              <description>OSPF key id</description>
            </valueHelp>
            <constraint>
              <validator name="numeric" argument="--range 1-255"/>
            </constraint>
          </properties>
          <children>
            <leafNode name="password">
              <properties>
                <help>Authentication password</help>
                <valueHelp>
                  <format>txt</format>
                  <description>MD5 Key (16 characters or less)</description>
                </valueHelp>
                <constraint>
                  <regex>^[^[:space:]]{1,16}$</regex>
                </constraint>
                <constraintErrorMessage>Password must be 16 characters or less</constraintErrorMessage>
              </properties>
            </leafNode>
          </children>
        </tagNode>
        <leafNode name="plaintext-password">
          <properties>
            <help>Plain text password</help>
            <valueHelp>
              <format>txt</format>
              <description>Plain text password (16 characters or less)</description>
            </valueHelp>
            <constraint>
              <regex>^[^[:space:]]{1,16}$</regex>
            </constraint>
            <constraintErrorMessage>Password must be 16 characters or less</constraintErrorMessage>
          </properties>
        </leafNode>
      </children>
    </node>
    <node name="split-horizon">
      <properties>
        <help>Split horizon parameters</help>
      </properties>
      <children>
        <leafNode name="disable">
          <properties>
            <help>Disable split horizon on specified interface</help>
            <valueless/>
          </properties>
        </leafNode>
        <leafNode name="poison-reverse">
          <properties>
            <help>Disable split horizon on specified interface</help>
            <valueless/>
          </properties>
        </leafNode>
      </children>
    </node>
  </children>
</tagNode>
<!-- included end -->