controller.git
9 years agoStore yang store snapshot cache using soft reference. 93/6893/1
Tomas Olvecky [Mon, 12 May 2014 12:58:53 +0000 (14:58 +0200)]
Store yang store snapshot cache using soft reference.

Change-Id: I9b159db83ba204b4a636f2314fd4fc2e7b6f654c
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
9 years agoMerge "BUG-648: Improve performance by reusing old data nodes"
Tony Tkacik [Mon, 12 May 2014 07:05:37 +0000 (07:05 +0000)]
Merge "BUG-648: Improve performance by reusing old data nodes"

9 years agoMerge "BUG-980: stop emiting copyright"
Tony Tkacik [Mon, 12 May 2014 07:04:12 +0000 (07:04 +0000)]
Merge "BUG-980: stop emiting copyright"

9 years agoMerge "BUG-731: RoutedRegistration.close() should not throw"
Tony Tkacik [Mon, 12 May 2014 07:03:49 +0000 (07:03 +0000)]
Merge "BUG-731: RoutedRegistration.close() should not throw"

9 years agoMerge "Remove overriding versions"
Tony Tkacik [Mon, 12 May 2014 07:03:30 +0000 (07:03 +0000)]
Merge "Remove overriding versions"

9 years agoMerge "Unify maven-bundle-plugin version at 2.4.0"
Tony Tkacik [Mon, 12 May 2014 07:03:15 +0000 (07:03 +0000)]
Merge "Unify maven-bundle-plugin version at 2.4.0"

9 years agoMerge "BUG-972: correct Precondition"
Tony Tkacik [Mon, 12 May 2014 07:02:55 +0000 (07:02 +0000)]
Merge "BUG-972: correct Precondition"

9 years agoMerge "Add serialVersionUID to Serializable"
Tony Tkacik [Mon, 12 May 2014 07:02:33 +0000 (07:02 +0000)]
Merge "Add serialVersionUID to Serializable"

9 years agoMerge "BUG-868: stop using InstanceIdentifier.builder()"
Tony Tkacik [Mon, 12 May 2014 07:02:17 +0000 (07:02 +0000)]
Merge "BUG-868: stop using InstanceIdentifier.builder()"

9 years agoBUG-648: Improve performance by reusing old data nodes 86/6886/2
Robert Varga [Thu, 8 May 2014 16:29:30 +0000 (18:29 +0200)]
BUG-648: Improve performance by reusing old data nodes

This patchset gives yang-data-api the chance to optimize copy
operations we execute when creating a new generation.

Change-Id: Ib23a87e116a0a04f7fd4f2b709d7239e213ea744
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoAdd serialVersionUID to Serializable 70/6870/2
Robert Varga [Sun, 11 May 2014 07:16:29 +0000 (09:16 +0200)]
Add serialVersionUID to Serializable

Serializable classes have to have serialVersionUID. Add it where it's
missing.

Change-Id: I23689005878280b6ee9f97fb12ae0b15151f20d7
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoBUG-868: stop using InstanceIdentifier.builder() 69/6869/3
Robert Varga [Sun, 11 May 2014 06:41:18 +0000 (08:41 +0200)]
BUG-868: stop using InstanceIdentifier.builder()

The static helper method has been deprecated. Use either the non-static
one, or child()/augmentation() helpers.

Change-Id: Ic69057d2db669153dde60ba1797e8139623a755c
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoBUG-981: remove deprecated use of constructors 68/6868/2
Robert Varga [Sun, 11 May 2014 05:35:34 +0000 (07:35 +0200)]
BUG-981: remove deprecated use of constructors

This removes the use of all constructors, such that we initialize in one
go.

Change-Id: Iff461a878fb7061b0ea1c8efea6a34b833645784
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "BUG-893: do not store classPool"
Tony Tkacik [Sun, 11 May 2014 16:46:53 +0000 (16:46 +0000)]
Merge "BUG-893: do not store classPool"

9 years agoMerge "BUG-642: get rid of sneakyThrow"
Tony Tkacik [Sun, 11 May 2014 16:46:25 +0000 (16:46 +0000)]
Merge "BUG-642: get rid of sneakyThrow"

9 years agoBug 935 Fixed, added order key in instruction and action as flow yang model expects it. 39/6639/2
Amit Mandke [Thu, 1 May 2014 20:48:55 +0000 (13:48 -0700)]
Bug 935 Fixed, added order key in instruction and action as flow yang model expects it.

Change-Id: Ib7a82db71f4915496574ec2b8731cb0161351309
Signed-off-by: Amit Mandke <ammandke@cisco.com>
9 years agoBUG-893: do not store classPool 55/6855/1
Robert Varga [Sat, 10 May 2014 13:43:45 +0000 (15:43 +0200)]
BUG-893: do not store classPool

This prevents storing a reference to the classPool. It is not necessary
and it makes thinking about accesses much easier.

Change-Id: Iebbdac46c3ca445bbe36ba6efd19d3150d728f7f
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoBUG-642: get rid of sneakyThrow 53/6853/1
Robert Varga [Sat, 10 May 2014 11:25:21 +0000 (13:25 +0200)]
BUG-642: get rid of sneakyThrow

This patch rids us of unneeded usage of Exceptions.sneakyThrow. It
generally hides problems and is only useful for generated (or sloppy)
code.

Change-Id: Ibb73f4546b1785c4bcb3e6c033249f58efd1d2d6
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoBUG-980: stop emiting copyright 27/6827/3
Robert Varga [Fri, 9 May 2014 07:33:44 +0000 (09:33 +0200)]
BUG-980: stop emiting copyright

This is a stop-gap quickfix to stop doing the wrong thing.

Change-Id: I51a2ca012ea605632a737788005cf4143d9c1f44
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoBUG-891: do not drop events silently 36/6836/1
Robert Varga [Fri, 9 May 2014 15:22:19 +0000 (17:22 +0200)]
BUG-891: do not drop events silently

As it turns out, infrastructure silently drops things on the floor if
exceptions happen. When these exceptions occur, they hint at major
problems. Promote tham to warnings.

Change-Id: Ib4afdc7ff1a17e562211b3cfbb30735a592d0a2d
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoBUG-731: RoutedRegistration.close() should not throw 30/6830/1
Robert Varga [Fri, 9 May 2014 10:16:50 +0000 (12:16 +0200)]
BUG-731: RoutedRegistration.close() should not throw

Routed RPC implementations should be allowed to unregister themselves
without incurring a checked exceptions. This allows downstream users to
elide having to deal with raw Exception.

Change-Id: Ia356c6272da3d22a375c954e192f79786ab42395
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "BUG-969 Move fake read on nodes/node to separate thread."
Tony Tkacik [Fri, 9 May 2014 08:06:58 +0000 (08:06 +0000)]
Merge "BUG-969 Move fake read on nodes/node to separate thread."

9 years agoMerge "Making it easier for cygwin users to run OpenDaylight using run.sh. With this...
Giovanni Meo [Fri, 9 May 2014 07:45:34 +0000 (07:45 +0000)]
Merge "Making it easier for cygwin users to run OpenDaylight using run.sh. With this change, the users will only have to add the following line to their .bashrc to make it run: export CLASSPATH=".;lib/*;""

9 years agoBUG-969 Move fake read on nodes/node to separate thread. 26/6826/1
Maros Marsalek [Fri, 9 May 2014 07:27:55 +0000 (09:27 +0200)]
BUG-969 Move fake read on nodes/node to separate thread.

This will prevent blocking of config thread.

Change-Id: Ieb2e1c192ef91775153837956e6e6a428985c2d1
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoRemove overriding versions 18/6818/1
Robert Varga [Thu, 8 May 2014 17:12:17 +0000 (19:12 +0200)]
Remove overriding versions

We have declaration overriding versions from parent, triggering eclipse
warnings. Remove them.

Change-Id: Id5ef1cf34e9c8dfb4550a5b0240fb6b950d05f7f
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoBUG-972: correct Precondition 17/6817/1
Robert Varga [Thu, 8 May 2014 15:30:25 +0000 (17:30 +0200)]
BUG-972: correct Precondition

This is just a tiny adjustment of a Precondition, which should have been
triggered before this access. isPresent() returns true/false, which will
be autoboxed, so will always pass checkNotNull. use checkArgument()
instead, which will ensure that isPresent() == true.

Change-Id: I53fe6913c7a0f8073a193bc76c0792059c26fe2a
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoUnify maven-bundle-plugin version at 2.4.0 16/6816/1
Robert Varga [Thu, 8 May 2014 11:47:16 +0000 (13:47 +0200)]
Unify maven-bundle-plugin version at 2.4.0

This removes superfluous version declarations, fixing about 70 eclipse
warnings. At the same time it bumps the version 2.4.0, to unify it -- we
were using both 2.3.7 and 2.4.0 at the same time.

Change-Id: I0f3f6b68c5c05cb9cc226f75b4eb4dab7d58651d
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "Bug-590: Packet loss on first time ping test"
Giovanni Meo [Wed, 7 May 2014 23:21:44 +0000 (23:21 +0000)]
Merge "Bug-590: Packet loss on first time ping test"

9 years agoMerge "Upgrade enunciate version to 1.28 -Convert XmlElementRef to XmlElement to...
Alessandro Boch [Wed, 7 May 2014 23:20:15 +0000 (23:20 +0000)]
Merge "Upgrade enunciate version to 1.28   -Convert XmlElementRef to XmlElement to allow doc generation to work properly   -Add swagger module dependency to enunciate"

9 years agoUpgrade enunciate version to 1.28 33/6733/4
mrajvaid [Mon, 5 May 2014 23:10:56 +0000 (16:10 -0700)]
Upgrade enunciate version to 1.28
  -Convert XmlElementRef to XmlElement to allow doc generation to work properly
  -Add swagger module dependency to enunciate

Change-Id: Ia41e7733bd44965951ca83aaa7738e2df74151da
Signed-off-by: mrajvaid <mrajvaid@cisco.com>
9 years agoFelix Web Console authenticates using HTTP-Bridge, which is similar to web-gui 58/6558/3
mrajvaid [Mon, 28 Apr 2014 19:34:25 +0000 (12:34 -0700)]
Felix Web Console authenticates using HTTP-Bridge, which is similar to web-gui

By default web console perform its own authentication using default user and passowrd
If user password is modified via web, felix console can not authenticate

Change-Id: I38a277ffabdfac652325b83fe80facffc043c669
Signed-off-by: mrajvaid <mrajvaid@cisco.com>
9 years agoBug-590: Packet loss on first time ping test 98/6798/2
Flavio Fernandes [Wed, 7 May 2014 18:00:51 +0000 (14:00 -0400)]
Bug-590: Packet loss on first time ping test

Bump severity of log in exception code path.
Undo copy and paste mistake, which caused unwanted line left behind.

Change-Id: If73e516635172e31e794cd1524611c1cdb15f89f
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoBug:969 - Add fake read to block thread to sync with BI broker. 97/6797/1
Tomas Olvecky [Wed, 7 May 2014 17:54:42 +0000 (19:54 +0200)]
Bug:969 - Add fake read to block thread to sync with BI broker.

Block netconf client until Binding Independent broker loads inventory
models.

Change-Id: I8b2bcb82bcdf97598665b0b45f8fdfed19072e3c
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
9 years agoMerge "Fix netconf-connector filter construction"
Tony Tkacik [Wed, 7 May 2014 16:46:15 +0000 (16:46 +0000)]
Merge "Fix netconf-connector filter construction"

9 years agoMerge "Add missing exception to log message in SchemaAwareRpcBroker"
Tony Tkacik [Wed, 7 May 2014 16:46:08 +0000 (16:46 +0000)]
Merge "Add missing exception to log message in SchemaAwareRpcBroker"

9 years agoFix netconf-connector filter construction 96/6796/2
Maros Marsalek [Wed, 7 May 2014 15:32:30 +0000 (17:32 +0200)]
Fix netconf-connector filter construction

Change-Id: I9b36458d0e3bb2a14b303e14ddcd8dcab4e7b33d
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoMerge "Initial mdsal and config karaf features"
Tony Tkacik [Wed, 7 May 2014 15:43:12 +0000 (15:43 +0000)]
Merge "Initial mdsal and config karaf features"

9 years agoMerge "Increase mdsal's notification queue size, make it configurable."
Tony Tkacik [Wed, 7 May 2014 15:42:46 +0000 (15:42 +0000)]
Merge "Increase mdsal's notification queue size, make it configurable."

9 years agoInitial mdsal and config karaf features 53/6753/3
Ed Warnicke [Tue, 6 May 2014 14:57:45 +0000 (09:57 -0500)]
Initial mdsal and config karaf features

This loads cleanly into karaf :)

Instructions for checking:

cd controller/

mvn clean install

cd opendaylight/distributions/opendaylight-karaf/target/assembly/bin
sh karaf

at the karaf prompt

feature:install odl-mdsal-restconf
feature:list -i

(odl-mdsal-restconf will pull everything else through).

PatchSet2:  Fixed failure to use odl- prefix in features for -all

Change-Id: Ib85347eaab7729d1b2723eb7ce59a3c18f2eef0e
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoAdd missing exception to log message in SchemaAwareRpcBroker 94/6794/1
Maros Marsalek [Wed, 7 May 2014 15:13:00 +0000 (17:13 +0200)]
Add missing exception to log message in SchemaAwareRpcBroker

Change-Id: I1e8196babd9f5486fbe1edadba5f610f00d1ac37
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoMerge "FRM should use async function on southbound event"
Giovanni Meo [Wed, 7 May 2014 15:08:07 +0000 (15:08 +0000)]
Merge "FRM should use async function on southbound event"

9 years agoMerge "Bug-590: Packet loss on first time ping test"
Giovanni Meo [Wed, 7 May 2014 15:06:38 +0000 (15:06 +0000)]
Merge "Bug-590: Packet loss on first time ping test"

9 years agoMerge "Bug 933: Fixed incorrect update type when Link was deleted."
Ed Warnicke [Wed, 7 May 2014 14:38:53 +0000 (14:38 +0000)]
Merge "Bug 933: Fixed incorrect update type when Link was deleted."

9 years agoFRM should use async function on southbound event 54/6754/2
Alessandro Boch [Tue, 6 May 2014 17:39:18 +0000 (10:39 -0700)]
FRM should use async function on southbound event

- On reacting to southbound events (switch up/down, ports added/removed, ...)
  FRM is supposed to use asynchronous calls for flows installation/removal.
  This is needed because these events may affect a large number of flows,
  for which we do not want to slow down the processing via sync calls.
  Also, logic has been we never do process synchronously a southbound event.
- In case of port up, FRM was still using a synchronous call.
  This patch is for taking care of that.

Change-Id: I4b6dae0df75ad778ea2f1d555a258a48ea66c57b
Signed-off-by: Alessandro Boch <aboch@cisco.com>
9 years agoBug 967: Statistics Manager should delete flow, not augmentation only. 83/6783/3
Tony Tkacik [Wed, 7 May 2014 11:15:26 +0000 (13:15 +0200)]
Bug 967: Statistics Manager should delete flow, not augmentation only.

Change-Id: I0c74e3e55f61078851e28b27847945c0ea8a9c51
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
9 years agoIncrease mdsal's notification queue size, make it configurable. 87/6787/1
Tomas Olvecky [Wed, 7 May 2014 12:56:56 +0000 (14:56 +0200)]
Increase mdsal's notification queue size, make it configurable.

Add System property mdsal.notificationqueue.size to allow tweaking
of queue size.
Increase default queue size from 10 to 1000.

Change-Id: I91e8ac3939092af2b26a7a4d952fe561557b7a46
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
9 years agoBug 933: Fixed incorrect update type when Link was deleted. 85/6785/1
Tony Tkacik [Wed, 7 May 2014 11:51:45 +0000 (13:51 +0200)]
Bug 933: Fixed incorrect update type when Link was deleted.

Change-Id: I660fc6006785bcf7560a0479ca29f38ceaa208b6
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
9 years agoMerge "Bug 946: Fixed eclipse errors with nagasena projects"
Tony Tkacik [Wed, 7 May 2014 11:14:22 +0000 (11:14 +0000)]
Merge "Bug 946: Fixed eclipse errors with nagasena projects"

9 years agoMerge "Fixed typo in SnapshotBackedWriteTransaction class"
Tony Tkacik [Wed, 7 May 2014 11:14:00 +0000 (11:14 +0000)]
Merge "Fixed typo in SnapshotBackedWriteTransaction class"

9 years agoMerge "Breaking up 6360: dummy console"
Giovanni Meo [Tue, 6 May 2014 19:12:42 +0000 (19:12 +0000)]
Merge "Breaking up 6360: dummy console"

9 years agoMerge "Fixed opendaylight-karaf to have resources in target/assembly"
Giovanni Meo [Tue, 6 May 2014 17:12:05 +0000 (17:12 +0000)]
Merge "Fixed opendaylight-karaf to have resources in target/assembly"

9 years agoFixed opendaylight-karaf to have resources in target/assembly 50/6750/1
Ed Warnicke [Tue, 6 May 2014 16:03:03 +0000 (11:03 -0500)]
Fixed opendaylight-karaf to have resources in target/assembly

Change-Id: I1a5ad76bb2c6e6a49cad347df14a1f6630e64475
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoBug-590: Packet loss on first time ping test 74/6674/2
Flavio Fernandes [Sun, 4 May 2014 01:44:34 +0000 (21:44 -0400)]
Bug-590: Packet loss on first time ping test

In this commit, we are addressing a race that could cause the exception (ie first ip packet) to
be lost. What is observed with this bug is that the non-arp packet -- in this case the icmp packet --
is being 'exceptioned' to the SimpleForwarding code path because the node has not yet been programmed
with a flow that would cause it to forward the packet to its destination w/out involving the controller.

The race in this case is caused by Simpleforwarding handling the packet before HostTracker is fully aware
of the destination host. In such case, the forwarding fails to determine where to send the packet and drops it.

The proposed change in this commit takes a stab at handling the race by keeping the packet until either
1) the destination is known by HostTracker or 2) a max time expires. In order to accomplish that, the change
includes the creation of a thread that will periodically age out any packet that have been pending for too
long. The change also adds a concurrent map for efficient lookup among the pending packets. There is a
limitation in this implementation: it will keep at most 1 packet pending per destination ip address. This is
believed not to be a problem, because of the short amount of time it takes for hostTracker to learn about the
destination after the packet is put int the pending map.

Change-Id: I7ec1de69f7841eb7ca5603715b54685be9781401
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoBUG-509 transaction future result listening 43/6743/1
Michal Rehak [Tue, 6 May 2014 13:09:27 +0000 (15:09 +0200)]
BUG-509 transaction future result listening

- replaced transactionResult.get() with future listener

Change-Id: I6f047a3c65fbb2cf669cb8912920aacc0c2848d3
Signed-off-by: Michal Rehak <mirehak@cisco.com>
9 years agoMerge "Bug: 627 Added RESTConf API Explorer that dynamically generates API documentat...
Tony Tkacik [Tue, 6 May 2014 06:52:40 +0000 (06:52 +0000)]
Merge "Bug: 627 Added RESTConf API Explorer that dynamically generates API documentation and serves it through swagger UI. Details are documented in this wiki: https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Restconf_API_Explorer"

9 years agoMerge changes I05e784af,Ie975a2ec
Tony Tkacik [Tue, 6 May 2014 06:49:43 +0000 (06:49 +0000)]
Merge changes I05e784af,Ie975a2ec

* changes:
  BUG-693 Config module for netconf client dispatcher.
  BUG-938 Fix negotiation error when using exi

9 years agoBreaking up 6360: dummy console 29/6729/5
Mathieu Lemay [Mon, 5 May 2014 23:20:56 +0000 (19:20 -0400)]
Breaking up 6360: dummy console

https://git.opendaylight.org/gerrit/#/c/6360/29

Change-Id: I7915821a74d582f9d41bc200c25e3d7b35cf140b
Signed-off-by: Ed Warnicke <eaw@cisco.com>
Signed-off-by: Mathieu Lemay <mlemay@inocybe.com>
9 years agoMerge "Breaking up 6360: Simple karaf distro"
Tony Tkacik [Mon, 5 May 2014 20:43:08 +0000 (20:43 +0000)]
Merge "Breaking up 6360: Simple karaf distro"

9 years agoMerge "Breaking up 6360: common pom file"
Tony Tkacik [Mon, 5 May 2014 20:35:20 +0000 (20:35 +0000)]
Merge "Breaking up 6360: common pom file"

9 years agoMerge "Bug 949: Fixed support for DataChangeListeners listening directly on Augmentation"
Ed Warnicke [Mon, 5 May 2014 19:53:40 +0000 (19:53 +0000)]
Merge "Bug 949: Fixed support for DataChangeListeners listening directly on Augmentation"

9 years agoBreaking up 6360: Simple karaf distro 28/6728/2
Ed Warnicke [Mon, 5 May 2014 18:57:41 +0000 (13:57 -0500)]
Breaking up 6360: Simple karaf distro

https://git.opendaylight.org/gerrit/#/c/6360/29

Change-Id: Ie2ab6f228146c5fe0db8c0caa0e99e9febe144ef
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoBreaking up 6360: common pom file 27/6727/2
Ed Warnicke [Mon, 5 May 2014 19:32:06 +0000 (14:32 -0500)]
Breaking up 6360: common pom file

https://git.opendaylight.org/gerrit/#/c/6360/29/opendaylight/commons/opendaylight/pom.xml
Just bringing in the common pom file changes.

Change-Id: Ie34e92325e55660dfdf009b1294c41217ec42534
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoBug 949: Fixed support for DataChangeListeners listening directly on Augmentation 26/6726/3
Tony Tkacik [Mon, 5 May 2014 18:19:55 +0000 (20:19 +0200)]
Bug 949: Fixed support for DataChangeListeners listening directly on Augmentation

Used InstanceIdentifier codec does not support AugmentIdentifier, since it is
designed for CompositeNode format (serialization as defined by YANG Spec).
Instance Identifier for NormalizedNode format allows to directly reference
augmentation, for which support was missing.

Added a special case handling of Instance Identifiers which targets augmentation
directly, since Binding-Aware API and NormalizedNode API allows it.

Change-Id: I6371a54dae0e32cac4e1c9b9ab309e91ec3192d9
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
9 years agoRemove vip from the vips collections instead of members. 06/6606/2
Sivasamy Kaliappan [Tue, 29 Apr 2014 18:19:47 +0000 (23:49 +0530)]
Remove vip from the vips collections instead of members.

Change-Id: I82063e74526a770772fb1eb5d91ab68ea3aeb449
Signed-off-by: Sivasamy Kaliappan <sivasamyk@gmail.com>
9 years agoMerge "BUG-832 Add schemaContext to notification parsing process in sal-netcon-connector"
Ed Warnicke [Mon, 5 May 2014 12:43:36 +0000 (12:43 +0000)]
Merge "BUG-832 Add schemaContext to notification parsing process in sal-netcon-connector"

9 years agoMerge "BUG-832 Fix exception from sal-netconf-connector."
Ed Warnicke [Mon, 5 May 2014 12:42:39 +0000 (12:42 +0000)]
Merge "BUG-832 Fix exception from sal-netconf-connector."

9 years agoMerge "Skip from the surefire execution plugins that can step over guava feet"
Ed Warnicke [Mon, 5 May 2014 12:10:39 +0000 (12:10 +0000)]
Merge "Skip from the surefire execution plugins that can step over guava feet"

9 years agoBUG-693 Config module for netconf client dispatcher. 25/6025/7
Maros Marsalek [Wed, 23 Apr 2014 13:12:47 +0000 (15:12 +0200)]
BUG-693 Config module for netconf client dispatcher.

netconf/
NetconfClientDispatcher and NetconfSSHClientDispatcher merged into NetconfClientDispatcherImpl.
Introduced NetconfClientConfiguration to contain all configuration attributes for netconf clients.
Introduced interface for NetconfClientDispatchers.
Removed NetconfITSecureTest since it did not test secure connection.

config/
Added netconf-config-api maven module, which contains service definition of client-dispatcher.
Added netconf-config-dispatcher maven module, which contains config module for client-dispatcher.

md-sal/
Updated configuration for sal-netconf-connector with client dispatcher dependency (backwards compatibility preserved).

Change-Id: I05e784af6a9b8e11fad21d3bad0311c110754d31
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoBug 946: Fixed eclipse errors with nagasena projects 44/6744/2
tpantelis [Sat, 3 May 2014 07:30:58 +0000 (03:30 -0400)]
Bug 946: Fixed eclipse errors with nagasena projects

- Uploaded the nagasena OSGi bundle jars to nexus with group ID
org.openexi.
- Changed affected dependencies
- Removed thirdparty/org.openexi project

Change-Id: I280749e287a7b8e918095cff79729888b7caa4ec
Signed-off-by: tpantelis <tpanteli@brocade.com>
9 years agoBUG-938 Fix negotiation error when using exi 50/6650/2
Maros Marsalek [Fri, 2 May 2014 08:43:07 +0000 (10:43 +0200)]
BUG-938 Fix negotiation error when using exi

EXIConfirmation handler is now added to pipeline before start-exi is sent.

Add test with secure netconf server + exi

Change-Id: Ie975a2ecf31cfbb8c1fd4e25e8f41876e0552a00
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoBug 946: Fixed eclipse errors in sal-binding-dom-it 62/6662/2
tpantelis [Fri, 2 May 2014 03:26:54 +0000 (23:26 -0400)]
Bug 946: Fixed eclipse errors in sal-binding-dom-it

Enabled the yang-maven-plugin to run by defult in eclipse

Change-Id: I3137cbe790891333b7526c832c9a173f6e591d0c
Signed-off-by: tpantelis <tpanteli@brocade.com>
9 years agoMerge "BUG-633: allow overriding of channelFactory"
Ed Warnicke [Thu, 1 May 2014 16:36:16 +0000 (16:36 +0000)]
Merge "BUG-633: allow overriding of channelFactory"

9 years agoBUG-633: allow overriding of channelFactory 37/6637/1
Robert Varga [Thu, 1 May 2014 15:55:00 +0000 (17:55 +0200)]
BUG-633: allow overriding of channelFactory

It turns out netty does not let us override an already-set
channelFactory. Reorder customization to detect when such an override is
necessary.

Change-Id: I99de69b98e4034d4701313942d9ed2a09923375d
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "BUG-634: introduce netty ChannelFactory wrapper"
Ed Warnicke [Thu, 1 May 2014 15:18:12 +0000 (15:18 +0000)]
Merge "BUG-634: introduce netty ChannelFactory wrapper"

9 years agoMerge "BUG 274 REST response instead of NumberFormatException"
Ed Warnicke [Thu, 1 May 2014 15:17:55 +0000 (15:17 +0000)]
Merge "BUG 274 REST response instead of NumberFormatException"

9 years agoMerge "Modify config code generator to write JmxAttribute as static fields."
Ed Warnicke [Thu, 1 May 2014 14:55:29 +0000 (14:55 +0000)]
Merge "Modify config code generator to write JmxAttribute as static fields."

9 years agoMerge "Bug 618 - convert xtend to java in md-sal/inventory-manager"
Ed Warnicke [Thu, 1 May 2014 14:53:30 +0000 (14:53 +0000)]
Merge "Bug 618 - convert xtend to java in md-sal/inventory-manager"

9 years agoMerge "fix for BUG-621 - convertion from xtend to java in compatibility/flow-manageme...
Ed Warnicke [Thu, 1 May 2014 14:53:22 +0000 (14:53 +0000)]
Merge "fix for BUG-621 - convertion from xtend to java in compatibility/flow-management-compatibility"

9 years agoBug 933: Fixed datastore processing of nested augmentations. 33/6633/1
Tony Tkacik [Thu, 1 May 2014 12:33:31 +0000 (14:33 +0200)]
Bug 933: Fixed datastore processing of nested augmentations.

Change-Id: I500e2a16666dfc7730da728c0cd47076c01343b0
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
9 years agoBug 933: Changed Topology Compatibility to use DataChangeEvent 32/6632/1
Tony Tkacik [Thu, 1 May 2014 12:22:41 +0000 (14:22 +0200)]
Bug 933: Changed Topology Compatibility to use DataChangeEvent

Topology Compatibility adapter used commit handler to receive
change events and also reading from datastore, which may leaded
to some desynchronization issues. Changed topology Compatibility
to data change listener, which ensures data store is up to date,
when read occurs.

Change-Id: I052c9c79d99bdc8ba70e32c4421073c581901adc
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
9 years agoMerge "Bug 930 - Add bound to queue in SingletonHandler#NOTIFICATION_EXECUTOR ."
Tony Tkacik [Thu, 1 May 2014 11:22:17 +0000 (11:22 +0000)]
Merge "Bug 930 - Add bound to queue in SingletonHandler#NOTIFICATION_EXECUTOR ."

9 years agoMerge changes I4a9861ed,I61c130b9
Ed Warnicke [Thu, 1 May 2014 11:16:13 +0000 (11:16 +0000)]
Merge changes I4a9861ed,I61c130b9

* changes:
  Bug 509: Fixed DataTransactionListener support.
  Bug 509: Fixed Backwards compatibility bugs with datastore.

9 years agoBug 509: Fixed DataTransactionListener support. 31/6631/1
Tony Tkacik [Thu, 1 May 2014 10:41:27 +0000 (12:41 +0200)]
Bug 509: Fixed DataTransactionListener support.

Change-Id: I4a9861ed543ce01e349737f7e779c2cfb5b1f107
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
9 years agoMaking it easier for cygwin users to run OpenDaylight using run.sh. 29/6629/1
Srini Seetharaman [Wed, 30 Apr 2014 23:47:37 +0000 (16:47 -0700)]
Making it easier for cygwin users to run OpenDaylight using run.sh.
With this change, the users will only have to add the following line
to their .bashrc to make it run: export CLASSPATH=".;lib/*;"

Change-Id: Icc1576ea1c46568d43f11d90eebecb06c74db184
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
9 years agoSkip from the surefire execution plugins that can step over guava feet 25/6625/1
Giovanni Meo [Sun, 27 Apr 2014 00:09:40 +0000 (02:09 +0200)]
Skip from the surefire execution plugins that can step over guava feet

Seems like the com.google.common.collect.* package has been reused in
several jars like:

- guava
- google-collection
- pax-url-aether

Now the netconf-it in the classpath of contains via transitive the 3
of them but only guava is usable by yang-bindings used by the netconf
client test. The presence of the 3 cause unreliability on the test
pass based on who comes first in the classpath of surefire. The fix is
to make sure surefire ignore the other two libraries except guava.

Change-Id: I77260989a19f60db94286434444530bacb1947d4
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
9 years agoBUG-832 Add schemaContext to notification parsing process in sal-netcon-connector 23/6623/1
Maros Marsalek [Wed, 30 Apr 2014 13:42:11 +0000 (15:42 +0200)]
BUG-832 Add schemaContext to notification parsing process in sal-netcon-connector

Change-Id: I3161bde1635837676e75fdc0e1bb5c59fcb4a542
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoBug 618 - convert xtend to java in md-sal/inventory-manager 87/6387/2
Vaclav Demcak [Fri, 25 Apr 2014 11:44:51 +0000 (13:44 +0200)]
Bug 618 - convert xtend to java in md-sal/inventory-manager

Change-Id: I53ecde22fc659d34cd1e8b076efb5e129a040bbe
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
9 years agofix for BUG-621 - convertion from xtend to java in compatibility/flow-management... 81/6381/5
Vaclav Demcak [Thu, 24 Apr 2014 15:58:31 +0000 (17:58 +0200)]
fix for BUG-621 - convertion from xtend to java in compatibility/flow-management-compatibility

Change-Id: I171d673230c0e5212f4902e2bd33f12691fc2444
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
9 years agoBUG-634: introduce netty ChannelFactory wrapper 25/6425/4
Robert Varga [Sun, 27 Apr 2014 15:55:42 +0000 (17:55 +0200)]
BUG-634: introduce netty ChannelFactory wrapper

Adds a wrapper for services exposing ChannelFactory. Needed for
protocols which need to extended netty functionality.

Change-Id: I8b29e3a91380519f03e5a2c5299077876d1c9edf
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "Bug 740: Forwardingrules-Manager support for DataChangeListeners"
Ed Warnicke [Wed, 30 Apr 2014 12:24:20 +0000 (12:24 +0000)]
Merge "Bug 740: Forwardingrules-Manager support for DataChangeListeners"

9 years agoMerge "BUG-509: remove the key/value datastore"
Ed Warnicke [Wed, 30 Apr 2014 12:12:46 +0000 (12:12 +0000)]
Merge "BUG-509: remove the key/value datastore"

9 years agoMerge "BUG-509: make the tree-based datastore the default"
Ed Warnicke [Wed, 30 Apr 2014 12:12:33 +0000 (12:12 +0000)]
Merge "BUG-509: make the tree-based datastore the default"

9 years agoMerge "BUG-509: Cleanup datastore switching configuration"
Ed Warnicke [Wed, 30 Apr 2014 11:58:20 +0000 (11:58 +0000)]
Merge "BUG-509: Cleanup datastore switching configuration"

9 years agoMerge "Clean up yang-test to stop modifying source files during build."
Ed Warnicke [Wed, 30 Apr 2014 11:57:49 +0000 (11:57 +0000)]
Merge "Clean up yang-test to stop modifying source files during build."

9 years agoMerge "Default auth parameters in config.ini."
Ed Warnicke [Wed, 30 Apr 2014 11:57:27 +0000 (11:57 +0000)]
Merge "Default auth parameters in config.ini."

9 years agoBug 930 - Add bound to queue in SingletonHandler#NOTIFICATION_EXECUTOR . 18/6618/1
Tomas Olvecky [Wed, 30 Apr 2014 10:36:49 +0000 (12:36 +0200)]
Bug 930 - Add bound to queue in SingletonHandler#NOTIFICATION_EXECUTOR .

Add queue capacity with hardcoded value 10. When maxPoolSize + queue capacity
is reached, caller thread will be blocked.
Mark thread as interrupted when catching InterruptedException, propagate it
to caller.
Remove code that pushed first two runnables to queue when core size was
reached - saturate whole threadpool capacity first.

Change-Id: I9c52b52eac127bea0cbb2abf7a65c0165daf8895
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
9 years agoBug 740: Forwardingrules-Manager support for DataChangeListeners 55/6255/5
Vaclav Demcak [Tue, 15 Apr 2014 16:26:20 +0000 (18:26 +0200)]
Bug 740: Forwardingrules-Manager support for DataChangeListeners

+ Bug 619 - Eliminate the use of xtend in md-sal/forwardingrules-manager

migration from xtend to java files FRM
add DataChangeListener to FRM (Flow, Meter, Group)
remove FRM handlers (Flow, Meter, Group)
fix delete changes registration (in ImmutableDataChangeEvent -> old DataStore)

Change-Id: I56003833519d9689a489ed5f77b3f7fc4ac2e204
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
9 years agoBUG-832 Fix exception from sal-netconf-connector. 17/6617/1
Maros Marsalek [Wed, 30 Apr 2014 08:20:28 +0000 (10:20 +0200)]
BUG-832 Fix exception from sal-netconf-connector.

Exception:
Ommiting from BA transaction: /(urn:opendaylight:inventory?revision=2013-08-19)nodes/(urn:opendaylight:inventory?revision=2013-08-19)node[{(urn:opendaylight:inventory?revision=2013-08-19)id=ios-xr-105}].

Fixed by treating capabilities from remote device as String instead of QName

Change-Id: I5cb59e111433ca60703bcf9a78d5b4578fc3b956
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoBUG 274 REST response instead of NumberFormatException 58/6358/2
Jozef Gloncak [Thu, 24 Apr 2014 13:57:14 +0000 (15:57 +0200)]
BUG 274 REST response instead of NumberFormatException

Raised NumberFormatException is now catched and thrown next as
WebApplicationException which is displayed as return message for REST
call.

Change-Id: I1b4ee74c6a953fe3b64ef47c07477c29d892a87c
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
9 years agoBug: 627 74/6574/3
Abhishek Kumar [Mon, 28 Apr 2014 23:37:53 +0000 (16:37 -0700)]
Bug: 627
Added RESTConf API Explorer that dynamically generates API documentation and serves it through swagger UI.
Details are documented in this wiki:
https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Restconf_API_Explorer

Change-Id: I11bcf95a8ab3ba0591a06070259c53cf5d7113b0
Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>