BUG-5055: Initialization of LocRib Table 73/33373/1
authorClaudio D. Gasparini <cgaspari@cisco.com>
Thu, 21 Jan 2016 19:41:19 +0000 (20:41 +0100)
committerClaudio D. Gasparini <cgaspari@cisco.com>
Fri, 22 Jan 2016 15:58:41 +0000 (16:58 +0100)
commitdac48d528aa5ddf2ef3b68277918cb8d2774225d
tree7463d96249e0d0cf73fe1838b09c3490ff9a788c
parentf85e02bf000e3052b3fb76e9ed73f01601474190
BUG-5055: Initialization of LocRib Table

When LocRib table are created when insert already
existan routes. They where created when inserting
supported tables. Which will make the process to be
repeated if more than one table is supported.
Solved by move the process at the point where
specific table is created.
Also fixed onTable change, since it should add only
table to corresponding LocribWriter listener

Change-Id: I4f87d1bf6e2b24d9ad1911d15ce3923c7538c156
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/ExportPolicyPeerTracker.java
bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/LocRibWriter.java