Fix issue on shutdown. 58/24358/1
authorAlexis de Talhouët <adetalhouet@inocybe.com>
Tue, 21 Jul 2015 19:44:01 +0000 (15:44 -0400)
committerAlexis de Talhouët <adetalhouet@inocybe.com>
Tue, 21 Jul 2015 19:44:01 +0000 (15:44 -0400)
commitd1183db825887a4388827863935ab2701ff20c75
tree4105d835ad1a672b3eb30bcceec26fcc36c2c508
parent6744c4d605b378538a14ae3e3af275bce2ef4130
Fix issue on shutdown.

On shutdown, former behaviour was deleting ccap and qos from the operational datastore directly.
But at no point those were initialized. So if no action was perfomed by the user, we could see the attached log.

I think all we need is the close the ListenerRegistration and eveything will be deleted on the operational datastore.

associated logs: https://gist.github.com/23396b108c1742b9299b

Change-Id: I1816387787deb7e441a55df3dd58c9ccaf892d4e
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
packetcable-policy-server/src/main/java/org/opendaylight/controller/packetcable/provider/PacketcableProvider.java
packetcable-policy-server/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/packetcable/packetcable/policy/server/impl/rev140131/PacketcableProviderModule.java