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