BUG-4167: fall back to unknown module for empty YangInstanceIdentifier 87/41887/2
authorRobert Varga <rovarga@cisco.com>
Fri, 15 Jul 2016 10:43:58 +0000 (12:43 +0200)
committerRobert Varga <nite@hq.sk>
Mon, 18 Jul 2016 08:43:56 +0000 (08:43 +0000)
commit18ecb07132281d3152a49baf50e8c020403588f9
treef394c470e0d3a9c4d1fbb8ecf6f6a7c44d002cbb
parent59333ffc77187ebcf3c53be53db580dd2e6995b6
BUG-4167: fall back to unknown module for empty YangInstanceIdentifier

When we encounter an empyt YangInstanceIdentifier (for
example during listener registration), we cannot extract
a module name -- fallback to unknown, which will cause
us to talk to the default shard.

Change-Id: I2162884c5ce0d2c2f714bb66afd82f699c52d789
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/shardstrategy/ShardStrategyFactory.java