From: Robert Varga Date: Mon, 2 Jul 2018 15:16:56 +0000 (+0200) Subject: Adopt netconf-node-inventory X-Git-Tag: release/fluorine~43 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=d26a72898df2fcb437c3516310103b14d31e251a;p=netconf.git Adopt netconf-node-inventory This model used to be hosted in controller, but it really should be hosted in netconf. Change-Id: I54a6cd90c8e182ade53cba08fdaa301a64a677d5 Signed-off-by: Robert Varga --- diff --git a/netconf/sal-netconf-connector/src/main/yang/netconf-node-inventory.yang b/netconf/sal-netconf-connector/src/main/yang/netconf-node-inventory.yang new file mode 100644 index 0000000000..45fbd42d8a --- /dev/null +++ b/netconf/sal-netconf-connector/src/main/yang/netconf-node-inventory.yang @@ -0,0 +1,40 @@ +module netconf-node-inventory { + namespace "urn:opendaylight:netconf-node-inventory"; + prefix "netinv"; + + import opendaylight-inventory { prefix inv; revision-date "2013-08-19";} + import yang-ext {prefix ext; revision-date "2013-07-09";} + + revision "2014-01-08" { + description "Initial revision of Inventory model"; + } + + grouping netconf-node-fields { + status deprecated; + leaf connected { + type boolean; + } + + leaf-list initial-capability { + type string; + } + + 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 { + ext:augment-identifier "netconf-node"; + status deprecated; + uses netconf-node-fields; + } +}