Bug-1180: Segment Routing parsers/serializers 89/8289/3
authorMilos Fabian <milfabia@cisco.com>
Tue, 24 Jun 2014 07:31:32 +0000 (09:31 +0200)
committerRobert Varga <rovarga@cisco.com>
Thu, 26 Jun 2014 12:33:02 +0000 (12:33 +0000)
commit412cc918a52ffc391588ed5f72ceafdf71f06d7b
tree423a5906ed0342730441376596583843f10305b7
parenta5e7f91f0827f4937023f4389579d07112a6f082
Bug-1180: Segment Routing parsers/serializers

-modified segment-routing yang model:
-message's ero subobject type is augmented with sr-ero subobject
-added parser/serializer for sr-ero subobject + junit tests
-added object, subobject parsers/serializers to the SegmentRoutingActivator
-fixed extended Srp and RP object serializers to handle all PST Tlv augmentations

Change-Id: Ie0241331572b5cd6a1ee6e4cd9ca1778ee445baa
Signed-off-by: Milos Fabian <milfabia@cisco.com>
13 files changed:
pcep/segment-routing/.project [new file with mode: 0644]
pcep/segment-routing/pom.xml
pcep/segment-routing/src/main/java/org/opendaylight/protocol/pcep/lsp/setup/type01/CInitiated00SrpObjectWithPstTlvParser.java
pcep/segment-routing/src/main/java/org/opendaylight/protocol/pcep/lsp/setup/type01/PcepRpObjectWithPstTlvParser.java
pcep/segment-routing/src/main/java/org/opendaylight/protocol/pcep/segment/routing02/SegmentRoutingActivator.java
pcep/segment-routing/src/main/java/org/opendaylight/protocol/pcep/segment/routing02/SrEroSubobjectParser.java [new file with mode: 0644]
pcep/segment-routing/src/main/yang/odl-pcep-lsp-setup-type01.yang
pcep/segment-routing/src/main/yang/odl-pcep-segment-routing02.yang
pcep/segment-routing/src/test/java/org/opendaylight/protocol/pcep/lsp/setup/type01/PcepObjectParserTest.java
pcep/segment-routing/src/test/java/org/opendaylight/protocol/pcep/segment/routing02/PcepObjectParserTest.java [deleted file]
pcep/segment-routing/src/test/java/org/opendaylight/protocol/pcep/segment/routing02/SrEroSubobjectParserTest.java [new file with mode: 0644]
pcep/segment-routing/src/test/java/org/opendaylight/protocol/pcep/segment/routing02/SrObjectParserTest.java [new file with mode: 0644]
pcep/segment-routing/src/test/java/org/opendaylight/protocol/pcep/segment/routing02/SrTlvParserTest.java [moved from pcep/segment-routing/src/test/java/org/opendaylight/protocol/pcep/segment/routing02/PcepTlvParserTest.java with 97% similarity]