Rework table modification application 55/79955/9
authorRobert Varga <robert.varga@pantheon.tech>
Sun, 27 Jan 2019 21:54:15 +0000 (22:54 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 31 Jan 2019 00:24:06 +0000 (01:24 +0100)
commit3a4f5033bfa1d048f435478f9db89b61a9b70723
tree1af41667e79afc085bc869f42ee0dbe597e35451
parent6a28535cface8b4d503cfe223d911d5079921cd6
Rework table modification application

This reworks the way a table modification is applied so that we
examine and handle the attributes first -- hence we can understand
that a table has become LLGR_STALE and perform an overwrite.

This also cleans up some the code paths, so they can be optimized
in future, for example the logic for handling route targets.

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