Added comments to the opendaylight-inventory.yang file to help describe
[controller.git] / opendaylight / md-sal / model / model-inventory / src / main / yang / netconf-node-inventory.yang
index b5cde6ee5b09b11f672b8182475572286f7eadc8..e7ac38cba136959a29d198cc92a1c1d7416c6b48 100644 (file)
@@ -10,6 +10,10 @@ module netconf-node-inventory {
     }
     
     grouping netconf-node-fields {
+        leaf connected {
+            type boolean; 
+        }
+    
         leaf-list initial-capability {
             type string;
         }
@@ -17,6 +21,14 @@ module netconf-node-inventory {
         leaf-list current-capability {
             type string;
         }
+
+        container pass-through {
+            when "../connected = true";
+            description
+                "When the underlying node is connected, its NETCONF context
+                is available verbatim under this container through the
+                mount extension.";
+        }
     }
     
     augment /inv:nodes/inv:node {
@@ -24,4 +36,4 @@ module netconf-node-inventory {
         
         uses netconf-node-fields;
     }
-}
\ No newline at end of file
+}