2 namespace "urn:opendaylight:netvirt:fibmanager";
5 import yang-ext {prefix ext; revision-date "2013-07-09";}
7 revision "2015-03-30" {
8 description "FIB Manager module";
11 grouping ipv4Entries {
14 leaf destPrefix {type string;}
15 leaf nextHopAddress {type string;}
19 grouping vrfEntryBase {
33 "This flag indicates how to interpret the existing label field.
34 A value of mplsgre indicates that the label within route paths will continue to be considered as an MPLS Label.
35 A value of vxlan indicates that l3vni should be used to advertise to bgp and label will be ignored.";
40 description "MPLSOverGRE";
53 leaf gateway_mac_address {
58 "If set will get the vpn-to-dpn information from the parent-vpn-rd";
62 key "nexthop-address";
63 leaf nexthop-address {
79 grouping macVrfEntries {
89 augment "/odl-fib:fibEntries/odl-fib:vrfTables/odl-fib:vrfEntry" {
90 ext:augment-identifier "subnetRoute";
91 leaf elantag {type uint32;}
94 augment "/odl-fib:fibEntries/odl-fib:vrfTables/odl-fib:vrfEntry" {
95 ext:augment-identifier "routerInterface";
96 leaf uuid {type string;}
97 leaf mac-address {type string;}
98 leaf ip-address {type string;}
101 container fibEntries {
104 key "routeDistinguisher";
105 leaf routeDistinguisher {type string;}
115 container label-route-map {
117 list label-route-info {
119 leaf label { type uint32; }
120 leaf dpn-id { type uint64; }
121 leaf prefix { type string; }
122 leaf-list next-hop-ip-list { type string; }
123 leaf-list vpn-instance-list { type string; }
124 leaf parent-vpnid { type uint32; }
125 leaf vpn-interface-name { type string; }
126 leaf elan-tag { type uint32; }
127 leaf is-subnet-route { type boolean; }
128 leaf parent-vpn-rd { type string; }
132 container extraroute-rds-map {
134 list extraroute-rds {
136 "List of route distinguishers used to create a unique NLRI for the destination prefix";
150 description "Ip address of the VM which is the nexthop for the extra route";
152 leaf rd {type string;}
158 container ip-prefix-map {
159 description "Stores information about a parent vpn and prefix in that parent vpn,
160 along with what other vpn-instances import the parent vpn";
162 list ip-prefix-info {
163 key "prefix parent-primary-rd";
167 leaf parent-primary-rd {
173 leaf-list vpn-instance-list {
179 leaf vpn-interface-name {
185 leaf is-subnet-route {
206 key "nexthop-address";
207 leaf nexthop-address {
213 leaf gateway_mac_address {