controller.git
9 years agoMerge "BUG-1521 Increase test coverage of netconf-netty-util"
Tony Tkacik [Tue, 26 Aug 2014 07:37:44 +0000 (07:37 +0000)]
Merge "BUG-1521 Increase test coverage of netconf-netty-util"

9 years agoMerge "BUG-1568 Remove unused VirtualSocket"
Tony Tkacik [Tue, 26 Aug 2014 07:37:31 +0000 (07:37 +0000)]
Merge "BUG-1568 Remove unused VirtualSocket"

9 years agoMerge "BUG-1521 Netconf-monitoring test coverage raise"
Tony Tkacik [Tue, 26 Aug 2014 07:37:20 +0000 (07:37 +0000)]
Merge "BUG-1521 Netconf-monitoring test coverage raise"

9 years agoMerge "BUG-650: remove unneeded sort()"
Tony Tkacik [Tue, 26 Aug 2014 07:24:43 +0000 (07:24 +0000)]
Merge "BUG-650: remove unneeded sort()"

9 years agoMerge "Fixing incorrect case for interface method neutronLoadBalancerPoolMemberDeleted"
Madhu Venugopal [Tue, 26 Aug 2014 05:08:41 +0000 (05:08 +0000)]
Merge "Fixing incorrect case for interface method neutronLoadBalancerPoolMemberDeleted"

9 years agoAdded feature for sal-mdsal-xsql 75/10275/1
Ed Warnicke [Tue, 26 Aug 2014 04:31:33 +0000 (23:31 -0500)]
Added feature for sal-mdsal-xsql

Change-Id: I041f6939b837c281f103310bcaf7bcbda4f1ab2d
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoMerge "Bug 1536: Fixed minimum values of SET_TP_SRC/DST."
Giovanni Meo [Mon, 25 Aug 2014 20:58:36 +0000 (20:58 +0000)]
Merge "Bug 1536: Fixed minimum values of SET_TP_SRC/DST."

9 years agoMerge "Get some basic unit testing in place for the RaftActor class"
Ed Warnicke [Mon, 25 Aug 2014 18:03:51 +0000 (18:03 +0000)]
Merge "Get some basic unit testing in place for the RaftActor class"

9 years agoMerge "Do not use protobuf serialization for FindPrimary and it's responses"
Ed Warnicke [Mon, 25 Aug 2014 18:03:42 +0000 (18:03 +0000)]
Merge "Do not use protobuf serialization for FindPrimary and it's responses"

9 years agoMerge "Added missing dependency sections that helps if the cache is missing the requi...
Giovanni Meo [Mon, 25 Aug 2014 16:02:20 +0000 (16:02 +0000)]
Merge "Added missing dependency sections that helps if the cache is missing the required dependencies."

9 years agoMerge "Improve SnapshotBackedReadTransaction.close()"
Tom Pantelis [Mon, 25 Aug 2014 15:44:32 +0000 (15:44 +0000)]
Merge "Improve SnapshotBackedReadTransaction.close()"

9 years agoBUG-1521 Increase test coverage of netconf-netty-util 54/10254/1
Maros Marsalek [Mon, 25 Aug 2014 15:14:11 +0000 (17:14 +0200)]
BUG-1521 Increase test coverage of netconf-netty-util

Change-Id: I962e16da8d4112b4ec6a1c90170be3036041eddd
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoBUG-1568 Remove unused VirtualSocket 53/10253/1
Maros Marsalek [Mon, 25 Aug 2014 15:13:36 +0000 (17:13 +0200)]
BUG-1568 Remove unused VirtualSocket

Change-Id: I75682c0ec0b0956ba04060cdbcdee32a53a459c9
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoOptimized version of NormalizedNode Serialization 68/10268/9
Moiz Raja [Tue, 26 Aug 2014 02:04:30 +0000 (19:04 -0700)]
Optimized version of NormalizedNode Serialization

This commit contains the following,
- Conversion of NormalizedNode to Protocol Buffer using simple tree traversal
- Encoding of QNames and other values to small sized codes to reduce the size of the protobuf message
- Also we now do not use SchemaContext for decoding a NormalizedNode

In addition to these changes I have snuck in an unrelated change to the pom files
to get the appropriate jacoco settings in it.

Change-Id: I6ab48c9f53cf76d6d0c865cf6e5522ff27a30e3f
Signed-off-by: Moiz Raja <moraja@cisco.com>
9 years agoMerge "Bug 1234: Force to use legacy OF plugin if it is installed."
Giovanni Meo [Mon, 25 Aug 2014 14:49:37 +0000 (14:49 +0000)]
Merge "Bug 1234: Force to use legacy OF plugin if it is installed."

9 years agoMerge "Archetypes for karaf support"
Tony Tkacik [Mon, 25 Aug 2014 13:54:02 +0000 (13:54 +0000)]
Merge "Archetypes for karaf support"

9 years agoBUG-1521 Netconf-monitoring test coverage raise 52/10252/1
Maros Marsalek [Mon, 25 Aug 2014 13:07:50 +0000 (15:07 +0200)]
BUG-1521 Netconf-monitoring test coverage raise

Change-Id: Ibcbcd7df788c75879fa0c9a554125144aa5c1545
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoBUG-650: remove unneeded sort() 47/10247/1
Robert Varga [Mon, 25 Aug 2014 12:41:20 +0000 (14:41 +0200)]
BUG-650: remove unneeded sort()

The need for sorting entries by depth disappeared with the migration to
new codec infrastructure. Tracing shows some 44% CPU being spent here,
so this should provide a marked improvement with large data changes.

Change-Id: I7c437da5656cc5946ff9413307a563d4ff9b15de
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoImprove SnapshotBackedReadTransaction.close() 96/10196/2
Robert Varga [Fri, 22 Aug 2014 22:18:26 +0000 (00:18 +0200)]
Improve SnapshotBackedReadTransaction.close()

This improves visibility of close() operation, resulting in improved
close/read collision detection.

Change-Id: I7d3367c4d669a5c3dcd3f5c6583ce64b7690f1d9
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoArchetypes for karaf support 45/10245/1
Ed Warnicke [Mon, 25 Aug 2014 11:34:51 +0000 (06:34 -0500)]
Archetypes for karaf support

Change-Id: Iba4d5182060d517bf3ff2f52ca6f98e942f2d52c
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoAdded missing dependency sections that helps if the cache is missing the required... 43/10243/1
Madhu Venugopal [Mon, 25 Aug 2014 11:46:26 +0000 (04:46 -0700)]
Added missing dependency sections that helps if the cache is missing the required dependencies.

Also added a missing northbound bundle and filled up missing versions

Change-Id: I7076d50fd5f1e8bc90f753e74b59936ce46db75d
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoBug 1598: Cleanup stale ShardReadTransactions 75/10175/10
tpantelis [Fri, 22 Aug 2014 01:00:50 +0000 (21:00 -0400)]
Bug 1598: Cleanup stale ShardReadTransactions

For read-only Tx, a FinalizablePhantomReference is created with the
TransacionProxy instance as the referent and is added to a static
FinalizableReferenceQueue. The FinalizablePhantomReference is subclassed
to hold the TransactionProxy's remoteTransactionPaths map. When the
TransactionProxy instance in GC'ed, the FinalizablePhantomReference is
notified and calls closeTransaction on each TransactionContext to clean it up.

Also to handle potentially stale Tx's due to disconnects, nodes prematurely
shutting down etc, I set set an idle time out (default 10 min) on ShardTransaction
actors via setReceiveTimeout. If the actor is idle with no messages
after the timeout, the actor self-destructs.

I made the idle timeout configurable via the config yang file. This
setting needs to be passed down from the module, thru the ShardManager
to the Shards to the ShardTransactions. I created a ShardCOntext class
to hold the idle timeout and other data that's passed down. This will
also make it easier in the future if additonal config data needs to be
passed down.

In the config yang file, I created a data-store-properties grouping to
avoid having to duplicate the config properties for the operational and
config data stores.

Many unit tests fail when running from Eclipse due to creating anonymous inner
Creator class instances in the static props methods. The akka code doesn't like this -
if the Creator instance class is enclosed in another class it expects
the class to be static. However this runs fine when running unit tests
from mvn and when running the production controller. I suspect the
difference is b/c the JDK compiler generates the anonymous class as
static since they're enclosed in static methods but the Eclipse compiler
doesn't. Anyway, to avoid this I refactored all the anonymous inner
Creator classes to private static classes. I think this is safer and
will avoid potential future issues with different JDK compilers or JDK upgrades.

Change-Id: Ie644612cb34e7219dc089b8add6d397a11bffdda
Signed-off-by: tpantelis <tpanteli@brocade.com>
9 years agoMerge "BUG-1568 Remove ganymed Ssh client adapter"
Ed Warnicke [Mon, 25 Aug 2014 11:15:10 +0000 (11:15 +0000)]
Merge "BUG-1568 Remove ganymed Ssh client adapter"

9 years agoMerge "BUG-1568 Ssh Handler for netconf client Mina implementation"
Ed Warnicke [Mon, 25 Aug 2014 11:14:59 +0000 (11:14 +0000)]
Merge "BUG-1568 Ssh Handler for netconf client Mina implementation"

9 years agoBug 1593 - Flow Statistics manager is updating store with incorrect key 35/10135/4
Anil Vishnoi [Thu, 21 Aug 2014 13:30:36 +0000 (19:00 +0530)]
Bug 1593 - Flow Statistics manager is updating store with incorrect key
Statistics manager cache the metadata related to stats data of all the entities (flow,group,
meter,queue) like when was their respective stats were updated in operational data store.
If statistics manager see that stats are not being updated from last two stats fetch cycle,
it consider it stale and remove it. Object that it uses as keys for hash map cache contains
some variant data (counters/durations) that varies in every stats fetch cycle. It creats
duplicate entry in the cache for the same entity. After two fetch cycle statistics manager
find old entry stale and removes it, but in actual that's not the case. This exception is
thrown when it tries to remove the stats related to next duplicate entry (which was already
removed ). Fixed it by using invariant key for caching the metadata to avoid the duplication.

Change-Id: Iad5823ab70938a66fd3d024dc921b74e0852c204
Signed-off-by: Anil Vishnoi <avishnoi@in.ibm.com>
9 years agoBug 1234: Force to use legacy OF plugin if it is installed. 60/8860/3
Shigeru Yasuda [Wed, 9 Jul 2014 13:17:17 +0000 (22:17 +0900)]
Bug 1234: Force to use legacy OF plugin if it is installed.

This patch enables to prioritize AD-SAL protocol plugin services,
and gives higher priority to legacy OF plugin than sal-compatibility.

This patch never affects integration.git artifacts because legacy
OF plugin is filtered out if MD-SAL OF plugin is installed.

Change-Id: Iee40a6f724db2105f2ec36014a10872bad824e86
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoMerge "Fixed possible NPE in TopologyManager FlowCapableTopologyExporter"
Tony Tkacik [Mon, 25 Aug 2014 10:28:57 +0000 (10:28 +0000)]
Merge "Fixed possible NPE in TopologyManager FlowCapableTopologyExporter"

9 years agoMerge "Make InMemoryDOMDataStore.ready() unsynchronized"
Tony Tkacik [Mon, 25 Aug 2014 10:25:52 +0000 (10:25 +0000)]
Merge "Make InMemoryDOMDataStore.ready() unsynchronized"

9 years agoMerge "BUG-1601 Fix null pointer in netconf connector for empty schemas node"
Ed Warnicke [Mon, 25 Aug 2014 09:28:58 +0000 (09:28 +0000)]
Merge "BUG-1601 Fix null pointer in netconf connector for empty schemas node"

9 years agoBUG-1493: activate recursion elision 95/10095/3
Robert Varga [Wed, 20 Aug 2014 11:05:51 +0000 (13:05 +0200)]
BUG-1493: activate recursion elision

Previous patch prepared the infrastructure for elision, but it did not
actually activate it. This patch flips the switch on.

Change-Id: Ic02af3ccc7f5ee5f8ae4d0617562b8fdffc771c6
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 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"

9 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"

9 years agoBUG-1568 Remove ganymed Ssh client adapter 65/10165/8
Maros Marsalek [Mon, 25 Aug 2014 08:11:25 +0000 (10:11 +0200)]
BUG-1568 Remove ganymed Ssh client adapter

Change-Id: Id4ec6140df3e91fd8a219b03ceabca67732af568
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoBUG-1568 Ssh Handler for netconf client Mina implementation 42/10142/9
Maros Marsalek [Mon, 25 Aug 2014 08:01:47 +0000 (10:01 +0200)]
BUG-1568 Ssh Handler for netconf client Mina implementation

This implementation of Ssh Handler is asynchronous and based on Apache Mina SSHD.

+ Add Mina SSHD to distribution.

Change-Id: I51f51e2eb56b5f97a87c3d068ea90f8a44adca09
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 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"

9 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."

9 years agoFixing incorrect case for interface method neutronLoadBalancerPoolMemberDeleted 32/10232/1
Srini Seetharaman [Mon, 25 Aug 2014 04:52:41 +0000 (21:52 -0700)]
Fixing incorrect case for interface method neutronLoadBalancerPoolMemberDeleted

Change-Id: I909d77a19c7a35dece30b02399acf44f850e7f4d
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
9 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>
9 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

9 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"

9 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>
9 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>
9 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>
9 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"

9 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.

9 years agoGet some basic unit testing in place for the RaftActor class 63/9963/4
Moiz Raja [Thu, 14 Aug 2014 22:02:58 +0000 (15:02 -0700)]
Get some basic unit testing in place for the RaftActor class

The two tests that were added do the following,
    - test construction
    - test finding a leader when the current raft actor is the leader

This commit also specifies the proper includes and excludes for code coverage

Change-Id: I5898c4a7f4044f13587fe5d58878d560f60e65dc
Signed-off-by: Moiz Raja <moraja@cisco.com>
9 years agoDo not use protobuf serialization for FindPrimary and it's responses 55/9955/4
Moiz Raja [Thu, 14 Aug 2014 17:37:21 +0000 (10:37 -0700)]
Do not use protobuf serialization for FindPrimary and it's responses

FindPrimary, PrimaryFound and PrimaryNotFound are local messages so there
is no advantage to serializing and deserializing them into protobuf messages

Change-Id: Ib778c6ff10d5622276e5907292a39e77f1e72edf
Signed-off-by: Moiz Raja <moraja@cisco.com>
9 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>
9 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>
9 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>
9 years agoMake InMemoryDOMDataStore.ready() unsynchronized 09/10209/1
Robert Varga [Sat, 23 Aug 2014 21:01:47 +0000 (23:01 +0200)]
Make InMemoryDOMDataStore.ready() unsynchronized

Tracing datastore operations has revealed some contention on the
datastore, specifically when users call WriteTransaction.ready(). It
seems this method does not need synchronization at all, as it is not
directly changing any state.

Change-Id: I635f6a925694e4b68e629978fbd535fedb3a6cd6
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 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"

9 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>
9 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>
9 years agoBug 1576: Handle remote failures for write Tx async 09/10109/6
tpantelis [Sun, 17 Aug 2014 07:36:47 +0000 (03:36 -0400)]
Bug 1576: Handle remote failures for write Tx async

TransactionProxy
  - Modified TransactionContextImpl to cache Futures from put/merge/delete
    ask operations.

  - On ready, combine all previous cached Futures and the
    ReadyTransactionReply Future and transform to one Future that
    extracts the cohort actor path from the ReadyTransactionReply. Any
    Future failure results in a failed cohort actor path Future with
    the cause propagated.

  - The cohort actor path Future gets passed to the ThreePhaseCommitCohortProxy.

  - Modified read and exists methods to also wait and verify async any
    previous cached put/merge/delete Futures.

ThreePhaseCommitCohortProxy
  - On canCommit, it first asynchronously builds the list of cohort actor
    paths from the Futures passed from the TransactionProxy. If any
    cohort path FUture fails, canCommit fails and propgates the failure
    cause.

Added extensive unit tests for both classes to cover all cases.

Change-Id: Ib9794797a654a92c305fd8cc3db2c1147a363b5c
Signed-off-by: tpantelis <tpanteli@brocade.com>
9 years agoBug 1616: Issues with using container and default values in config yang 72/10272/1
tpantelis [Sat, 23 Aug 2014 13:51:00 +0000 (09:51 -0400)]
Bug 1616: Issues with using container and default values in config yang

Fixed issues as outlined in bug 1616.

Change-Id: I6170a6d25e2fb243d6526d15058057191058bb82
Signed-off-by: tpantelis <tpanteli@brocade.com>
9 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>
9 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>
9 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>
9 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"

9 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"

9 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>
9 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>
9 years agoBe sure to shutdown instance when destroyed 85/10185/1
Robert Varga [Fri, 22 Aug 2014 14:24:55 +0000 (16:24 +0200)]
Be sure to shutdown instance when destroyed

This cleans up any resources held by the instance.

Change-Id: I669264d01c5e77b6cd59cab807e15e9bbf24c16d
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 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"

9 years agoBUG-1601 Fix null pointer in netconf connector for empty schemas node 58/10158/2
Maros Marsalek [Fri, 22 Aug 2014 08:16:50 +0000 (10:16 +0200)]
BUG-1601 Fix null pointer in netconf connector for empty schemas node

Change-Id: I501e1fe1b0c1b531af5dc2f6d992a820c8e6a18e
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 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"

9 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."

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

9 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"

9 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"

9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 years agoAdded IP address of the OF switch to flow-node 12/9612/7
Martin Sunal [Sat, 2 Aug 2014 17:18:50 +0000 (19:18 +0200)]
Added IP address of the OF switch to flow-node

- adds IP address to flow capable node
- adds routed RPC:
get-node-ip-address - returns IP address of a flow capable node

Change-Id: Ie1f3459ddbe898cc2aa8cc488437666c566246d6
Signed-off-by: Martin Sunal <msunal@cisco.com>
9 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>
9 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."

9 years agoFixed possible NPE in TopologyManager FlowCapableTopologyExporter 41/10141/1
Vaclav Demcak [Thu, 21 Aug 2014 15:14:31 +0000 (17:14 +0200)]
Fixed possible NPE in TopologyManager FlowCapableTopologyExporter

Change-Id: I9e766003629ef46143a7b569db0e07693ff0d6f7
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
9 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>
9 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"

9 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"

9 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"

9 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"

9 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"""

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

9 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"

9 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."

9 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."

9 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"

9 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>
9 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>
9 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"

9 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>
9 years agoMerge "NETCONF scalability: share instances"
Tony Tkacik [Thu, 21 Aug 2014 07:20:59 +0000 (07:20 +0000)]
Merge "NETCONF scalability: share instances"

9 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"

9 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"