Convert NLRI to withdrawn routes 80/78780/6
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 14 Dec 2018 03:34:02 +0000 (04:34 +0100)
committerRobert Varga <nite@hq.sk>
Fri, 14 Dec 2018 07:28:45 +0000 (07:28 +0000)
commit27afd792d4224541a7436f62e55bd60c20ba0422
treeb881465534225633f35057466231b7c6457708ff
parentc684c178703112e3d019a0596acd8a3ac3e2f9cb
Convert NLRI to withdrawn routes

When we encounter a treat-as-withdraw condition, we need to convert
all reachability information to its withdraw equivalent.

This patch deals with those procedures for NLRI field, appending it
to any Withdrawn Routes field present.

JIRA: BGPCEP-359
Change-Id: I4471e28c1ab6bb8de6016d36911c693c5e897778
Signed-off-by: Matej Perina <matej.perina@pantheon.tech>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
bgp/parser-impl/src/main/java/org/opendaylight/protocol/bgp/parser/impl/message/BGPUpdateMessageParser.java