Add a container for pass-through netconf access 29/5529/3
authorRobert Varga <rovarga@cisco.com>
Tue, 4 Mar 2014 22:50:23 +0000 (23:50 +0100)
committerTony Tkacik <ttkacik@cisco.com>
Tue, 11 Mar 2014 11:22:13 +0000 (11:22 +0000)
Change-Id: I4eeba4266250df9a27412db52b0a6f9ab2d5b42d
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/model/model-inventory/src/main/yang/netconf-node-inventory.yang

index 7914de0f66339d4dcf1b524ec30776d46f1eded4..e7ac38cba136959a29d198cc92a1c1d7416c6b48 100644 (file)
@@ -21,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 {
@@ -28,4 +36,4 @@ module netconf-node-inventory {
         
         uses netconf-node-fields;
     }
-}
\ No newline at end of file
+}