controller.git
6 years agoMerge "BUG 1597 - Do not use toString as serialized version of YangInstanceIdentifier...
Ed Warnicke [Mon, 25 Aug 2014 09:07:28 +0000 (09:07 +0000)]
Merge "BUG 1597 - Do not use toString as serialized version of YangInstanceIdentifier/PathArgument"

6 years agoMerge "Add type of transaction being created to log message"
Ed Warnicke [Mon, 25 Aug 2014 09:06:24 +0000 (09:06 +0000)]
Merge "Add type of transaction being created to log message"

6 years agoMerge "Workaround for karaf bug KARAF-3069"
Moiz Raja [Mon, 25 Aug 2014 04:58:03 +0000 (04:58 +0000)]
Merge "Workaround for karaf bug KARAF-3069"

6 years agoMerge "Fix for possible NPE if Bundle is stopped."
Moiz Raja [Mon, 25 Aug 2014 04:56:54 +0000 (04:56 +0000)]
Merge "Fix for possible NPE if Bundle is stopped."

6 years agoModified Base Features to follow proper naming conventions 31/10231/2
Mathieu Lemay [Mon, 25 Aug 2014 01:46:43 +0000 (20:46 -0500)]
Modified Base Features to follow proper naming conventions

Following the comments of merged patch this fixes the Base Features
naming conventions so that it is : odl-base-xxx. Changes on dependent
feature files are also included.

Change-Id: I46683d1c6d8a8cf17a22c3909b2a1d6a2ee3ff89
Signed-off-by: Mathieu Lemay <mlemay@inocybe.com>
6 years agoMerge changes Ib0aadbff,I765ffc07
Madhu Venugopal [Mon, 25 Aug 2014 01:16:32 +0000 (01:16 +0000)]
Merge changes Ib0aadbff,I765ffc07

* changes:
  Add descriptions to features.
  Small change to make everything executable in target/assembly

6 years agoMerge "Keep a cache of QName"
Tom Pantelis [Mon, 25 Aug 2014 00:53:49 +0000 (00:53 +0000)]
Merge "Keep a cache of QName"

6 years agoAdd descriptions to features. 30/10230/1
Ed Warnicke [Sun, 24 Aug 2014 22:08:13 +0000 (17:08 -0500)]
Add descriptions to features.

Change-Id: Ib0aadbffe1d50cb15511d3aa1fb590a24a4bcb19
Signed-off-by: Ed Warnicke <eaw@cisco.com>
6 years agoTrial patch to use stock jersey-servlet 51/10151/2
Ed Warnicke [Thu, 21 Aug 2014 22:21:20 +0000 (17:21 -0500)]
Trial patch to use stock jersey-servlet

Change-Id: I69229a768ebb6e40c43c7881083781e5c55cfe3d
Signed-off-by: Ed Warnicke <eaw@cisco.com>
6 years agoSmall change to make everything executable in target/assembly 95/10195/2
Ed Warnicke [Fri, 22 Aug 2014 22:05:58 +0000 (17:05 -0500)]
Small change to make everything executable in target/assembly

It is already if you unzip the zip file.

Change-Id: I765ffc07286abd4cd1f6fb113fc8872c35fc7f52
Signed-off-by: Ed Warnicke <eaw@cisco.com>
6 years agoMerge "Added features-test for Karaf features that cover Network Service Functions...
Giovanni Meo [Sun, 24 Aug 2014 20:05:27 +0000 (20:05 +0000)]
Merge "Added features-test for Karaf features that cover Network Service Functions and ADSAL Northbound APIs"

6 years agoMerge changes If391c483,I964eedcd
Giovanni Meo [Sun, 24 Aug 2014 20:04:00 +0000 (20:04 +0000)]
Merge changes If391c483,I964eedcd

* changes:
  Added features-test for ADSAL Layer  Karaf features and fixed some minor issues that caused the failures before.
  Added features-test for base Karaf features and fixed some minor issues that caused the failures before.

6 years agoAdd type of transaction being created to log message 44/9944/5
Moiz Raja [Thu, 14 Aug 2014 09:18:16 +0000 (02:18 -0700)]
Add type of transaction being created to log message

Change-Id: Ib8a2de78c685ef53de988fadb6bf9343ecc174dd
Signed-off-by: Moiz Raja <moraja@cisco.com>
6 years agoKeep a cache of QName 69/9869/11
Moiz Raja [Mon, 11 Aug 2014 22:44:56 +0000 (15:44 -0700)]
Keep a cache of QName

QName creation is expensive so keep of cache of 10,000 QNames around so that
we can lookup QNames that were previously created

Change-Id: I04e19bbe733a9da46b999e517e2eefdbb88d1259
Signed-off-by: Moiz Raja <moraja@cisco.com>
6 years agoWorkaround for karaf bug KARAF-3069 13/10213/1
Ed Warnicke [Sun, 24 Aug 2014 13:09:47 +0000 (08:09 -0500)]
Workaround for karaf bug KARAF-3069

https://issues.apache.org/jira/browse/KARAF-3069

More recent maven-bundle-plugins are putting

Require-Capability: osgi.ee; filter="(&(osgi.ee=JavaSE)(version=1.6))"
into MANIFEST.MF.  This causes them to not
be loadable in karaf when using the equinox framework (though
felix works fine).

As noted in the bug, this is the workaround.

Change-Id: I3a5aef13ee8dd76e5925b19b7d9e46eecc88adf6
Signed-off-by: Ed Warnicke <eaw@cisco.com>
6 years agoMerge "Bug 1262 - Document Transaction Chaining of MD-SAL"
Ed Warnicke [Sat, 23 Aug 2014 19:41:47 +0000 (19:41 +0000)]
Merge "Bug 1262 - Document Transaction Chaining of MD-SAL"

6 years agoAdded features-test for Karaf features that cover Network Service Functions and ADSAL... 93/10193/2
Madhu Venugopal [Fri, 22 Aug 2014 20:25:21 +0000 (13:25 -0700)]
Added features-test for Karaf features that cover Network Service Functions and ADSAL Northbound APIs

Also fixed a minor issues that caused the failures before.

Change-Id: I178f36f2ff53bbdd4d47864a3a153acab91b0a41
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
6 years agoAdded features-test for ADSAL Layer Karaf features and fixed some minor issues that... 92/10192/2
Madhu Venugopal [Fri, 22 Aug 2014 19:36:13 +0000 (12:36 -0700)]
Added features-test for ADSAL Layer  Karaf features and fixed some minor issues that caused the failures before.

Change-Id: If391c4837972062b4d90e5a84606ba5a74a60b24
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
6 years agoBUG 1597 - Do not use toString as serialized version of YangInstanceIdentifier/PathAr... 04/10204/1
Moiz Raja [Sat, 23 Aug 2014 10:34:43 +0000 (03:34 -0700)]
BUG 1597 - Do not use toString as serialized version of YangInstanceIdentifier/PathArgument

The code has been modified to stop interpreting YangInstanceIdentifier.toString
and PathArgument.toString as a serialized versions of those objects. The toString
implementations of those objects has now been moved into PathUtils.

- NormalizedNodeGetter and NormalizedNodeToNodeCodecTest have been modified to use
PathUtils.toString instead of YangInstanceIdentifier.toString or PathArgument.toString

- Added tests to cover all the utilities in PathUtils

Change-Id: I1ed2c452e15a45229c36532d59db7fa1a77d283d
Signed-off-by: Moiz Raja <moraja@cisco.com>
6 years agoAdded features-test for base Karaf features and fixed some minor issues that caused... 82/10182/3
Madhu Venugopal [Fri, 22 Aug 2014 17:39:23 +0000 (10:39 -0700)]
Added features-test for base Karaf features and fixed some minor issues that caused the failures before.

Change-Id: I964eedcdb6b1d109f5ab3e494a7d0202ff66643b
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
6 years ago BUG 1606 - A read is attempted on a WRITE_ONLY transaction 01/10201/1
Basheeruddin Ahmed [Sat, 23 Aug 2014 02:03:02 +0000 (19:03 -0700)]
 BUG 1606 - A read is attempted on a WRITE_ONLY transaction

Change-Id: I896d976ff387ecdc9ecfe6e4cb2ead75b15c15f5
Signed-off-by: Basheeruddin Ahmed <syedbahm@cisco.com>
6 years agoMerge "changed the label for seed node config"
Moiz Raja [Fri, 22 Aug 2014 21:43:21 +0000 (21:43 +0000)]
Merge "changed the label for seed node config"

6 years agoMerge "Configuration service uses an inconsistent hashcode in the clustered data...
Alessandro Boch [Fri, 22 Aug 2014 15:53:59 +0000 (15:53 +0000)]
Merge "Configuration service uses an inconsistent hashcode in the clustered data structure"

6 years agoConfiguration service uses an inconsistent hashcode in the clustered data structure 74/10174/1
Giovanni Meo [Fri, 22 Aug 2014 14:50:03 +0000 (16:50 +0200)]
Configuration service uses an inconsistent hashcode in the clustered data structure

- Using Enum in the Key field of a clustered data structure can lead
to propagation issues, because the clustering services implementation
relay on a consistent hashcode to be calculated. So replaced the Java
Enum used in configuration.implementation bundle with String.

Change-Id: Id36ac46c9f38859d5325fc4f2e8674c9c3828ec4
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
6 years agoBug 1262 - Document Transaction Chaining of MD-SAL 33/8733/3
Robert Varga [Mon, 7 Jul 2014 12:06:21 +0000 (14:06 +0200)]
Bug 1262 - Document Transaction Chaining of MD-SAL

Improves and clarifies the transaction chain concept and related APIs.

Change-Id: Ib509cdef33f8b51f8bd142b93657eace489e03a1
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoMerge "Incorrect name of elements in yang case nodes"
Tom Pantelis [Fri, 22 Aug 2014 11:59:25 +0000 (11:59 +0000)]
Merge "Incorrect name of elements in yang case nodes"

6 years agoMerge "Resolving Karaf Northbound API issues with a few related fixes"
Giovanni Meo [Fri, 22 Aug 2014 11:24:18 +0000 (11:24 +0000)]
Merge "Resolving Karaf Northbound API issues with a few related fixes"

6 years agoMerge "Removed getClass comparison if FlowComparator."
Tony Tkacik [Fri, 22 Aug 2014 10:52:15 +0000 (10:52 +0000)]
Merge "Removed getClass comparison if FlowComparator."

6 years agoMerge "Remove unused getter"
Devin Avery [Fri, 22 Aug 2014 09:09:38 +0000 (09:09 +0000)]
Merge "Remove unused getter"

6 years agoMerge "BUG-868: remove unused things"
Devin Avery [Fri, 22 Aug 2014 09:04:45 +0000 (09:04 +0000)]
Merge "BUG-868: remove unused things"

6 years agoMerge "BUG-868: remove deprecated call"
Devin Avery [Fri, 22 Aug 2014 09:02:56 +0000 (09:02 +0000)]
Merge "BUG-868: remove deprecated call"

6 years agoResolving Karaf Northbound API issues with a few related fixes 11/10111/5
Madhu Venugopal [Fri, 22 Aug 2014 05:39:00 +0000 (22:39 -0700)]
Resolving Karaf Northbound API issues with a few related fixes

1. Upgrading Apache Tomcat Patch version from 7.0.32 to 7.0.53 (https://git.opendaylight.org/gerrit/10110)
2. No impact to the legacy distribution.
3. Fixing the Jackson - Jersey binding by fixing the Classloader confusion where multiple bundles exports javax.ws.rs
4. Adding a temporary hack for the Http authentication by adding a karaf-tomcat-security bundle
   The existing security bundle is rift with dependencies into a lot of deeply chained AD-SAL NSF and needs a lot of pruning.
   Hence in order to make progress in Karaf testing and development, Have bypassed it temporarily and we will fix it soon.

Change-Id: I132002c0b4e389f50968c7fd08521157900183d3
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
6 years agoSmall fix on dependencies for karaf features. 50/10150/1
Ed Warnicke [Thu, 21 Aug 2014 21:59:24 +0000 (16:59 -0500)]
Small fix on dependencies for karaf features.

Change-Id: I5debead6260c8777cdae9b0a7d9def804acb3adb
Signed-off-by: Ed Warnicke <eaw@cisco.com>
6 years agoRemove unused getter 28/9928/3
Robert Varga [Wed, 13 Aug 2014 20:29:38 +0000 (22:29 +0200)]
Remove unused getter

Change-Id: Ib43a2a6a00029260b89358e115f0549db8f3e3ed
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoBUG-868: remove unused things 27/9927/3
Robert Varga [Wed, 13 Aug 2014 20:27:29 +0000 (22:27 +0200)]
BUG-868: remove unused things

Change-Id: Ia90c279cb4f0871e4dccc4facf2dd739ab83d573
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoBUG-868: remove deprecated call 26/9926/3
Robert Varga [Wed, 13 Aug 2014 20:26:43 +0000 (22:26 +0200)]
BUG-868: remove deprecated call

Change-Id: I1dc3b1634f2439dfa456415968bb718509de2ebc
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoChanged gossiper test to use akka system's LocalRefProvider 20/10120/2
Abhishek Kumar [Thu, 21 Aug 2014 01:51:43 +0000 (18:51 -0700)]
Changed gossiper test to use akka system's LocalRefProvider

This improves unit test's performance and reliability

Change-Id: I6e669c5994aacb0c6ec3da0a321110572aa29f31
Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>
6 years agoAdded more tests for Bucket store 19/10119/2
Abhishek Kumar [Thu, 21 Aug 2014 01:14:20 +0000 (18:14 -0700)]
Added more tests for Bucket store

Changed bucket store tests to use akka's LocalRefProvider from ClusterRefProvider
to improve performance. Also added more unit tests.

Change-Id: Iadc6b5967074651a99027f10538aee88a7c4ec84
Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>
6 years agochanged the label for seed node config 46/10146/1
Basheeruddin Ahmed [Thu, 21 Aug 2014 17:51:42 +0000 (10:51 -0700)]
changed the label for seed node config

Change-Id: Iafbd7d781f0fb41bff8e0194954809febecf909c
Signed-off-by: Basheeruddin Ahmed <syedbahm@cisco.com>
6 years agoMerge "Karaf odl-nsf-managers feature fails due to missing topologymanager shell...
Madhu Venugopal [Thu, 21 Aug 2014 15:50:38 +0000 (15:50 +0000)]
Merge "Karaf odl-nsf-managers feature fails due to missing topologymanager shell. Fixing that."

6 years agoRemoved getClass comparison if FlowComparator. 40/10140/1
Tony Tkacik [Thu, 21 Aug 2014 14:55:09 +0000 (16:55 +0200)]
Removed getClass comparison if FlowComparator.

Change-Id: I1acb4201afe56bd83ac8e8b3f16071981f95c186
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
6 years agoMerge "Bug 1586: Do not use JaxRS 2.0 unnecessarily"
Ed Warnicke [Thu, 21 Aug 2014 14:38:56 +0000 (14:38 +0000)]
Merge "Bug 1586: Do not use JaxRS 2.0 unnecessarily"

6 years agoMerge "Converted Inventory Manager to use Transaction Chaining"
Ed Warnicke [Thu, 21 Aug 2014 14:37:01 +0000 (14:37 +0000)]
Merge "Converted Inventory Manager to use Transaction Chaining"

6 years agoMerge "Fixed possible NPE in flow reconciliation"
Ed Warnicke [Thu, 21 Aug 2014 14:26:58 +0000 (14:26 +0000)]
Merge "Fixed possible NPE in flow  reconciliation"

6 years agoMerge "Bug 1585 - switch features removed after node updated"
Ed Warnicke [Thu, 21 Aug 2014 10:57:14 +0000 (10:57 +0000)]
Merge "Bug 1585 - switch features removed after node updated"

6 years agoMerge "Revert "Revert "BUG-1425: Integrated new Binding to Normalized Node codec...
Tony Tkacik [Thu, 21 Aug 2014 09:58:22 +0000 (09:58 +0000)]
Merge "Revert "Revert "BUG-1425: Integrated new Binding to Normalized Node codec for write path"""

6 years agoMerge "SupervisorStrategy caught throwable - logging"
Moiz Raja [Thu, 21 Aug 2014 09:12:08 +0000 (09:12 +0000)]
Merge "SupervisorStrategy caught throwable - logging"

6 years agoMerge "Correct the self usage in ThreePhaseCommitCohort Seems this correction missed...
Moiz Raja [Thu, 21 Aug 2014 09:11:04 +0000 (09:11 +0000)]
Merge "Correct the self usage in ThreePhaseCommitCohort Seems this correction missed from another commit"

6 years agoMerge "BUG-1568 Getting rid of StreamGobller from netconf ssh client."
Tony Tkacik [Thu, 21 Aug 2014 09:09:01 +0000 (09:09 +0000)]
Merge "BUG-1568 Getting rid of StreamGobller from netconf ssh client."

6 years agoMerge "BUG-1541 Make EXI and clientConnectTimeout configurable in testtool."
Tony Tkacik [Thu, 21 Aug 2014 09:08:47 +0000 (09:08 +0000)]
Merge "BUG-1541 Make EXI and clientConnectTimeout configurable in testtool."

6 years agoMerge "Fix race condition in SSH NETCONF server"
Tony Tkacik [Thu, 21 Aug 2014 09:08:33 +0000 (09:08 +0000)]
Merge "Fix race condition in SSH NETCONF server"

6 years agoIncorrect name of elements in yang case nodes 26/10126/1
Jozef Gloncak [Thu, 21 Aug 2014 08:52:00 +0000 (10:52 +0200)]
Incorrect name of elements in yang case nodes

Name of child node among all cases of choice has to be unique.

Change-Id: I05a0f57d7bc6c6ba5f4754eada4cfb4fe2ec48fa
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
6 years agoBug 1586: Do not use JaxRS 2.0 unnecessarily 25/10125/1
Tony Tkacik [Thu, 21 Aug 2014 08:32:11 +0000 (10:32 +0200)]
Bug 1586: Do not use JaxRS 2.0 unnecessarily

As it turned out our container uses jax-rs 1.0 so we removed
unnecessarily call to 2.0 constructor.

Change-Id: I23c38871050c34d721b21369da5b162a18925a9d
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
6 years agoMerge "Patch to eliminate sleeps in RemoteRpc tests"
Moiz Raja [Thu, 21 Aug 2014 07:43:36 +0000 (07:43 +0000)]
Merge "Patch to eliminate sleeps in RemoteRpc tests"

6 years agoBUG-1568 Getting rid of StreamGobller from netconf ssh client. 03/10103/2
Maros Marsalek [Wed, 20 Aug 2014 13:11:35 +0000 (15:11 +0200)]
BUG-1568 Getting rid of StreamGobller from netconf ssh client.

We have another thread in SshClientAdapter that works as StreamGobller
http://www.ganymed.ethz.ch/ssh2/FAQ.html#blocking

Change-Id: I3f61b14cb22396d8b5898028bd83f62d98c6866d
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
6 years agoMerge "NETCONF scalability: share instances"
Tony Tkacik [Thu, 21 Aug 2014 07:20:59 +0000 (07:20 +0000)]
Merge "NETCONF scalability: share instances"

6 years agoMerge "BUG-1493: split off recursion tracking and rework it"
Tony Tkacik [Thu, 21 Aug 2014 07:18:03 +0000 (07:18 +0000)]
Merge "BUG-1493: split off recursion tracking and rework it"

6 years agoMerge "BUG-1493: Add test suite documentation"
Tony Tkacik [Thu, 21 Aug 2014 07:17:48 +0000 (07:17 +0000)]
Merge "BUG-1493: Add test suite documentation"

6 years agoKaraf odl-nsf-managers feature fails due to missing topologymanager shell. Fixing... 78/9978/2
Madhu Venugopal [Fri, 15 Aug 2014 13:43:48 +0000 (06:43 -0700)]
Karaf odl-nsf-managers feature fails due to missing topologymanager shell. Fixing that.

Change-Id: I5dca10c904235c10efd60626a6ab6c8cd57db62c
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
6 years agoPatch to eliminate sleeps in RemoteRpc tests 84/10084/3
Abhishek Kumar [Wed, 20 Aug 2014 01:49:06 +0000 (18:49 -0700)]
Patch to eliminate sleeps in RemoteRpc tests

Instead of using sleeps to wait for message processing to complete
the tests now installs a probe on the subject(actor). Subject(actor) sends
message to the probe when it processes message. The test monitors the
probe for specific messages and knows when the message has been
processed by the subject(actor).

Patch#2: Fixed probe creation and updated assertions

Change-Id: I10652b59e4138adbe6c6821d4411b06e1b3f1598
Signed-off-by: Moiz Raja <moraja@cisco.com>
Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>
6 years agoSmall fixes to feature files. 80/10080/5
Ed Warnicke [Tue, 19 Aug 2014 23:43:54 +0000 (18:43 -0500)]
Small fixes to feature files.

As it turns out... the default artifact type
for config files is jar from commons/opendaylight/pom.xml

This is not corrected there because jar *is* the thing that
is used by the legacy distributions...

But if we don't correct it here, if you try to test a feature
against an empty .m2... the test will fail.

(Yes, this is how I spend my evenings, emtpying out my .m2
directory :( )

Change-Id: Icd24a7a2437f999da3f0c10618fead203b726c62
Signed-off-by: Ed Warnicke <eaw@cisco.com>
6 years agoMerge "Increasing the time-out to allow for message processing."
Moiz Raja [Wed, 20 Aug 2014 18:51:33 +0000 (18:51 +0000)]
Merge "Increasing the time-out to allow for message processing."

6 years agoSupervisorStrategy caught throwable - logging 82/10082/2
Basheeruddin Ahmed [Wed, 20 Aug 2014 01:10:50 +0000 (18:10 -0700)]
SupervisorStrategy caught throwable - logging

logging stacktrace at warning level
patch2: increased timeout for one of the test case as build was failing

Change-Id: Ia09dcfacd90f11ad725c7601e0a71ac3983f0dbf
Signed-off-by: Basheeruddin Ahmed <syedbahm@cisco.com>
6 years agoCorrect the self usage in ThreePhaseCommitCohort 76/10076/3
Basheeruddin Ahmed [Tue, 19 Aug 2014 19:42:15 +0000 (12:42 -0700)]
Correct the self usage in ThreePhaseCommitCohort
Seems this correction missed from another commit

Change-Id: Iacd8055b0e59238cf3377f250de0f0e17f4e3e98
Signed-off-by: Basheeruddin Ahmed <syedbahm@cisco.com>
6 years agoBUG-1493: split off recursion tracking and rework it 62/10062/5
Robert Varga [Thu, 14 Aug 2014 09:13:19 +0000 (11:13 +0200)]
BUG-1493: split off recursion tracking and rework it

This patch reworks tracking of recursion state into a separate class.
This allows us to unify the four call sites and provide a simple
heuristic. A state object is allocated each time we enter a new child
and its buidlers are collected when we emerge from it -- resulting in
more accurate event reporting, eliminating false positives.

Further optimization allows us to stop recursing as soon as we know no
listeners are affected by the outcome at a particular level.

Change-Id: I2be29cebb79892c85a22e79b18c2e62f77bfb7d4
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoBUG-1493: Add test suite documentation 61/10061/4
Robert Varga [Sat, 16 Aug 2014 00:23:50 +0000 (02:23 +0200)]
BUG-1493: Add test suite documentation

This patch adds some sorely needed documentation.

Change-Id: I2cdf5122ba861b083203f82336300736e824ca3d
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoMerge "BUG 932 - Swagger HTTP POST contains incorrect object"
Devin Avery [Wed, 20 Aug 2014 13:14:36 +0000 (13:14 +0000)]
Merge "BUG 932 - Swagger HTTP POST contains incorrect object"

6 years agoNETCONF scalability: share instances 00/10100/1
Robert Varga [Wed, 20 Aug 2014 12:29:07 +0000 (14:29 +0200)]
NETCONF scalability: share instances

Scalability testing shows that the netconf session code:
- retains XML document reference
- does not reuse QName instances

Change-Id: I6b58355e3fa74d67872d665d0f8dc2d16abe156c
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoBUG-1541 Make EXI and clientConnectTimeout configurable in testtool. 97/10097/1
Maros Marsalek [Wed, 20 Aug 2014 11:28:34 +0000 (13:28 +0200)]
BUG-1541 Make EXI and clientConnectTimeout configurable in testtool.

Change-Id: I0152a78691b87a2d2674b0ecf0e4844f0ca9b35b
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
6 years agoFix race condition in SSH NETCONF server 96/10096/1
Maros Marsalek [Wed, 20 Aug 2014 09:32:44 +0000 (11:32 +0200)]
Fix race condition in SSH NETCONF server

Change-Id: I205a1670b30dcfad4230418c133fd87e069e15e6
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
6 years agoMerge "Fix exception when netconf device provides YIN schemas"
Tony Tkacik [Wed, 20 Aug 2014 07:16:33 +0000 (07:16 +0000)]
Merge "Fix exception when netconf device provides YIN schemas"

6 years agoBUG 932 - Swagger HTTP POST contains incorrect object 68/9068/10
Jozef Gloncak [Wed, 16 Jul 2014 12:03:20 +0000 (14:03 +0200)]
BUG 932 - Swagger HTTP POST contains incorrect object

POST link now contains specific JSON structure which ends with POST suffix
and contains all containers and lists which are direct subchildren of
current node (URI link). It is list of possible objects which can be used
in POST request. Concretelly are these objects specified below this *POST
JSON object and are also all specified in Parameters section of GUI POST
URI link with ** prefix. Two stars (**) mean that only one of parameters
with ** prefix should be specified.

Change-Id: I3acdfd1f181fbef7cca0060d534b706d934bb1e3
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
6 years agoIncreasing the time-out to allow for message processing. 83/10083/1
Abhishek Kumar [Wed, 20 Aug 2014 01:45:09 +0000 (18:45 -0700)]
Increasing the time-out to allow for message processing.

Change-Id: I2e6b71ac6be262c604dfdaf95373d2c3f96e4537
Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>
6 years agoAdded a missing dependency to codahale's metrics 75/10075/1
Abhishek Kumar [Tue, 19 Aug 2014 18:21:33 +0000 (11:21 -0700)]
Added a missing dependency to codahale's metrics
package in remoterpc bundle

Change-Id: Ieb06010fa56686d46d95625dde3249cee25354b2
Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>
6 years agoMerge "Bug 1534: Changed blocking calls to async in dist data store"
Moiz Raja [Tue, 19 Aug 2014 16:55:29 +0000 (16:55 +0000)]
Merge "Bug 1534: Changed blocking calls to async in dist data store"

6 years agoMerge "Custom mailbox that is bounded and instrumented."
Moiz Raja [Tue, 19 Aug 2014 16:54:17 +0000 (16:54 +0000)]
Merge "Custom mailbox that is bounded and instrumented."

6 years agoMerge "Moving common code out of remote rpc to clustering common bundle"
Moiz Raja [Tue, 19 Aug 2014 16:53:44 +0000 (16:53 +0000)]
Merge "Moving common code out of remote rpc to clustering common bundle"

6 years agoMerge "Turn on feature testing for those features that pass"
Devin Avery [Tue, 19 Aug 2014 14:24:06 +0000 (14:24 +0000)]
Merge "Turn on feature testing for those features that pass"

6 years agoMerge "Moved the resources to a separate plugin so they can be used by others."
Devin Avery [Tue, 19 Aug 2014 14:23:14 +0000 (14:23 +0000)]
Merge "Moved the resources to a separate plugin so they can be used by others."

6 years agoMerge "Revert "Added the Buffer-Id to packet-in.""
Ed Warnicke [Tue, 19 Aug 2014 13:39:19 +0000 (13:39 +0000)]
Merge "Revert "Added the Buffer-Id to packet-in.""

6 years agoConverted Inventory Manager to use Transaction Chaining 64/10064/1
Tony Tkacik [Tue, 19 Aug 2014 13:18:53 +0000 (15:18 +0200)]
Converted Inventory Manager to use Transaction Chaining

Change-Id: Ife022b95daf4bf20b4e0fa243b2d55d898b85722
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
6 years agoFixed possible NPE in flow reconciliation 63/10063/1
Tony Tkacik [Tue, 19 Aug 2014 12:58:48 +0000 (14:58 +0200)]
Fixed possible NPE in flow  reconciliation

Code assumed non-null lists when processing augmentation
but Binding Specification allows null to be present.

Change-Id: Ifec62afc2ffd9eb3073685251b62359591ee955d
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
6 years agoRevert "Added the Buffer-Id to packet-in." 60/10060/1
Ed Warnicke [Tue, 19 Aug 2014 11:17:33 +0000 (11:17 +0000)]
Revert "Added the Buffer-Id to packet-in."

This reverts commit 41a6be9bc180cd81e24e5872ca0682e15b37a7f6.

This revert was because it *appears* this patch is breaking integration (not sure how yet).

Change-Id: I1daf9b240c8c31a17e8b4a3f7fc5d20186a6cd0e
Signed-off-by: Ed Warnicke <eaw@cisco.com>
6 years agoFix exception when netconf device provides YIN schemas 52/9852/7
Maros Marsalek [Mon, 11 Aug 2014 09:45:38 +0000 (11:45 +0200)]
Fix exception when netconf device provides YIN schemas

Change-Id: I8397b709f2202e76f8b25915563482c8d05ee83b
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
6 years agoFix for possible NPE if Bundle is stopped. 88/9888/3
Ed Warnicke [Tue, 12 Aug 2014 15:45:34 +0000 (10:45 -0500)]
Fix for possible NPE if Bundle is stopped.

Change-Id: Iaf1d44f8b600e69392452b74042812b35e8101de
Signed-off-by: Ed Warnicke <eaw@cisco.com>
6 years agoMerge "Added the Buffer-Id to packet-in."
Ed Warnicke [Tue, 19 Aug 2014 04:52:33 +0000 (04:52 +0000)]
Merge "Added the Buffer-Id to packet-in."

6 years agoBug 1585 - switch features removed after node updated 91/10091/1
Martin Bobak [Tue, 19 Aug 2014 03:52:11 +0000 (05:52 +0200)]
Bug 1585 - switch features removed after node updated

- use tx.merge rather than tx.put when node or nodeConnector is updated

Change-Id: Ib85dff96396d5805d148ed781401abc02a19982b
Signed-off-by: Martin Bobak <mbobak@cisco.com>
6 years agoCustom mailbox that is bounded and instrumented. 73/9973/6
Abhishek Kumar [Fri, 15 Aug 2014 06:15:28 +0000 (23:15 -0700)]
Custom mailbox that is bounded and instrumented.

This is for use with Akka actors. It enables monitoring
of actor's mailbox size via JMX.

Change-Id: Ic1e478e4411f53ff0239d316a1ca02eaa80360ed
Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>
6 years agoTurn on feature testing for those features that pass 47/10047/3
Ed Warnicke [Mon, 18 Aug 2014 18:08:42 +0000 (13:08 -0500)]
Turn on feature testing for those features that pass

(includes a fix for features/config)

From this point onward, those features should
break the build if they are broken.

Change-Id: I9eecdabe2e7556a5d60a720f86d7a5e78421b6ef
Signed-off-by: Ed Warnicke <eaw@cisco.com>
6 years agoMoved the resources to a separate plugin so they can be 61/9861/9
Ed Warnicke [Mon, 11 Aug 2014 18:28:20 +0000 (13:28 -0500)]
Moved the resources to a separate plugin so they can be
used by others.

The idea here would be to allow the projects to build
their own local runnable instances, as well as integration,
while keeping things in sync.

A couple of notes:
1)  Please be patient, this is a pull apart of work to
get features working in general, so there may be
some extra things in commons/opendaylight/pom.xml
for that are for that follow on patch.  Mea culpa.

2)  I created an opendaylight-karaf-empty distribution
that *just* pulls in the resources to be used
for feature testing (see next patch)

Change-Id: Id4816f7083cedde8fe1e1ff2aaa58d581d45c8ab
Signed-off-by: Ed Warnicke <eaw@cisco.com>
6 years agoPropogating cohort failure back to calling actor 75/9975/7
Basheeruddin Ahmed [Fri, 15 Aug 2014 08:11:16 +0000 (01:11 -0700)]
Propogating cohort failure back to calling actor

Created new ThreePhaseCommitCohortFailureTest negative test cases

patch 2: updated based on Tom's code review comments
patch 3: reformatted Shard class
patch 4: minor comments taken care of.
patch 5: review comments taken care of
patch 6/7: getSender/getSelf issue fixed
Change-Id: I403d8e7cbf44739b16a21345c645b7b66f9f8ac6
Signed-off-by: Basheeruddin Ahmed <syedbahm@cisco.com>
6 years agoMoving common code out of remote rpc to clustering common bundle 01/10001/3
Harman Singh [Sat, 16 Aug 2014 00:50:58 +0000 (17:50 -0700)]
Moving common code out of remote rpc to clustering common bundle

Change-Id: Iad469f809ac55b2d873ff4d48e912ad66184c68d
Signed-off-by: Harman Singh <harmasin@cisco.com>
6 years agoMerge "Bug 1430: Obtain config params from config system"
Devin Avery [Mon, 18 Aug 2014 15:28:25 +0000 (15:28 +0000)]
Merge "Bug 1430: Obtain config params from config system"

6 years agoMerge "Modifications to error handling in restconf"
Devin Avery [Mon, 18 Aug 2014 15:24:20 +0000 (15:24 +0000)]
Merge "Modifications to error handling in restconf"

6 years agoMerge "BUG-1541 Netconf device simulating testtool"
Ed Warnicke [Mon, 18 Aug 2014 15:20:04 +0000 (15:20 +0000)]
Merge "BUG-1541 Netconf device simulating testtool"

6 years agoMerge "BUG-1541 Extract AuthProvider interface"
Ed Warnicke [Mon, 18 Aug 2014 15:19:51 +0000 (15:19 +0000)]
Merge "BUG-1541 Extract AuthProvider interface"

6 years agoMerge "BUG-1535 Ignore exception on toaster.close"
Ed Warnicke [Mon, 18 Aug 2014 14:52:59 +0000 (14:52 +0000)]
Merge "BUG-1535 Ignore exception on toaster.close"

6 years agoMerge "BUG-1558 Fix BindingAwareActivator ignoring removedService call."
Ed Warnicke [Mon, 18 Aug 2014 14:52:43 +0000 (14:52 +0000)]
Merge "BUG-1558 Fix BindingAwareActivator ignoring removedService call."

6 years agoMerge "Fix precondition formatting"
Ed Warnicke [Mon, 18 Aug 2014 14:52:17 +0000 (14:52 +0000)]
Merge "Fix precondition formatting"

6 years agoBUG-1541 Netconf device simulating testtool 87/9887/3
Maros Marsalek [Tue, 12 Aug 2014 13:31:27 +0000 (15:31 +0200)]
BUG-1541 Netconf device simulating testtool

Produces executable jar file.

The jar can simulate arbitrary number of netconf devices that listen on configured ports
Schemas are loaded from a provided folder
Can also generate ODL initial config files for started simulated devices to support testing with ODL distribution

Change-Id: I8fce73fa7c568a272c29073f26a4e8aafeebfd82
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.