Bump upstream versions
[neutron.git] / model / src / main / yang / neutron-provider-ext.yang
index 6c911c11fd8e818062460e0c847f194c8847b18d..38da3ce3d1d60371d54a8548712e6a1c7bb1779e 100644 (file)
@@ -13,37 +13,30 @@ module neutron-provider-ext {
 
     prefix neutron-provider-ext;
 
-    import ietf-yang-types { prefix "yang"; }
-    // It requires rfc6991 (revision 2013-07-15), but odl don't have it, so this patch verify build will fail.
-    import ietf-inet-types { prefix "inet"; revision-date 2010-09-24; }
-    import neutron-attrs { prefix "attrs"; }
-    import neutron-networks { prefix "networks"; }
     import neutron { prefix "neutron"; }
     import neutron-provider { prefix "provider"; }
+    import yang-ext { prefix "ext"; }
 
     organization "OpenDaylight Neutron Group";
 
     contact "J. Gregory Hall <ghall@brocade.com>, Kiran Sreenivasa <kkoushik@brocade.com>";
 
-    description "This YANG module defines provider model extensions that are used by Openstack
-        Ice House Neutron YANG modules.";
+    description "This YANG module defines Openstack Neutron provider extensions model";
 
-    revision "2014-10-02" {
+    revision "2015-07-12" {
         description
-                "Initial version of provider model extensions used by OpenStack Ice House Neutron
-                models";
+                "OpenDaylight Beryllium release";
     }
 
     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;
     }
 }