Bug 8473: Reboot fixes for ECMP with extra-routes
[netvirt.git] / vpnservice / fibmanager / fibmanager-api / src / main / yang / odl-fib.yang
index 212e84bd70d2f41d4841c2439b3e3a326c23c915..d75be2603556201d8fa417d58fa59144fd256ed3 100644 (file)
@@ -23,7 +23,6 @@ module odl-fib {
             }
             leaf mac {
                type string;
-               mandatory false;
             }
             leaf origin {
                 type string;
@@ -144,8 +143,13 @@ module odl-fib {
                 leaf dest-prefix {
                     type string;
                 }
-                leaf-list rds {
-                   type string;
+                list allocated-rds {
+                    key nexthop;
+                    leaf nexthop {
+                        type string;
+                        description "Ip address of the VM which is the nexthop for the extra route";
+                    }
+                    leaf rd {type string;}
                 }
             }
         }