summaryrefslogtreecommitdiff
path: root/interface-definitions/include/ospf/interface-common.xml.i
blob: 7386515944dfceaf7acbba072577f2788d89b9bb (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
<!-- include start from ospf/interface-common.xml.i -->
#include <include/bfd/bfd.xml.i>
<leafNode name="cost">
  <properties>
    <help>Interface cost</help>
    <valueHelp>
      <format>u32:1-65535</format>
      <description>OSPF interface cost</description>
    </valueHelp>
    <constraint>
      <validator name="numeric" argument="--range 1-65535"/>
    </constraint>
  </properties>
</leafNode>
<leafNode name="mtu-ignore">
  <properties>
    <help>Disable Maximum Transmission Unit (MTU) mismatch detection</help>
    <valueless/>
  </properties>
</leafNode>
<leafNode name="priority">
  <properties>
    <help>Router priority (default: 1)</help>
    <valueHelp>
      <format>u32:0-255</format>
      <description>OSPF router priority cost</description>
    </valueHelp>
    <constraint>
      <validator name="numeric" argument="--range 0-255"/>
    </constraint>
  </properties>
  <defaultValue>1</defaultValue>
</leafNode>
<!-- include end -->