From 71cc1718ff78fcea3ac222278ce2428a980b5d08 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Tue, 4 Mar 2014 23:50:23 +0100 Subject: [PATCH] Add a container for pass-through netconf access Change-Id: I4eeba4266250df9a27412db52b0a6f9ab2d5b42d Signed-off-by: Robert Varga --- .../src/main/yang/netconf-node-inventory.yang | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/opendaylight/md-sal/model/model-inventory/src/main/yang/netconf-node-inventory.yang b/opendaylight/md-sal/model/model-inventory/src/main/yang/netconf-node-inventory.yang index 7914de0f66..e7ac38cba1 100644 --- a/opendaylight/md-sal/model/model-inventory/src/main/yang/netconf-node-inventory.yang +++ b/opendaylight/md-sal/model/model-inventory/src/main/yang/netconf-node-inventory.yang @@ -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 +} -- 2.36.6