Update to the SAL Data APIs. Added Flow Configuration model
[controller.git] / opendaylight / md-sal / model / model-inventory / src / main / yang / inventory.yang
index a114c624f33cc7234c1a9a130513ec1cd1ba6624..0bf146365393aa3f3a4c57703a65a1f89114531d 100644 (file)
@@ -10,6 +10,15 @@ module opendaylight-inventory {
     revision "2013-08-19" {
         description "Initial revision of Inventory model";
     }
+    
+    
+    typedef support-type {
+        type enumeration {
+            enum native;
+            enum emulated;
+            enum not-supported;
+        }
+    }
 
     typedef node-id {
         type inet:uri;
@@ -35,17 +44,17 @@ module opendaylight-inventory {
 
     }
 
-       grouping node {
-               leaf id {
+    grouping node {
+    leaf id {
             type node-id;
         }
-       }
+    }
 
-       grouping node-connector {
-               leaf id {
+    grouping node-connector {
+        leaf id {
             type node-connector-id;
-               }
-       }
+        }
+    }
 
 
 
@@ -56,7 +65,7 @@ module opendaylight-inventory {
             key "id";
             ext:context-instance "node-context";
 
-                       uses node;
+            uses node;
 
             list "node-connector" {
                 key "id";