Update yang to catch lost pieces in part VI
[neutron.git] / model / src / main / yang / neutron-provider-ext.yang
index 34ef6fb827de52919f2c9cb13d5b59ac5af499ed..5d113e800954037c1b1c83cf5c5d5ef73fe13bb6 100644 (file)
@@ -15,6 +15,7 @@ module neutron-provider-ext {
 
     import neutron { prefix "neutron"; }
     import neutron-provider { prefix "provider"; }
+    import yang-ext { prefix "ext"; }
 
     organization "OpenDaylight Neutron Group";
 
@@ -30,15 +31,14 @@ module neutron-provider-ext {
     }
 
     augment "/neutron:neutron/neutron:networks/neutron:network"{
-        description "
-          This module augments the networks container in the neutron-networks
-          module with provider information.
-          ";
-        list providers {
+        description "This module augments the networks container
+                in the neutron-networks module with provider information.";
+        ext:augment-identifier "network-provider-extension";
+        list segments {
             description "List of provider network(s) associated with this network.";
-            key segmentation-id;
-            uses provider:provider-attrs;
+            key segmentation-index;
+            uses provider:provider-attributes;
         }
-        uses provider:provider-attrs;
+        uses provider:provider-attributes;
     }
 }