Dana Kutenicsova [Wed, 16 Apr 2014 17:21:03 +0000 (17:21 +0000)]
Merge "BUG-509: Fix topology not being augmented"
Robert Varga [Tue, 15 Apr 2014 07:08:02 +0000 (09:08 +0200)]
BUG-731: use IllegalArgumentException
This gets rid of non-descriptive RuntimeException in favor of
IllegalArgumentException.
Change-Id: Idd4f3452eb0a2b2ea7235fdfe5545490209e9993
Signed-off-by: Robert Varga <rovarga@cisco.com>
Robert Varga [Tue, 15 Apr 2014 07:02:50 +0000 (09:02 +0200)]
BUG-731: do not declare Exception
These exceptions are specified by the super method. We have no use for
them, so follow sonar and remove them.
Change-Id: I67ad3d5764e92eba337da5ca0ab58d4bb5dbd215
Signed-off-by: Robert Varga <rovarga@cisco.com>
Robert Varga [Tue, 15 Apr 2014 07:04:30 +0000 (09:04 +0200)]
BUG-731: remove unused field
This filed is no longer used. Remove it and get rid of the warning.
Change-Id: Iced3c01061ca28ec5c889a905db8e5840f47793c
Signed-off-by: Robert Varga <rovarga@cisco.com>
Robert Varga [Mon, 14 Apr 2014 10:57:21 +0000 (12:57 +0200)]
BUG-509: Fix topology not being augmented
The new datastore is picky about augmentations. More precisely it is
thorough in checking that the data destined to a particular adddress is
supposed to be there according to schema.
This is most noticable when a Binding-Aware application uses groupings,
as tthe Binding Specification does not discern between the individual
grouping instantiations -- allowing applications to easily attach
augmentations to a grouping instance and then use it in a context where
that augmentation has not been made.
This patch fixes one such instance, as reported by the following:
Caused by: java.lang.IllegalArgumentException: Supplied QName (urn:opendaylight:params:xml:ns:yang:pcep:crabbe:initiated:00?revision=2014-01-13)initiation is not valid according to schema container stateful
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:119) ~[na:na]
at org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizationOperation.fromSchemaAndPathArgument(DataNormalizationOperation.java:497) ~[na:na]
at org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizationOperation$DataContainerNormalizationOperation.getChild(DataNormalizationOperation.java:226) ~[na:na]
at org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizationOperation$CompositeNodeNormalizationOpertation.normalize(DataNormalizationOperation.java:165) ~[na:na]
at org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizationOperation$CompositeNodeNormalizationOpertation.normalize(DataNormalizationOperation.java:144) ~[na:na]
at org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizationOperation$CompositeNodeNormalizationOpertation.normalize(DataNormalizationOperation.java:185) ~[na:na]
at org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizationOperation$CompositeNodeNormalizationOpertation.normalize(DataNormalizationOperation.java:144) ~[na:na]
at org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizationOperation$CompositeNodeNormalizationOpertation.normalize(DataNormalizationOperation.java:185) ~[na:na]
at org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizationOperation$CompositeNodeNormalizationOpertation.normalize(DataNormalizationOperation.java:144) ~[na:na]
at org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizationOperation$CompositeNodeNormalizationOpertation.normalize(DataNormalizationOperation.java:185) ~[na:na]
at org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizationOperation$CompositeNodeNormalizationOpertation.normalize(DataNormalizationOperation.java:144) ~[na:na]
at org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizationOperation$CompositeNodeNormalizationOpertation.normalize(DataNormalizationOperation.java:182) ~[na:na]
at org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizationOperation$CompositeNodeNormalizationOpertation.normalize(DataNormalizationOperation.java:144) ~[na:na]
at org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizer.toNormalized(DataNormalizer.java:88) ~[na:na]
at org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizer.toNormalized(DataNormalizer.java:63) ~[na:na]
at org.opendaylight.controller.md.sal.binding.impl.BindingToNormalizedNodeCodec.toNormalizedNode(BindingToNormalizedNodeCodec.java:57) ~[na:na]
at org.opendaylight.controller.md.sal.binding.impl.BindingToNormalizedNodeCodec.toNormalizedNode(BindingToNormalizedNodeCodec.java:51) ~[na:na]
at org.opendaylight.controller.md.sal.binding.impl.AbstractForwardedTransaction.doPutWithEnsureParents(AbstractForwardedTransaction.java:107) ~[na:na]
at org.opendaylight.controller.md.sal.binding.impl.ForwardedBackwardsCompatibleDataBroker$ForwardedBackwardsCompatibleTransacion.putOperationalData(ForwardedBackwardsCompatibleDataBroker.java:218) ~[na:na]
at org.opendaylight.controller.md.sal.binding.impl.ForwardedBackwardsCompatibleDataBroker$ForwardedBackwardsCompatibleTransacion.putOperationalData(ForwardedBackwardsCompatibleDataBroker.java:195) ~[na:na]
at org.opendaylight.bgpcep.pcep.topology.provider.AbstractTopologySessionListener.onSessionUp(AbstractTopologySessionListener.java:153) ~[na:na]
at org.opendaylight.bgpcep.pcep.topology.provider.AbstractTopologySessionListener.onSessionUp(AbstractTopologySessionListener.java:58) ~[na:na]
at org.opendaylight.protocol.pcep.impl.PCEPSessionImpl.sessionUp(PCEPSessionImpl.java:391) ~[na:na]
at org.opendaylight.protocol.framework.AbstractProtocolSession.handlerAdded(AbstractProtocolSession.java:51) ~[na:na]
at io.netty.channel.DefaultChannelPipeline.callHandlerAdded0(DefaultChannelPipeline.java:484) [bundlefile:4.0.17.Final]
... 24 common frames omitted
Change-Id: Ie9d160a3a66c39ca3b4a86c50127c9b9080f2e6f
Signed-off-by: Robert Varga <rovarga@cisco.com>
Robert Varga [Mon, 14 Apr 2014 09:21:04 +0000 (09:21 +0000)]
Merge "Fixed write of uptodate to explicitly set routes."
Dana Kutenicsova [Fri, 11 Apr 2014 08:46:13 +0000 (10:46 +0200)]
Fixed dissapearance of links because of metric value not present.
Change-Id: Ibad22fee30a57f343ba1e3d52867fc0806bdc9f9
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Wed, 9 Apr 2014 16:02:52 +0000 (18:02 +0200)]
RSVP Error code in stateful02 updated actally reflect stateful02 draft.
Change-Id: I349910316608bbb95bccbe0fc43ddb5d88ca9042
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Tue, 8 Apr 2014 11:12:28 +0000 (13:12 +0200)]
BUG-670 : stateful07 now displaying LSP related errors in RESTCONF
Change-Id: Ia036d0fa962f919b47b772c8b04d45cc87afceef
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Tony Tkacik [Wed, 26 Mar 2014 18:21:44 +0000 (19:21 +0100)]
Fixed write of uptodate to explicitly set routes.
Generated copy constructors does not do full
copy of provided class, only of common super type
fields, so it lead to ommision of routes.
Added workaround which explicitly copies routes
from original Tables TO to newly constructed.
Change-Id: I875284016cffecd84ede841c54feef776e981921
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Dana Kutenicsova [Sat, 5 Apr 2014 20:27:27 +0000 (22:27 +0200)]
Added unit tests to MesaageRegistry.
Change-Id: I8f7b9072ef9305cf8cfb30c420f3d8e95876a8c3
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Sat, 5 Apr 2014 18:54:10 +0000 (20:54 +0200)]
Added unit tests for bgp-parser-api.
Change-Id: Ifdd15e880a695d705f5689d0d3e7b48bce78cc25
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Fri, 4 Apr 2014 13:36:54 +0000 (15:36 +0200)]
Added tests for LinkstateAdjRIBsIn.
Change-Id: I488fddbf57730af587c29937fe146f2850329ea0
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Milos Fabian [Fri, 4 Apr 2014 12:16:13 +0000 (14:16 +0200)]
Remove final keyword from Stateful02LspObjectParser class definition, to be the class extensible.
Change-Id: Ie4be02f2ca02ea02e6333a6e8f4df55de2a351b2
Signed-off-by: Milos Fabian <milfabia@cisco.com>
Dana Kutenicsova [Fri, 28 Mar 2014 17:34:31 +0000 (18:34 +0100)]
BUG-64 : refactor BGP parser to use ByteBuf
Change-Id: Ibbd892d29fe709facaf06cf03273ee0ceea174a9
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Milos Fabian [Mon, 31 Mar 2014 10:39:00 +0000 (12:39 +0200)]
Bug 467 - Reconnect strategy configuration deleted from bgp/rib-impl-config
-fixed RIBImplModuleTest
-fixed bgp initial configuration
-fixed integration tests
Change-Id: I2909d8ca47911de525d4201c8d858f8225cf0192
Signed-off-by: Milos Fabian <milfabia@cisco.com>
Dana Kutenicsova [Tue, 1 Apr 2014 09:37:57 +0000 (09:37 +0000)]
Merge "Increase the service lookpu timeout"
Robert Varga [Thu, 27 Mar 2014 20:10:22 +0000 (21:10 +0100)]
Increase the service lookpu timeout
This should fix the intermittent errors we have been seeing.
Change-Id: Ia8244cefa2602cb616f4ffabb4f218b76cec697b
Signed-off-by: Robert Varga <rovarga@cisco.com>
Robert Varga [Thu, 27 Mar 2014 01:23:01 +0000 (02:23 +0100)]
Prepare for InstanceIdentifier change
InstanceIdentifier.getPathArguments() will have its return changed.
Prepare by using getPath() instead. Also fixes a warning about using raw
Future.
Change-Id: Idf7f2c4acc6cd4b77c2666ceede87f3cd465f9a3
Signed-off-by: Robert Varga <rovarga@cisco.com>
Dana Kutenicsova [Mon, 31 Mar 2014 13:51:25 +0000 (15:51 +0200)]
BUG-604 : Holdtimer value now calculated as the lower from local/remote session prefs.
Change-Id: I08bb324fec9816cd9110c24601a322c982810303
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Mon, 31 Mar 2014 11:26:42 +0000 (13:26 +0200)]
BUG-594 : added check for AS numbers beyond 2B range.
Change-Id: I30f870191dfccc5996b5fcb0b78400b4690a46be
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Robert Varga [Wed, 26 Mar 2014 00:10:15 +0000 (01:10 +0100)]
Make sure we set the key in the linkstate route entry
This fixes a missing key when storing the link state route. In order to
make it efficient, we need to pass back the InstanceIdentifier which
will be holding that entry. This also has the nice property of
increasing efficiency for IPv4/IPv6 routes by reusing the route key.
Change-Id: I777594feb283a7e5874da5cf8eaf6a97af49f1ab
Signed-off-by: Robert Varga <rovarga@cisco.com>
Robert Varga [Sat, 29 Mar 2014 15:30:36 +0000 (16:30 +0100)]
netconf-client is no longer needed by persister
Change-Id: I7cb0390231eb41a93103146465b4746ec1ecb11e
Signed-off-by: Robert Varga <rovarga@cisco.com>
Robert Varga [Tue, 25 Mar 2014 15:42:29 +0000 (16:42 +0100)]
Reduce logback dependency scope to test
There's no need to have it compile.
Change-Id: I7ab37e2f6b2f72b96210561df0dd8acabd05d11f
Signed-off-by: Robert Varga <rovarga@cisco.com>
Dana Kutenicsova [Fri, 21 Mar 2014 13:48:29 +0000 (14:48 +0100)]
BUG-64 : initial rewrite, MessageRegistry.
Change-Id: I6aaeb69545f05204c7de3399ce95fa061960e0fa
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Robert Varga [Wed, 19 Mar 2014 15:33:38 +0000 (16:33 +0100)]
Do not build JNI unconditionally
This patch introduces the "jni" profile, which triggers build of JNI
artifacts. This fixes the build on non-Linux machines, where the JNI
stuff will be pulled from nexus.
Change-Id: I2ca973b4b3067ac05a7297339c21c23581fd3dea
Signed-off-by: Robert Varga <rovarga@cisco.com>
Robert Varga [Fri, 21 Mar 2014 13:17:34 +0000 (14:17 +0100)]
Remove another distributionManagement
Change-Id: Icef92503e7edcafd7a6911529908b26db7707e71
Signed-off-by: Robert Varga <rovarga@cisco.com>
Dana Kutenicsova [Fri, 21 Mar 2014 08:34:57 +0000 (08:34 +0000)]
Merge "Initial code drop of Netty.io integration"
Dana Kutenicsova [Thu, 20 Mar 2014 10:48:51 +0000 (11:48 +0100)]
BUG-64 : initial rewrite, LabelRegistry.
Change-Id: Ie40b980cd3745a6674aa43b7403a36b9074754e7
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Mon, 17 Mar 2014 12:16:37 +0000 (13:16 +0100)]
Fixed delegate predefined value.
Change-Id: I61954d1022e136a7e59840c9358465c7c51a0858
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Fri, 14 Mar 2014 11:41:37 +0000 (12:41 +0100)]
BUG-64 : initial rewrite, ObjectRegistry.
Change-Id: I92764b8f0c44cab1b5b5c83f60f3153be873afda
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Wed, 19 Mar 2014 13:14:17 +0000 (13:14 +0000)]
Merge "Remove unused distributionManagement sections"
Robert Varga [Wed, 19 Mar 2014 12:52:30 +0000 (13:52 +0100)]
Remove unused distributionManagement sections
Change-Id: I5fbd37a261c79ae56616c5439239d4d4c28c3705
Signed-off-by: Robert Varga <rovarga@cisco.com>
Milos Fabian [Wed, 19 Mar 2014 12:23:45 +0000 (13:23 +0100)]
Move AbstractVendorSpecificTlvParser from pcep-spi to pcep-impl.
Change-Id: Ie3c622d9effc7454af387ad1607467d56a97b526
Signed-off-by: Milos Fabian <milfabia@cisco.com>
Robert Varga [Sun, 24 Nov 2013 19:25:55 +0000 (20:25 +0100)]
Initial code drop of Netty.io integration
This is binding glue allows for integration of the base TCP-MD5 code
with Netty.io library.
Change-Id: Id574736e4f3f8e21f75e79591190120b4495943b
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
Tomas Olvecky [Wed, 19 Mar 2014 08:43:36 +0000 (09:43 +0100)]
Fix bgpcep distribution after yangstore was removed.
Also fix RIBImplModuleTest which should work with yang parser directly.
Change-Id: Ib10eef8d3bc6e06abbd6ae0b42f7a612bff3bd8b
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
Dana Kutenicsova [Wed, 19 Mar 2014 08:22:39 +0000 (08:22 +0000)]
Merge "Initial support for RFC2385"
Tomas Olvecky [Thu, 6 Mar 2014 10:02:23 +0000 (11:02 +0100)]
Fix logging.bridge file location in config.ini .
Change-Id: Ic2713ce4543df977dafd89caa5323eec574ce611
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
Dana Kutenicsova [Fri, 14 Mar 2014 10:37:24 +0000 (11:37 +0100)]
BUG-64 : initial rewrite, EROSubobjectRegistry.
Change-Id: I3d8e8f6d23ae112c5f4cc045030fb71f0a4d5316
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Milos Fabian [Fri, 14 Mar 2014 14:40:35 +0000 (15:40 +0100)]
Fix TimedReconnectStrategyFactory - optional parameters must be objects not simple types.
Change-Id: I8078f4824587f6d1bfd7d2046cc8c403289272b1
Signed-off-by: Milos Fabian <milfabia@cisco.com>
Dana Kutenicsova [Thu, 13 Mar 2014 14:14:38 +0000 (15:14 +0100)]
BUG-64 : initial rewrite, RROSubobjectRegistry.
Change-Id: I02b515720c62228ce382e39a11252b8fde0dd33b
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Thu, 13 Mar 2014 12:21:17 +0000 (13:21 +0100)]
BUG-64 : reformat TlvRegistry, to skip using getType method.
Change-Id: If3dd450f148e255357eb11d230b94cb7ab058da8
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Tue, 11 Mar 2014 12:55:50 +0000 (13:55 +0100)]
BUG-64 : initial rewrite, XROSubobjectRegistry.
Change-Id: I845831d51830433dd88a881b63e215baeef0a7c8
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Milos Fabian [Thu, 13 Mar 2014 12:01:04 +0000 (13:01 +0100)]
Session reconnect strategy updated to factory.
Change-Id: I57ba847641609198492cfb6c361564f003d6af27
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Signed-off-by: Milos Fabian <milfabia@cisco.com>
Milos Fabian [Fri, 14 Mar 2014 09:10:00 +0000 (10:10 +0100)]
Fixed integration-tests: add missing bundle.
Change-Id: I7dfe93eafaa913dfef247ce4b01c529cdd26d35c
Signed-off-by: Milos Fabian <milfabia@cisco.com>
Robert Varga [Tue, 11 Mar 2014 14:26:52 +0000 (14:26 +0000)]
Merge "BUG-444: Refactored BGP-RIB configuration modules tests."
Milos Fabian [Tue, 11 Mar 2014 13:57:14 +0000 (14:57 +0100)]
BUG-444: Refactored BGP-RIB configuration modules tests.
-Added tests for BGPTableTypeImplModule
-Fixed validations in RIBImplModule
Change-Id: Iaaba1f6ceb52858d6b54c0b52774dab3b39596ad
Signed-off-by: Milos Fabian <milfabia@cisco.com>
Miroslav Miklus [Thu, 6 Mar 2014 12:54:34 +0000 (13:54 +0100)]
Initial support for RFC2385
This brings the ability to manipulate TCP MD5 key attached to a channel
if the underlying operating system supports it.
In order to talk to the underlying OS, we rely on Java Native Interface
(JNI), which contains OS-specific system calls. Currently only Linux is
supported.
Since the JRE libraries insulate Java code from the underlying details,
we also need to muck around implementation-private information within
Channel classes. Currently only openjdk and Oracle JRE is supported.
Change-Id: I664106a96da20ff47ecb71d7b541fe6eb0e056b1
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
Dana Kutenicsova [Tue, 11 Mar 2014 10:24:17 +0000 (11:24 +0100)]
Moved some abstract classes up one package.
Change-Id: Iaaa494519276d2ce1f9993b81bc73b286cc17619
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Tue, 11 Mar 2014 08:33:27 +0000 (09:33 +0100)]
Removed sonar warning by making variables private.
Change-Id: I9bd06a7c23515977de0d9dd79acc02c4e81e5dd8
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Robert Varga [Fri, 7 Mar 2014 10:07:18 +0000 (10:07 +0000)]
Merge "Added definition of vendor-specific tlv into pcep-types. Added abstract vs-tlv parser."
Dana Kutenicsova [Fri, 7 Mar 2014 09:53:31 +0000 (09:53 +0000)]
Merge "Do not hard-code HashedWheelTimer"
Milos Fabian [Tue, 4 Mar 2014 17:05:00 +0000 (18:05 +0100)]
Added definition of vendor-specific tlv into pcep-types.
Added abstract vs-tlv parser.
Change-Id: I62f920f1db35161fe7fa37645f2a7318eaa434af
Signed-off-by: Milos Fabian <milfabia@cisco.com>
Dana Kutenicsova [Thu, 6 Mar 2014 14:05:15 +0000 (15:05 +0100)]
Display all arguments when updating LSP.
Change-Id: Ic1af266e00de12b6d3000981a57af2a003dc97d9
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Wed, 5 Mar 2014 12:44:57 +0000 (13:44 +0100)]
Add all argument object to Pcupd.
Change-Id: I641a464269a5633447358289769eb3fd24114b78
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Robert Varga [Tue, 18 Feb 2014 10:15:19 +0000 (11:15 +0100)]
Force resynchronization of all LSPs on update
This makes sure we get all the LSPs flushed onto MD-SAL correctly.
Change-Id: Ia7b99741bd90f79c2f494269459308a901135b26
Signed-off-by: Robert Varga <rovarga@cisco.com>
Dana Kutenicsova [Wed, 5 Mar 2014 12:21:56 +0000 (12:21 +0000)]
Merge "BUG-444: Refactor pcep configuration modules tests."
Milos Fabian [Mon, 24 Feb 2014 12:56:11 +0000 (13:56 +0100)]
BUG-444: Refactor pcep configuration modules tests.
Change-Id: Ic7945108248ff9ff6f0ab0e7231e60e9b929e6db
Signed-off-by: Milos Fabian <milfabia@cisco.com>
Robert Varga [Sun, 2 Mar 2014 14:28:40 +0000 (15:28 +0100)]
Do not hard-code HashedWheelTimer
This patch moves out the HashedWheelTimer from BGPDispatcherImpl and
allows it to be configured. Additionally the default configuration is
updated to reuse the global timer.
Change-Id: I09019da9e60c06ba10753344d5434294abec41cc
Signed-off-by: Robert Varga <rovarga@cisco.com>
Robert Varga [Thu, 27 Feb 2014 15:03:01 +0000 (16:03 +0100)]
Re-activate cleanup
Change-Id: Ie8a75ef6424dad1828336b5c897e685a7d902226
Signed-off-by: Robert Varga <rovarga@cisco.com>
Dana Kutenicsova [Mon, 3 Mar 2014 15:22:13 +0000 (16:22 +0100)]
Removed final modifier, so that LSPA parser can be extended.
Change-Id: I4e962d88cf512a23573b0b7de2472c17e51841fd
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Mon, 3 Mar 2014 13:32:00 +0000 (14:32 +0100)]
Split pcep configuration to parser and provider.
Change-Id: Ie9899635a341eff05464269f0f68fcfb80ac9b65
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Tomas Olvecky [Fri, 28 Feb 2014 10:49:26 +0000 (11:49 +0100)]
Fix RIBImplModuleTest to work after default modules in sal are removed.
Commit http://git.opendaylight.org/gerrit/5496 will break this test, this commit fixes it.
Change-Id: Id198e77c2e5374c83e4a6e27df68c73b24bf9bb4
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
Robert Varga [Wed, 26 Feb 2014 11:41:40 +0000 (12:41 +0100)]
Do not degrate remote BGP identifier into a bytearrray
Change-Id: I6bb3bf64445c6956adea6794f24d7fc538724d36
Signed-off-by: Robert Varga <rovarga@cisco.com>
Robert Varga [Wed, 26 Feb 2014 09:59:40 +0000 (10:59 +0100)]
BUG-353: add remote-as awareness
This adds the configuration knob for the remote AS. Furthermore it adds
validation of the AS advertizement during negotiation. Drive-by fixes
include introduction of buildErrorNotify() and rename of fields inside
BGPObjectComparator for clarity.
Change-Id: Ie60e0633d84a8a6a239517600e4666dee2a0d3ed
Signed-off-by: Robert Varga <rovarga@cisco.com>
Robert Varga [Sat, 25 Jan 2014 16:05:47 +0000 (17:05 +0100)]
Rework BGP configuration
This patch reworks the structure of BGP configuration so that it follows
the logical organization of the RIB.
The core change is the creation of BGPPeer as a full-blown configuration
item. This encapsulates the previous proposal configuration and has the
inverse relationship with the RIB: the RIB is its dependency and it
pulls things like the local AS and BGP identifier from it.
Futher improvement is the introduction of bgp-table-type, which allows
explicit listing of tables which should be advertized in the BGP Open
message as well as specification of which tables should be tracked in
the local RIB.
Change-Id: I905759a3d9e780394579238d48ff0aee009a5544
Signed-off-by: Robert Varga <rovarga@cisco.com>
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Miroslav Miklus [Thu, 27 Feb 2014 12:22:01 +0000 (13:22 +0100)]
BGPCEP distribution package cleanup
Removed ad-sal with all dependendent bundles
Removed NB applications, Openflow, odl web, netconf-ssh
Change-Id: I47b4ad7a3b0ad2a724c0156c9f7654f7a9d794cb
Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
Robert Varga [Tue, 25 Feb 2014 16:41:56 +0000 (17:41 +0100)]
Use sendMessage() from AbstractSessionNegotiator
AbstractSessionNegotiator now exposes sendMessage(), which aside from
issuing a writeAndFlush() also makes sure the message leaves the socket
and fails negotiation otherwise. Let's use that throughout our
negotiators, as that will harden them in race conditions.
Change-Id: Ice6995bc3a0121bef219268ac18cdb885118d1a1
Signed-off-by: Robert Varga <rovarga@cisco.com>
Robert Varga [Fri, 21 Feb 2014 14:25:50 +0000 (15:25 +0100)]
BUG-430: Split off the various proposals
This creates the proper structure for per-revision proposals.
Change-Id: Ie17588a35cebc0a2557e7f9f3cfdbf98069d4aa5
Signed-off-by: Robert Varga <rovarga@cisco.com>
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Robert Varga [Wed, 26 Feb 2014 12:20:22 +0000 (13:20 +0100)]
Switch to using ListenerRegistration from yangtools
Yangtools concepts have been updated to mmatch our ListenerRegistration
semantics, so there's no reason to keep it around. Migrate our code and
remove it from our concepts.
Also remove Immutable interface. It has been deprecated and unused --
again, yangtools concepts carry the equivalent interface.
Change-Id: I28e5b4e06df0e0b39f808768763c341ad166e352
Signed-off-by: Robert Varga <rovarga@cisco.com>
Tomas Olvecky [Tue, 25 Feb 2014 11:34:28 +0000 (12:34 +0100)]
Bump config and netconf versions to 0.2.5-SNAPSHOT, bump ietf-yang-types, opendaylight-l2-types.
Change-Id: I9400f1e43d7e8b053c614d120bc4a764bdf1e726
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
Dana Kutenicsova [Tue, 25 Feb 2014 09:42:43 +0000 (09:42 +0000)]
Merge "Update copied 00-netty.xml with name enforcing of 'netty-global-event-executor' to 'singleton'."
Dana Kutenicsova [Mon, 24 Feb 2014 10:35:07 +0000 (11:35 +0100)]
More tests for stateful02 module.
Change-Id: I8a191ee66c0ffb0b762e7753a1ca3408d5768fa3
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Tomas Olvecky [Thu, 20 Feb 2014 09:56:05 +0000 (10:56 +0100)]
Update copied 00-netty.xml with name enforcing of 'netty-global-event-executor' to 'singleton'.
Change-Id: Ibe4882b83ace8cbad230375cbb9d3786128e134f
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
Dana Kutenicsova [Wed, 19 Feb 2014 15:53:42 +0000 (16:53 +0100)]
Cleaned up concepts.
Change-Id: Ifba0889a6c063eecc172ec01db22582ac0bf38b1
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Tomas Olvecky [Thu, 20 Feb 2014 08:44:33 +0000 (09:44 +0100)]
Fix tests in rib-impl-config to use 'singleton' name for global event executor.
Change-Id: Ic9609026145edd2850dd9ac7266eb43c83a97b1a
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
Robert Varga [Wed, 19 Feb 2014 11:11:33 +0000 (11:11 +0000)]
Merge changes I9c2aaa2e,Ia94bce78,I3a84c6c8
* changes:
Fixed NPE and updated logging.
Fixed update tunnel hanging.
Set proposal to default stateful02 session proposal.
Dana Kutenicsova [Wed, 19 Feb 2014 09:24:43 +0000 (10:24 +0100)]
Fixed NPE and updated logging.
Change-Id: I9c2aaa2e35dad85ceccdeeb0a2fec704538ab43c
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Tue, 18 Feb 2014 08:55:37 +0000 (09:55 +0100)]
Fixed update tunnel hanging.
Change-Id: Ia94bce78d4de8ca31a2c363c364bae39f6c71e5b
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Robert Varga [Tue, 18 Feb 2014 10:18:29 +0000 (11:18 +0100)]
Make sure to set the LSP name
This may have contributed to LSPs not being visible.
Change-Id: I8c97c0787c00453fb5f80e96291fffce7cfff8b8
Signed-off-by: Robert Varga <rovarga@cisco.com>
Dana Kutenicsova [Fri, 14 Feb 2014 12:29:50 +0000 (13:29 +0100)]
Set proposal to default stateful02 session proposal.
Change-Id: I3a84c6c8b0811c10187cf36a9553bc30244aa56c
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Robert Varga [Thu, 13 Feb 2014 17:39:31 +0000 (17:39 +0000)]
Merge "BGPCEP distribution package core bundle version fix"
Miroslav Miklus [Thu, 13 Feb 2014 15:32:38 +0000 (16:32 +0100)]
BGPCEP distribution package core bundle version fix
Fixed version of logging.bridge
Change-Id: I8bd7ee150f550656f12ee5b2f0c19aa22468253e
Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
Dana Kutenicsova [Thu, 13 Feb 2014 09:30:00 +0000 (10:30 +0100)]
Refactored LspDbVersion parser.
Change-Id: Iebc6cf8626ae06b757c0f2f57e1365b3a60ba3a3
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Robert Varga [Wed, 12 Feb 2014 21:26:18 +0000 (21:26 +0000)]
Merge "BGPCEP distribution package fix"
Miroslav Miklus [Wed, 12 Feb 2014 14:21:10 +0000 (15:21 +0100)]
BGPCEP distribution package fix
Multiple bundles added to distribution package
Change-Id: Ia38323e7dfcca3313f90f2373828ce04666f2d31
Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
Dana Kutenicsova [Wed, 12 Feb 2014 10:24:37 +0000 (11:24 +0100)]
Fixed missing tlvs from base parser.
Change-Id: I5ce104023fec836925cd99149a228461f99ab5f8
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Miroslav Miklus [Sun, 9 Feb 2014 20:38:12 +0000 (21:38 +0100)]
BGPCEP controller distribution package
BGPCEP ZIP package contains base controller, bgp and pcep bundles
Change-Id: I8da6f7f7503cf8877960dfbc5b79b1ead6fee70b
Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
Signed-off-by: Robert Varga <rovarga@cisco.com>
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Tue, 11 Feb 2014 09:59:55 +0000 (10:59 +0100)]
Topology provider rework to use lsp name instead of PLSPID as key.
Change-Id: Ib36dbdca734bc997e1d03f611a0c9c1b2076689a
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Maros Marsalek [Tue, 11 Feb 2014 10:33:24 +0000 (11:33 +0100)]
Bump version of protocol-framework to 0.5.0-SNAPSHOT
Change-Id: I2aaed0bd32f6b478f72319b4c4c41a17c1545a4f
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Robert Varga [Tue, 4 Feb 2014 21:25:42 +0000 (22:25 +0100)]
Fix a few typos in the description
Change-Id: I96eadc28957031bd8e5d7eb73ea5ec35f263cab3
Signed-off-by: Robert Varga <rovarga@cisco.com>
Dana Kutenicsova [Mon, 10 Feb 2014 14:32:02 +0000 (15:32 +0100)]
Get rid of mockito exceptions in tests.
Change-Id: I39a7177bb49c943b1b95017222b03d888c542e07
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Sat, 8 Feb 2014 12:23:19 +0000 (13:23 +0100)]
Removed duplicated code from stateful02. Extended existing parsers.
Change-Id: Ib5f0a5776fdc47d147f592871fff03358bccf9df
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Fri, 7 Feb 2014 20:19:54 +0000 (20:19 +0000)]
Merge "Synchronized with snapshot releases again"
Robert Varga [Fri, 7 Feb 2014 18:49:06 +0000 (19:49 +0100)]
Synchronized with snapshot releases again
Change-Id: Iab5f648863690721657b2be24872c52b47b35eea
Signed-off-by: Robert Varga <rovarga@cisco.com>
Dana Kutenicsova [Fri, 7 Feb 2014 15:46:01 +0000 (16:46 +0100)]
Removed duplicated code from stateful07.
Extended existing parsers.
Change-Id: I55d3b5c45c15aa1d2723603bf254004a382a6896
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Dana Kutenicsova [Fri, 7 Feb 2014 15:07:02 +0000 (16:07 +0100)]
Removed duplicate code from Open and LSPA object parsers in stateful02.
Change-Id: I98c3905d9cf6ac703bb1f76fe4eb4fe98c8d67e2
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Robert Varga [Fri, 7 Feb 2014 07:06:52 +0000 (08:06 +0100)]
Removed duplicated code from stateful07 Open and LSPA object parsers.
Change-Id: I4bf7428c67a95ba75930e9a2293e8d6ad032f3fc
Signed-off-by: Robert Varga <rovarga@cisco.com>
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Robert Varga [Fri, 7 Feb 2014 01:34:19 +0000 (02:34 +0100)]
Rename stateful02 handlers
Preparatory work for tying them with the base implementations.
Change-Id: Ie4a6727e25b9de2217bc78ece8fae91d8c2d94fa
Signed-off-by: Robert Varga <rovarga@cisco.com>
Robert Varga [Thu, 6 Feb 2014 22:34:23 +0000 (23:34 +0100)]
Rename stateful07 handlers
This prepares for sticking them under the base parser as subclasses
without getting lost in names.
Change-Id: Ia3c756399fd1ca28ae8f495ec9da790be56716ef
Signed-off-by: Robert Varga <rovarga@cisco.com>