Add RevisedErrorHandlingSupport ParserConstraint 25/78025/8
authorRobert Varga <robert.varga@pantheon.tech>
Sun, 2 Dec 2018 23:44:54 +0000 (00:44 +0100)
committerClaudio David Gasparini <claudio.gasparini@pantheon.tech>
Mon, 3 Dec 2018 16:05:28 +0000 (16:05 +0000)
commitae6526e089b50ead21c2efbc4639c746c2432cbc
tree8bd6c905ce7e60e832f71ff310e58d38aa097c9e
parent9de15fc3943eae142166eef4978849f881b9d186
Add RevisedErrorHandlingSupport ParserConstraint

We need to communicate to the parser whether RFC7606 is enabled
and whether the peer is internal or external. This patch adds
the interface to do that.

JIRA: BGPCEP-359
Change-Id: Id123c4d25019bd1be1ec7b228cd010c81186a4a4
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
bgp/parser-spi/src/main/java/org/opendaylight/protocol/bgp/parser/spi/RevisedErrorHandling.java [new file with mode: 0644]
bgp/parser-spi/src/main/java/org/opendaylight/protocol/bgp/parser/spi/RevisedErrorHandlingSupport.java [new file with mode: 0644]
bgp/parser-spi/src/main/java/org/opendaylight/protocol/bgp/parser/spi/pojo/RevisedErrorHandlingSupportImpl.java [new file with mode: 0644]