Robert Varga [Tue, 7 Apr 2015 15:25:13 +0000 (15:25 +0000)]
Merge "BUG-2383 : fixed various small bugs in end-to-end RIB integration"
Dana Kutenicsova [Thu, 2 Apr 2015 21:58:09 +0000 (23:58 +0200)]
BUG-2383 : fixed various small bugs in end-to-end RIB integration
- added more logging for debugging
Change-Id: I17aec4926568ad77bef6f0246bacaeed8b0c8257
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Tue, 7 Apr 2015 14:11:14 +0000 (14:11 +0000)]
Merge "Bug 2938: register serializers for all augmentations"
Milos Fabian [Mon, 6 Apr 2015 17:12:12 +0000 (19:12 +0200)]
Bug-2208: connect and re-establish connection strategy for pcc-mock
-new argument --reconnect <number>
-the number specifies how many seconds waits for new reconnect attempt
-if the argument is ommited, pcc will never try to reconnect
Change-Id: Icdb965c3cf7f504ab51e012dcd1272283f849327
Signed-off-by: Milos Fabian <milfabia@cisco.com>
Milos Fabian [Tue, 24 Mar 2015 09:48:54 +0000 (10:48 +0100)]
Bug-2208: Include symbolic path name in PCRpt
-include SYMBOLIC-PATH-NAME TLV in a PCRpt's LSP object as a response to PCUpd message.
Change-Id: If804c7bb2832f0750ffedf2dc22081177e0d8e97
Signed-off-by: Milos Fabian <milfabia@cisco.com>
Dana Kutenicsova [Fri, 3 Apr 2015 14:34:00 +0000 (16:34 +0200)]
Move parser to SAL test to rib-impl.
- it has actually nothing to do with topology
Change-Id: I690275b698d1c1d530603e8a65e43f6ee6386385
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Robert Varga [Sat, 4 Apr 2015 00:14:02 +0000 (00:14 +0000)]
Merge "BUG-2383 : LocRib smal fixes + logs"
Milos Fabian [Fri, 3 Apr 2015 14:32:48 +0000 (16:32 +0200)]
Bug 2938: register serializers for all augmentations
-register all augmentations serializers of ERO and RRO subtypes for segment routing
Change-Id: I27fd4ddaf0c7dc083806559575026054c1d2071b
Signed-off-by: Milos Fabian <milfabia@cisco.com>
Dana Kutenicsova [Thu, 2 Apr 2015 08:40:52 +0000 (10:40 +0200)]
Trace hexa bytes of encoded messages for debug purposes.
Change-Id: Iee361791c9eb3b9130809b881c5748c0be61383e
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Wed, 1 Apr 2015 15:37:56 +0000 (17:37 +0200)]
BUG-2383 : LocRib smal fixes + logs
Change-Id: I911c9e0cf1eda3af4e45b73f7a4dd84e38ce3b14
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Robert Varga [Thu, 2 Apr 2015 18:15:39 +0000 (18:15 +0000)]
Merge "Revert "Fixed omission of new path setup type for segment routing""
Robert Varga [Thu, 2 Apr 2015 15:21:15 +0000 (17:21 +0200)]
BUG-2383: Fix array instantiation
Arrays cannot be trivially cast, so use a reflective method to
instantiate new arrays.
Change-Id: I821ae52c49f94414813ebc6f753194db716cd15a
Signed-off-by: Robert Varga <rovarga@cisco.com>
Dana Kutenicsova [Thu, 2 Apr 2015 14:07:50 +0000 (14:07 +0000)]
Revert "Fixed omission of new path setup type for segment routing"
This reverts commit
021dc91874f0e3753dcb934d0ebf3183134bb3e8.
Change-Id: I8d6647d7eda36388018252db2f977974d733d7fc
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Wed, 1 Apr 2015 16:00:22 +0000 (18:00 +0200)]
Fixed omission of new path setup type for segment routing
Change-Id: I7f7a41e004f391c0a91e8f4b55ccbfab3e811776
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Robert Varga [Wed, 1 Apr 2015 15:17:06 +0000 (17:17 +0200)]
BUG-2383: make sure we update routerId correctly
The routerId needs to be propagated to the writer, so we adjust it
properly. Also make sure we instantiate it in proper form.
Change-Id: I6462df0433381bb9fe0154dc6f370c7cdeb3ea8f
Signed-off-by: Robert Varga <rovarga@cisco.com>
Robert Varga [Wed, 1 Apr 2015 21:30:14 +0000 (23:30 +0200)]
Add missing bundle
Change-Id: I42bc006bdc48b4079b33fd4339da741dda984a0e
Signed-off-by: Robert Varga <rovarga@cisco.com>
Robert Varga [Wed, 1 Apr 2015 15:03:10 +0000 (15:03 +0000)]
Merge "BUG-2383 : proper wildcard and Tables for EffectiveRIB"
Dana Kutenicsova [Tue, 31 Mar 2015 15:28:35 +0000 (17:28 +0200)]
BUG-2383 : proper wildcard and Tables for EffectiveRIB
+ some logging
Change-Id: I056b47cc97be8470547ed1d885c6389ae3a29bdb
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Robert Varga [Tue, 31 Mar 2015 21:37:09 +0000 (23:37 +0200)]
BUG-2383: mark classes/methods as deprecated
The RIB rework should result in major simplification of the interfaces
exposed and general mechanics. Mark classes which are slated for
removal.
Change-Id: Ie8ed18035089261695495ba29c1638776ebc9391
Signed-off-by: Robert Varga <rovarga@cisco.com>
Tony Tkacik [Tue, 31 Mar 2015 11:01:22 +0000 (13:01 +0200)]
Bug 2383: Added RibSupport lookup using DOM Path Argument.
Change-Id: I26915e9187c1aa0e1c69668f0fd2e9722fcc6eec
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Robert Varga [Tue, 31 Mar 2015 14:49:29 +0000 (14:49 +0000)]
Merge "Simplified ASNumber subobject parsing."
Robert Varga [Tue, 31 Mar 2015 14:47:38 +0000 (14:47 +0000)]
Merge "Simplified ErrorMessage subclassing by extracting cases"
Robert Varga [Tue, 31 Mar 2015 14:47:01 +0000 (14:47 +0000)]
Merge "Simplified inheritance within stateful module."
Robert Varga [Tue, 31 Mar 2015 14:36:47 +0000 (14:36 +0000)]
Merge "Simplified some pcep classes to avoid sonar warnings."
Dana Kutenicsova [Sun, 29 Mar 2015 18:36:46 +0000 (20:36 +0200)]
Simplified ASNumber subobject parsing.
Change-Id: I6625d0c5cc4ed3e1f2a74b4a42031930dbd6f75e
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Tue, 31 Mar 2015 11:40:07 +0000 (13:40 +0200)]
Simplified ErrorMessage subclassing by extracting cases
Change-Id: I342c8d9785e4fa8fcc825acd1a6183ef962478f2
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Tue, 31 Mar 2015 12:53:01 +0000 (14:53 +0200)]
Simplified inheritance within stateful module.
- extracted parsing and serializing of flags into separate methods, so they can be overridden
Change-Id: I0c602fa91d89a2c84e2a5b4be3e8e865c80a410e
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Sat, 28 Mar 2015 18:52:48 +0000 (19:52 +0100)]
Simplified some pcep classes to avoid sonar warnings.
Change-Id: I4a8f1a87349d42aa831cc6d982970972e1295f8e
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Tue, 31 Mar 2015 11:07:40 +0000 (13:07 +0200)]
BUG-2383 : wired cluster id with effective RIB
- added some logging along happy path
Change-Id: I4918aa9e107d143b2a09138294c5109aad827f98
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Robert Varga [Tue, 31 Mar 2015 07:57:40 +0000 (07:57 +0000)]
Merge "BUG-2794 : implemented comments for this class."
Dana Kutenicsova [Tue, 31 Mar 2015 07:35:40 +0000 (07:35 +0000)]
Merge "Revert "Add odlparent relativepath relative to autorelease""
Robert Varga [Mon, 30 Mar 2015 18:32:26 +0000 (18:32 +0000)]
Merge "Revert "Add odlparent relativepath relative to autorelease""
Robert Varga [Fri, 13 Mar 2015 09:10:06 +0000 (10:10 +0100)]
Revert "Add odlparent relativepath relative to autorelease"
This reverts commit
f5ebb0f1b031002110bc6da992e7a0572d8663f9.
That commit makes assumptions about the layout outside of this
repostory, making builds unpredictable.
Change-Id: I5e2ca21f12480bf97107b348b88007b015b330b1
Signed-off-by: Robert Varga <rovarga@cisco.com>
Tony Tkacik [Mon, 30 Mar 2015 15:12:54 +0000 (17:12 +0200)]
Bug 2383: Fixed minor issues and missing javadocs in RibSupportContext.
Spaces and similar.
Change-Id: I0f580ce7407398a3dbcf4b9db3e6023b85d9e9c9
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Signed-off-by: Robert Varga <rovarga@cisco.com>
Thanh Ha [Thu, 26 Mar 2015 18:23:26 +0000 (14:23 -0400)]
Revert "Add odlparent relativepath relative to autorelease"
Per discussion on mailing list thread we have decided to revert this
change and achieve relative path updating via scripting in autorelease.
https://lists.opendaylight.org/pipermail/release/2015-March/001754.html
This reverts commit
f5ebb0f1b031002110bc6da992e7a0572d8663f9.
Change-Id: I7f1bc5e7da0772b8a287023ac004698e09465997
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Dana Kutenicsova [Thu, 26 Mar 2015 16:07:55 +0000 (17:07 +0100)]
BUG-2383 : wire LocRibWriter
Change-Id: I327722a249c9f4aff66085428bcb70c73c575ed3
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Tue, 24 Mar 2015 15:50:40 +0000 (16:50 +0100)]
BUG-2383 : started effective RIB writer in RIBImpl
- created a getYangRibId method in RIB to ease access
to YangInstanceIdentifier of the RIB
Change-Id: I623f0b5f904c3d0fb6d7205846da0569902447fd
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Tue, 24 Mar 2015 10:24:59 +0000 (11:24 +0100)]
BUG-2383: Added wiring of Attributes codecs to RibSupportContext
Provided code which adds resolution of Attributes codec
to RibSupportContext, which is shared context between
tables of same type for one instance of BGPRibImpl.
Change-Id: I43ee02c7cbab1cc9c20d659bf83454e04cf07cf6
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Mon, 30 Mar 2015 13:11:18 +0000 (15:11 +0200)]
BUG-2893 : make cluster Id non mandatory even in code
Change-Id: I8238834323f4f3d3a83a51127d2afd04154c2d88
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Sat, 28 Mar 2015 19:30:22 +0000 (20:30 +0100)]
BUG-2794 : implemented comments for this class.
Change-Id: I98464a7a1074cffc4de22649c2b5c3b62839ddbe
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Ladislav Borak [Thu, 26 Mar 2015 12:37:38 +0000 (13:37 +0100)]
Bug 2893 - Make ClusterIdentifier configurable
Change-Id: I4c47517087ae632a9f174f5334df486a1ad69ae2
Signed-off-by: Ladislav Borak <lborak@cisco.com>
Dana Kutenicsova [Tue, 24 Mar 2015 09:34:43 +0000 (10:34 +0100)]
BUG-2383 : RIBSupport exposes Route classes rather than QNAME
Change-Id: Ia81041e8298d4f70bcea71aaac41375ac336e969
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Signed-off-by: Robert Varga <rovarga@cisco.com>
Dana Kutenicsova [Mon, 23 Mar 2015 21:22:29 +0000 (22:22 +0100)]
BUG-2383 : switched to ImmutableCollection
Change-Id: Ic82cf7375dc5e6d726df8ea286ab9f1923e72775
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Robert Varga [Wed, 25 Mar 2015 11:27:09 +0000 (12:27 +0100)]
Always activate document generation
Change-Id: I8f4c58ea3401d27e31a9f216b4c1349a32832374
Signed-off-by: Robert Varga <rovarga@cisco.com>
Ladislav Borak [Wed, 25 Mar 2015 17:01:31 +0000 (18:01 +0100)]
Fix Java8 javadoc incompatibility
Change-Id: I1e321c2d2a33808952e1b0062713aa82e5021269
Signed-off-by: Robert Varga <rovarga@cisco.com>
Signed-off-by: Ladislav Borak <lborak@cisco.com>
Ladislav Borak [Wed, 11 Mar 2015 15:02:13 +0000 (16:02 +0100)]
Bug 2803 - Update SR
- updated API to confirm with
https://tools.ietf.org/html/draft-ietf-pce-segment-routing-01
- added new error type
- added abstract class with parsing and serializing SrSubobject
Change-Id: Ic3b9d5a4b0f6bd8332211bfc670c2ff2c2dc9c95
Signed-off-by: Ladislav Borak <lborak@cisco.com>
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Mon, 2 Mar 2015 07:00:28 +0000 (08:00 +0100)]
Removed some sonar warnings.
Change-Id: I3b3966505e14ba6ff7445211ac8edd8a04884f17
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Mon, 23 Mar 2015 11:33:35 +0000 (12:33 +0100)]
BUG-2383 : wired codec tree factory to RIB
Change-Id: I4c928c15a9f0902453096bf8db2e1ff571209c36
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Mon, 23 Mar 2015 12:57:05 +0000 (13:57 +0100)]
Fixed NPE in BGPPeer.
Change-Id: Icf4f9ab08f95ff9a878634d9f00033efca0534b0
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Robert Varga [Sun, 22 Mar 2015 10:56:38 +0000 (10:56 +0000)]
Merge "BUG-2571 : flowspec-routes model"
Ladislav Borak [Thu, 19 Mar 2015 11:35:10 +0000 (12:35 +0100)]
Bug 2824 - Fill in unrecognized attributes
- added support for parsing unrecognized path attributes
- added test for parsing unrecognized path attributes
Change-Id: Ibca8feb9c10a6f22ee6ebb4c6bf43e03af319849
Signed-off-by: Ladislav Borak <lborak@cisco.com>
Robert Varga [Fri, 20 Mar 2015 08:30:13 +0000 (08:30 +0000)]
Merge "BUG-2383 : BGPPeer now sends routes to AdjRibWriter"
Maros Marsalek [Wed, 18 Mar 2015 13:40:58 +0000 (14:40 +0100)]
Migrate AbstractConfigTest subclasses from CodecRegistry
Codec registry is being replaced by BindingRuntimeContext
Change-Id: I548a256f1814d2f94d478035baa4a6ea6a74db83
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Dana Kutenicsova [Thu, 19 Mar 2015 10:45:54 +0000 (11:45 +0100)]
BUG-2383 : BGPPeer now sends routes to AdjRibWriter
Change-Id: I633c70781242b5a128a6c9982af3146dc8c4581d
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Thu, 19 Mar 2015 09:57:25 +0000 (10:57 +0100)]
BUG-2383 : fixed creating peer list
- added some logs to AdjRibInWriter too
Change-Id: I7ebd1414d71da09a302bb5833b545c49524fc22b
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Ladislav Borak [Wed, 18 Mar 2015 17:37:12 +0000 (18:37 +0100)]
Improve compatibility with Java 8 javadoc
This fixes various javadoc inconsistencies reported by JDK8.
Change-Id: Ic41c2d16e8191885266b6b8f440fe17eb5ec159c
Signed-off-by: Robert Varga <rovarga@cisco.com>
Signed-off-by: Ladislav Borak <lborak@cisco.com>
Robert Varga [Wed, 18 Mar 2015 17:26:10 +0000 (17:26 +0000)]
Merge "Moved tests out of config test directory."
Robert Varga [Wed, 18 Mar 2015 17:25:24 +0000 (17:25 +0000)]
Merge "BUG-2383 : added tests & documentation for AbstractRIBSupport"
Dana Kutenicsova [Wed, 18 Mar 2015 15:41:25 +0000 (16:41 +0100)]
BUG-2383 : added tests & documentation for AbstractRIBSupport
Change-Id: I518d355370161ce07de3f4440e6a20d23d8a4de5
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Robert Varga [Wed, 18 Mar 2015 13:08:23 +0000 (13:08 +0000)]
Merge "BUG-2867: Make IANA assigned Linkstate attribute type as default (29)."
Dana Kutenicsova [Wed, 18 Mar 2015 11:21:40 +0000 (12:21 +0100)]
BUG-2867: Make IANA assigned Linkstate attribute type as default (29).
Change-Id: Ie1e3d4393298a51dda846df2ea1a8f6aef22d3b8
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Wed, 18 Mar 2015 12:13:11 +0000 (13:13 +0100)]
Moved tests out of config test directory.
Change-Id: I24556612c59bb8704f7607236b1e9a8b58a7af68
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Wed, 18 Mar 2015 11:20:27 +0000 (12:20 +0100)]
BUG-2383 : fixed missing configuration file
Change-Id: I51c447b8b52deb790dc40bbab8f61127ed938698
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Robert Varga [Thu, 12 Mar 2015 19:13:43 +0000 (20:13 +0100)]
BUG-2383: wire up AdjRibInWriter
Modify AdjRibInWriter lifecycle to fit with BGPPeer actions. Also make
sure we pick up the transaction chain from RIB.
Change-Id: Ide7b7bf3073d5a106608d555577535a079ed2b37
Signed-off-by: Robert Varga <rovarga@cisco.com>
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Robert Varga [Thu, 12 Mar 2015 22:32:54 +0000 (23:32 +0100)]
BUG-2383: wire DOMDataBroker into RIBImpl
We will need DOMDataBroker, so let's be sure to wire it in.
Change-Id: I04dafd0e394291c9146c19a0bb88e9cf6410efdc
Signed-off-by: Robert Varga <rovarga@cisco.com>
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Sat, 14 Mar 2015 08:14:38 +0000 (09:14 +0100)]
Renamed OffsetMap tests
Change-Id: I37d7b3a9bb6b95bd391148842c4a516e0dea315d
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Fri, 13 Mar 2015 12:57:39 +0000 (12:57 +0000)]
Merge "BUG-2383: RibReference should expose the key"
Dana Kutenicsova [Fri, 13 Mar 2015 12:53:02 +0000 (12:53 +0000)]
Merge "BUG-2383: split out policies into separate files"
Dana Kutenicsova [Fri, 13 Mar 2015 10:12:15 +0000 (11:12 +0100)]
BUG-2383 : fixed Destination container
Change-Id: I38ddd1834ba31de60221b08ad43be14a8ed457f1
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Robert Varga [Fri, 13 Mar 2015 09:37:38 +0000 (09:37 +0000)]
Merge "BUG-2383 : split ipv4/6 to separate model"
Robert Varga [Thu, 12 Mar 2015 22:27:44 +0000 (23:27 +0100)]
BUG-2383: RibReference should expose the key
RibKey will be needed to simply convert the reference into a
YangInstanceIdentifier.
Change-Id: Id5d2c79cad02b85648a359764d70e2c9eecb59ef
Signed-off-by: Robert Varga <rovarga@cisco.com>
Robert Varga [Wed, 11 Mar 2015 11:26:58 +0000 (12:26 +0100)]
BUG-2383: split out policies into separate files
Static policies kwill not work, as some of them require additional
arguments to perform their role. Split them out, so they can be evolved
independently.
Change-Id: I33decf294c53391d4d705014adfd62b6d5ffa34d
Signed-off-by: Robert Varga <rovarga@cisco.com>
Thanh Ha [Fri, 13 Mar 2015 02:12:38 +0000 (22:12 -0400)]
Add odlparent relativepath relative to autorelease
Change-Id: Iafdafcb1afdd7e14443a827327c9993c9456837d
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Dana Kutenicsova [Fri, 6 Mar 2015 16:41:39 +0000 (17:41 +0100)]
BUG-2383 : split ipv4/6 to separate model
- changed models: bgp-rib and bgp-multiprotocol
- created new artefact bgp-inet, that holds this model
- code rewritten to use this new artefact
Change-Id: I069f2c42a7e22c624a5549b09da8d07bd0d1acaf
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Robert Varga [Thu, 12 Mar 2015 10:28:10 +0000 (10:28 +0000)]
Merge "BUG-2383 : moved AbstractRIBSupport class"
Dana Kutenicsova [Wed, 11 Mar 2015 14:01:56 +0000 (15:01 +0100)]
BUG-2383 : moved AbstractRIBSupport class
- this class is probably by mistake in config package,
move it to bgpcep
Change-Id: I0e6dd856b3fab5f7fe8aba0987f92b29b99195bf
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Ladislav Borak [Mon, 9 Mar 2015 14:32:40 +0000 (15:32 +0100)]
Test for OffsetMap
Change-Id: I2696bb79d5bd30f6697abd407c898f0872d3a163
Signed-off-by: Ladislav Borak <lborak@cisco.com>
Ladislav Borak [Mon, 9 Mar 2015 12:58:48 +0000 (13:58 +0100)]
Test for BestPathSelector
Change-Id: I62dd07b1dd4062fe6c5d70fc3d9ee29506f6d609
Signed-off-by: Ladislav Borak <lborak@cisco.com>
Dana Kutenicsova [Thu, 12 Mar 2015 08:05:01 +0000 (08:05 +0000)]
Merge "Remove bundle tests"
Robert Varga [Wed, 11 Mar 2015 22:00:34 +0000 (23:00 +0100)]
Remove bundle tests
Bundles are already tested in features, so we do not need these
hard-to-maintain tests.
Change-Id: I9c03b841892aa8d8f28417c910de15d4cd407d2a
Signed-off-by: Robert Varga <rovarga@cisco.com>
Dana Kutenicsova [Mon, 9 Mar 2015 15:50:36 +0000 (16:50 +0100)]
Removed some sonar warnings in the new RIB code.
- mostly attribute ordering, annotations are first
- final in method declaration is rarely necessary
- added default case to switch statements
Change-Id: I44abf4512fe64eb59504e0081d3dc88f23381960
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Tony Tkacik [Wed, 11 Mar 2015 16:12:40 +0000 (17:12 +0100)]
Fixed MD-SAL configuration mock.
Change-Id: I6da602da465f6481c9e3a1ebadc6ef54aa7329e0
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Dana Kutenicsova [Wed, 11 Mar 2015 07:28:20 +0000 (07:28 +0000)]
Merge "Bug 2795 - Internal PCEP features hierarchy does not reflect config files"
Dana Kutenicsova [Tue, 10 Mar 2015 13:05:48 +0000 (14:05 +0100)]
Pushed missing .project files.
Change-Id: I0ee592cbb52ce89ed186ac5edb08a15dc8e6514d
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Ladislav Borak [Tue, 10 Mar 2015 11:13:15 +0000 (12:13 +0100)]
Bug 2795 - Internal PCEP features hierarchy does not reflect config files
- added odl-bgpcep-programming-impl feature as depedency of
odl-bgpcep-pcep-topology-provider feature
Change-Id: I5b306d6caa9a05bd14924da9daaeb50a853a900e
Signed-off-by: Ladislav Borak <lborak@cisco.com>
Robert Varga [Tue, 10 Mar 2015 09:23:12 +0000 (10:23 +0100)]
BUG-2383: document AbstractRIBSupport abstract methods
Add javadoc and rename for consistency.
Change-Id: I153f7f0ecfccd45084b95779a514a23008d30296
Signed-off-by: Robert Varga <rovarga@cisco.com>
Dana Kutenicsova [Tue, 10 Mar 2015 09:44:49 +0000 (09:44 +0000)]
Merge "BUG-2383: construct route entry properly"
Dana Kutenicsova [Tue, 10 Mar 2015 09:44:04 +0000 (09:44 +0000)]
Merge "BUG-2383: implement EffectiveRibInWriter"
Robert Varga [Tue, 10 Mar 2015 09:27:05 +0000 (09:27 +0000)]
Merge "BUG-2383 : synchronize message/route linkstate core in model"
Robert Varga [Mon, 9 Mar 2015 22:33:33 +0000 (23:33 +0100)]
BUG-2383: construct route entry properly
This adds the code to add attributes onto the route object.
Change-Id: Ibeee10d21114ae2344fbacb3d92ab6aa03da9354
Signed-off-by: Robert Varga <rovarga@cisco.com>
Robert Varga [Mon, 9 Mar 2015 18:25:17 +0000 (19:25 +0100)]
BUG-2383: implement EffectiveRibInWriter
This completes the basic structure of EffectiveRibInWriter, such that
its flows are stable API-wise.
Change-Id: Idebad5a1d05667cdd767d16dc9278574dba1d3f6
Signed-off-by: Robert Varga <rovarga@cisco.com>
Dana Kutenicsova [Fri, 6 Mar 2015 12:52:51 +0000 (13:52 +0100)]
BUG-2383 : synchronize message/route linkstate core in model
- there is no need to have the data in linkstate described in
two ways (for parser and for RIB). This commit eliminates the
parser data representation and uses RIB data represenation.
- the code and tests needed to be adjusted
- NlriType is eliminated from the data
Change-Id: I364b7f2d26dc44e0d22d0f7358c3e0d6991322bf
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Robert Varga [Mon, 9 Mar 2015 17:39:47 +0000 (18:39 +0100)]
BUG-2383: Make TableContext.clearTable() reusable
An input table context is bound to a table. Refactor clearTable() to be
usable from other contexts, too.
Change-Id: Ic91326bf9f931f8dc1298ba67439253dece50e4c
Signed-off-by: Robert Varga <rovarga@cisco.com>
Robert Varga [Thu, 5 Mar 2015 20:31:50 +0000 (21:31 +0100)]
BUG-2383: introduce ExportPolicyPeerTracker
This splits out the policy tracker and implemnts proper policy tracking.
We optimize for lookup speeds, expecting the peers not to change much.
Change-Id: I92b27d54abb77ce10864d9ec8709a57aab7b87c7
Signed-off-by: Robert Varga <rovarga@cisco.com>
Robert Varga [Thu, 5 Mar 2015 20:12:23 +0000 (21:12 +0100)]
BUG-2383: split out AbstractPeerRoleTracker and IdentifierUtils
Functionality of these two classes is shared between multiple listeners,
so move them out to be shared. Also make sure EffectiveRibInWriter
instantiates its policy tracker.
Change-Id: If885ea283ed223cdffe8c14f777192d02cabffde
Signed-off-by: Robert Varga <rovarga@cisco.com>
Dana Kutenicsova [Thu, 5 Mar 2015 12:57:29 +0000 (12:57 +0000)]
Merge "Do not replicate Sonar config"
Dana Kutenicsova [Thu, 5 Mar 2015 12:37:00 +0000 (12:37 +0000)]
Merge "Support proper route redistribution"
Dana Kutenicsova [Thu, 5 Mar 2015 12:34:45 +0000 (12:34 +0000)]
Merge "BUG-2383: fix a warning"
Dana Kutenicsova [Thu, 5 Mar 2015 12:34:33 +0000 (12:34 +0000)]
Merge "BUG-2383: refactor RIBSupportRegistry"
Dana Kutenicsova [Thu, 5 Mar 2015 12:30:17 +0000 (12:30 +0000)]
Merge "BUG-2383: rename BGPSessionImpl.sendMessage()"