summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bfd-common.xml.i
blob: b47b476121106d4a803a1d7c8cc6f2cf18dac10c (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
<!-- include start from bfd-common.xml.i -->
<leafNode name="echo-mode">
  <properties>
    <help>Enables the echo transmission mode</help>
    <valueless/>
  </properties>
</leafNode>
<node name="interval">
  <properties>
    <help>Configure timer intervals</help>
  </properties>
  <children>
    <leafNode name="receive">
      <properties>
        <help>Minimum interval of receiving control packets</help>
        <valueHelp>
          <format>10-60000</format>
          <description>Interval in milliseconds</description>
        </valueHelp>
        <constraint>
          <validator name="numeric" argument="--range 10-60000"/>
        </constraint>
      </properties>
      <defaultValue>300</defaultValue>
    </leafNode>
    <leafNode name="transmit">
      <properties>
        <help>Minimum interval of transmitting control packets</help>
        <valueHelp>
          <format>10-60000</format>
          <description>Interval in milliseconds</description>
        </valueHelp>
        <constraint>
          <validator name="numeric" argument="--range 10-60000"/>
        </constraint>
      </properties>
      <defaultValue>300</defaultValue>
    </leafNode>
    <leafNode name="multiplier">
      <properties>
        <help>Multiplier to determine packet loss</help>
        <valueHelp>
          <format>2-255</format>
          <description>Remote transmission interval will be multiplied by this value</description>
        </valueHelp>
        <constraint>
          <validator name="numeric" argument="--range 2-255"/>
        </constraint>
      </properties>
      <defaultValue>3</defaultValue>
    </leafNode>
    <leafNode name="echo-interval">
      <properties>
        <help>Echo receive transmission interval</help>
        <valueHelp>
          <format>10-60000</format>
          <description>The minimal echo receive transmission interval that this system is capable of handling</description>
        </valueHelp>
        <constraint>
          <validator name="numeric" argument="--range 10-60000"/>
        </constraint>
      </properties>
    </leafNode>
  </children>
</node>
<leafNode name="shutdown">
  <properties>
    <help>Disable this peer</help>
    <valueless/>
  </properties>
</leafNode>
<!-- include end -->