Initialize effective rib in for App Peer 64/70964/2
authorClaudio D. Gasparini <claudio.gasparini@pantheon.tech>
Mon, 16 Apr 2018 08:26:13 +0000 (10:26 +0200)
committerClaudio D. Gasparini <claudio.gasparini@pantheon.tech>
Tue, 17 Apr 2018 06:00:37 +0000 (08:00 +0200)
Effective Rib in has splitted constructor and
initializer. Add missing initialization under
AppPeer

BGPCEP-789
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Change-Id: Iee2bde3ebf5f786b78ff5c4dd387da7decf20b0d

bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/ApplicationPeer.java

index fbf2bac8e695067007bcb83f412af28562b2107a..b9282724ad3371df94deef6720287dfd4c7244e7 100644 (file)
@@ -162,6 +162,7 @@ public class ApplicationPeer extends BGPPeerStateImpl implements org.opendayligh
                 registerAppPeerListener);
         this.effectiveRibInWriter = new EffectiveRibInWriter(this, this.rib,
                 this.rib.createPeerChain(this), this.peerIId, localTables);
+        this.effectiveRibInWriter.init();
         this.bgpSessionState.registerMessagesCounter(this);
         this.trackerRegistration = this.rib.getPeerTracker().registerPeer(this);
     }