Do not always update eff-rib-in attributes 75/78475/6
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 5 Dec 2018 19:08:56 +0000 (20:08 +0100)
committerClaudio David Gasparini <claudio.gasparini@pantheon.tech>
Thu, 6 Dec 2018 17:58:59 +0000 (17:58 +0000)
commit46f0711945e64a0184704aafded51e7576d32ddd
tree1eb049588cc35e606e19af418120f2c273004e62
parent367772ab24152242563a16d120441b353315c49f
Do not always update eff-rib-in attributes

Check if the attributes changed before propagating the change,
reducing the number of operations executed.

Change-Id: I6435a50aefbaefabec86f8d6d7f220c9a1bfaa20
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/EffectiveRibInWriter.java