]>
Commit | Line | Data |
---|---|---|
b702f424 SP |
1 | module frr-ospf6-route-map { |
2 | yang-version 1.1; | |
3 | namespace "http://frrouting.org/yang/ospf6-route-map"; | |
4 | prefix frr-ospf6-route-map; | |
5 | ||
6 | import ietf-inet-types { | |
7 | prefix inet; | |
8 | } | |
9 | ||
10 | import frr-route-map { | |
11 | prefix frr-route-map; | |
12 | } | |
13 | ||
14 | organization | |
15 | "Free Range Routing"; | |
16 | contact | |
17 | "FRR Users List: <mailto:frog@lists.frrouting.org> | |
18 | FRR Development List: <mailto:dev@lists.frrouting.org>"; | |
19 | description | |
20 | "This module defines ospf6 route map settings"; | |
21 | ||
22 | revision 2020-01-02 { | |
23 | description | |
24 | "Initial revision"; | |
25 | } | |
26 | ||
27 | identity forwarding-address { | |
28 | base frr-route-map:rmap-set-type; | |
29 | description | |
30 | "Set the forwarding address"; | |
31 | } | |
32 | ||
33 | identity metric-type { | |
34 | base frr-route-map:rmap-set-type; | |
35 | description | |
36 | "Set the type of metric"; | |
37 | } | |
38 | ||
39 | augment "/frr-route-map:lib/frr-route-map:route-map/frr-route-map:entry/frr-route-map:set-action/frr-route-map:rmap-set-action/frr-route-map:set-action" { | |
40 | case ipv6-address { | |
41 | when "derived-from-or-self(/frr-route-map:lib/frr-route-map:route-map/frr-route-map:entry/frr-route-map:set-action/frr-route-map:action, 'forwarding-address')"; | |
42 | leaf ipv6-address { | |
43 | type inet:ipv6-address; | |
44 | } | |
45 | } | |
46 | } | |
47 | } |