ECMP UC2 Enhancement: Support for more than two DC-GWs
[netvirt.git] / vpnmanager / api / src / main / yang / odl-l3vpn.yang
index b03a029c2f0aeea40705f2471a9e5b8844b10d44..2d49cffa5702d53c7cbc8c68479e3a370b3c8586 100644 (file)
@@ -688,13 +688,13 @@ module odl-l3vpn {
         }
     }
 
-    container dpid-l3vpn-lb-nexthops {
+    container l3vpn-dc-gws {
         config false;
-        list dpn-lb-nexthops {
-            key "src-dp-id dst-device-id";
-            leaf src-dp-id { type uint64; }
-            leaf dst-device-id { type string; } //dpId or ip-address
-            leaf-list nexthop-key { type string; }
+        list dc-gateway {
+            key "ip-address";
+            leaf ip-address {
+                type string;
+            }
         }
     }