summaryrefslogtreecommitdiff
path: root/interface-definitions/include/ospf-metric.xml.i
blob: b2812ba36e01fbdb3bf769ef1f02d8ce92709542 (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
<!-- included start from ospf-metric.xml.i -->
<leafNode name="metric">
  <properties>
    <help>OSPF default metric</help>
    <valueHelp>
      <format>u32:0-16777214</format>
      <description>Default metric</description>
    </valueHelp>
    <constraint>
      <validator name="numeric" argument="--range 0-16777214"/>
    </constraint>
  </properties>
</leafNode>
<leafNode name="metric-type">
  <properties>
    <help>OSPF metric type for default routes (default: 2)</help>
    <valueHelp>
      <format>u32:1-2</format>
      <description>Metric type for default routes</description>
    </valueHelp>
    <constraint>
      <validator name="numeric" argument="--range 1-2"/>
    </constraint>
  </properties>
  <defaultValue>2</defaultValue>
</leafNode>
<leafNode name="route-map">
  <properties>
    <help>Route map reference</help>
    <completionHelp>
      <path>policy route-map</path>
    </completionHelp>
  </properties>
</leafNode>
<!-- included end -->