Make sure attributes are parsed in order of their increasing type 89/4489/2
authorRobert Varga <rovarga@cisco.com>
Tue, 21 Jan 2014 10:44:31 +0000 (11:44 +0100)
committerRobert Varga <rovarga@cisco.com>
Tue, 21 Jan 2014 10:50:10 +0000 (11:50 +0100)
commit5494e3dc85de34d3ab0cab1fa1a7a95861235392
tree1ee62bf397f2d133afee3fa6fd7de283479ba987
parentabbf207b7b4ef607df33d8917f851a6e3ac41183
Make sure attributes are parsed in order of their increasing type

This improvement of API specification allows later attributes to see the
previous ones. This is needed for linkstate, where the Linkstate
Attribute needs to see the Multiprotocol attribute.

Change-Id: I3b05cda27ae5277387881d6f34bf6359cae75a99
Signed-off-by: Robert Varga <rovarga@cisco.com>
bgp/parser-spi/src/main/java/org/opendaylight/protocol/bgp/parser/spi/AttributeParser.java
bgp/parser-spi/src/main/java/org/opendaylight/protocol/bgp/parser/spi/pojo/SimpleAttributeRegistry.java