Bug 4577 Allow specification of a distinct schema cache directory per netconf device 62/32362/4
authorRyan Goulding <ryandgoulding@gmail.com>
Mon, 11 Jan 2016 20:02:18 +0000 (15:02 -0500)
committerTony Tkacik <ttkacik@cisco.com>
Fri, 22 Jan 2016 08:34:36 +0000 (08:34 +0000)
commitd8d9ad046e29d0c1d97e4e499b407fb64af8e18d
treeafad3fa883e7f2d0ce8ed19a22c153cd88028cc0
parentd3ca79c031339f35df362887dde8d4f54c82cfa3
Bug 4577 Allow specification of a distinct schema cache directory per netconf device

A leaf is added to odl-sal-netconf-connector-cfg.yang to allow specification of
a schema cache directory relative to the "cache" directory.  The leaf defaults to
"schema", so the default directory for loaded yang files is "cache/schema".  It
is useful to specify a distinct cache directory per netconf mount to avoid potential
model conflicts caused by revisionless import statements.

Change-Id: Id930932aa4ff17a7338ddf96e87557b3949b4204
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
(cherry picked from commit cca187da2cfeeab02a1679657777b7c3d6f65f2c)
opendaylight/netconf/netconf-topology/src/main/java/org/opendaylight/netconf/topology/AbstractNetconfTopology.java
opendaylight/netconf/netconf-topology/src/main/java/org/opendaylight/netconf/topology/impl/ClusteredNetconfTopology.java
opendaylight/netconf/sal-netconf-connector/src/main/java/org/opendaylight/controller/config/yang/md/sal/connector/netconf/NetconfConnectorModule.java
opendaylight/netconf/sal-netconf-connector/src/main/java/org/opendaylight/controller/config/yang/md/sal/connector/netconf/NetconfConnectorModuleFactory.java
opendaylight/netconf/sal-netconf-connector/src/main/yang/netconf-node-topology.yang
opendaylight/netconf/sal-netconf-connector/src/main/yang/odl-sal-netconf-connector-cfg.yang