Add Long-lived Graceful Restart communities 61/78461/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 5 Dec 2018 14:54:59 +0000 (15:54 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 5 Dec 2018 14:57:26 +0000 (15:57 +0100)
commite15fc4730b3a6be349b89221602c174486466bdf
treeef909864b98176919317e903109442c1f0283d94
parent8c916623ed88371540f69e0d0b213e20d5a679cc
Add Long-lived Graceful Restart communities

https://tools.ietf.org/html/draft-uttaro-idr-bgp-persistence-04
introduces two new communities, NO_LLGR and LLGR_STALE.

This patch adds support for them.

JIRA: BGPCEP-495
Change-Id: I21745dffe9d57164f55020cf50bb443fcf6fc533
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/update/CommunitiesAttributeParser.java
bgp/parser-impl/src/main/java/org/opendaylight/protocol/bgp/parser/impl/message/update/CommunityUtil.java
bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/CommunitiesAttributeParserTest.java