controller.git
9 years agoBreaking up 6360: Adding base features 30/6730/8
Mathieu Lemay [Tue, 6 May 2014 23:50:35 +0000 (19:50 -0400)]
Breaking up 6360: Adding base features

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

Change-Id: I1df1bd970d184b3c363a94b68a608a8e2ed734ef
Signed-off-by: Ed Warnicke <eaw@cisco.com>
Signed-off-by: Mathieu Lemay <mlemay@inocybe.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 agoAdd Pagination to Neutron Networks Northbound API 05/6005/4
Dave [Wed, 9 Apr 2014 15:28:19 +0000 (16:28 +0100)]
Add Pagination to Neutron Networks Northbound API

This commit adds pagination to the neutron network northbound API.
It is based on the information at the following link.
http://docs.openstack.org/api/openstack-network/2.0/content/pagination.html

In addition to not providing a "next" link on the last page of results this
implementation does not have a "previous" link on the first page.

Change-Id: I2c048c9cdc907d759e62fb8850b76cfa293b7fd2
Signed-off-by: Dave Tucker <dave.j.tucker@hp.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 agoBug 617: Remove extend files from sal-rest-connector 21/6821/6
tpantelis [Sun, 4 May 2014 17:29:22 +0000 (13:29 -0400)]
Bug 617: Remove extend files from sal-rest-connector

Converted ControllerContext and BrokerFacade xtend code to java.

Addressed review comments:
  - Removed SupressWarnings "all"
  - Converted use of xext classes to guava
  - Removed sneakyThrow

Patch set 4: mistake - no changes

Patch set 5: Converted RestconfImpl

Patch set 6: removed xtend plugin anf dependencies from pom file

Change-Id: I45c22b22fee07a178faba9fcb9e52d3ff12a6697
Signed-off-by: tpantelis <tpanteli@brocade.com>
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 agoAdd lispflowmapping specific configuration options 41/6741/1
Lorand Jakab [Tue, 6 May 2014 12:12:30 +0000 (15:12 +0300)]
Add lispflowmapping specific configuration options

Change-Id: I02bd8515423c5b4e8ddaf1c1b7f70c9f4b84e2a6
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoBug 849: Fixed NPE in Translated Data Change Events. 40/6740/1
Tony Tkacik [Tue, 6 May 2014 11:31:05 +0000 (13:31 +0200)]
Bug 849: Fixed NPE in Translated Data Change Events.

Change-Id: I7f79b9a713414192f14d934fbc3b9eabb3a2a051
Signed-off-by: Tony Tkacik <ttkacik@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>
9 years agoBug 509: Fixed Backwards compatibility bugs with datastore. 05/6605/1
Tony Tkacik [Tue, 29 Apr 2014 16:57:08 +0000 (18:57 +0200)]
Bug 509: Fixed Backwards compatibility bugs with datastore.

Fixed bug in write and merge of leaf set children,
which prevented update of leaf sets.

Change-Id: I61c130b9d40876ae50468ebfbd2cf15208f1249c
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
9 years agoMerge "Statistics-Manager - Performance Improvement 1) Introduced statistics request...
Ed Warnicke [Tue, 29 Apr 2014 15:08:14 +0000 (15:08 +0000)]
Merge "Statistics-Manager - Performance Improvement 1) Introduced statistics request scheduler, to schedule request based on the current transaction load on MD-SAL DataStore. Each node submit all individual statistics request to schedular for execution 2) Send statistics request if there is no MD-SAL trasaction pending. It just keep tracks of the MD-SAL trasaction triggered by statistics-manager 3) Removal of stale statistics is now done based on counter rather then time values. Time based removal will break in case of clustered environment. 4) Code clean up Change-Id: Ie7522d0c60f2c7051dbfcdf9a6657843ef4da743 Signed-off-by: Anil Vishnoi <avishnoi@in.ibm.com>"

9 years agoMerge "Fixing an unsorted pom change"
Giovanni Meo [Tue, 29 Apr 2014 14:18:45 +0000 (14:18 +0000)]
Merge "Fixing an unsorted pom change"

9 years agoBUG-509: remove the key/value datastore 78/5978/4
Robert Varga [Tue, 8 Apr 2014 17:28:07 +0000 (19:28 +0200)]
BUG-509: remove the key/value datastore

This patch puts the legacy buggy datastore to rest.

Change-Id: If87f8801fe6d370a9244ce8c2d9a586df1502285
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoBUG-509: make the tree-based datastore the default 77/5977/4
Robert Varga [Tue, 8 Apr 2014 17:25:41 +0000 (19:25 +0200)]
BUG-509: make the tree-based datastore the default

This patch switches the default datastore implementation to the
tree-based one.

Change-Id: Ibec4b2ba7f879bcd5a1c9676a59d9984cd7b4371
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoBUG-509: Cleanup datastore switching configuration 11/5911/6
Robert Varga [Fri, 4 Apr 2014 16:42:32 +0000 (18:42 +0200)]
BUG-509: Cleanup datastore switching configuration

This cleans up the configuration, relying on the fact that we can have
the two worlds existing concurrently and only expose one of them.

Change-Id: I9e2c0ecbdce3fb10940e1ff9fb88fc5148b42fc7
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoModify config code generator to write JmxAttribute as static fields. 95/6595/1
Tomas Olvecky [Tue, 29 Apr 2014 12:32:51 +0000 (14:32 +0200)]
Modify config code generator to write JmxAttribute as static fields.

Make JmxAttribute fields static so that name of the attribute can be
referenced and used to read from JMX.

Change-Id: Ibf2afbdfd8ae78e6ca46025671128bc7256f78d9
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
9 years agoMerge "Resolve Bug:853 - remove groovy from config code generator."
Ed Warnicke [Tue, 29 Apr 2014 12:13:46 +0000 (12:13 +0000)]
Merge "Resolve Bug:853 - remove groovy from config code generator."

9 years agoClean up yang-test to stop modifying source files during build. 90/6590/1
Tomas Olvecky [Tue, 29 Apr 2014 09:40:42 +0000 (11:40 +0200)]
Clean up yang-test to stop modifying source files during build.

In yang-test-plugin remove auto generated headers so that things
like timestamp changes will not be reported as changed files
after build.
Also move an artifact definition in commons pom and sal-binding-it
as enforced by the sort plugin.

Change-Id: I5d851d65c149611800a1f7418eb4b642e3fd8260
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
9 years agoFixing an unsorted pom change 88/6588/1
Giovanni Meo [Tue, 29 Apr 2014 09:00:35 +0000 (11:00 +0200)]
Fixing an unsorted pom change

- This would cause changes every time someone builds

Change-Id: I134067fe52d9405f20b777db05e5710d10c12666
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
9 years agoMerge changes Ie84ea1ff,Ifa0a97da
Tony Tkacik [Tue, 29 Apr 2014 08:32:33 +0000 (08:32 +0000)]
Merge changes Ie84ea1ff,Ifa0a97da

* changes:
  BUG-848 Make base capabilities from netconf server configurable
  BUG-848 Fix netconf communication while using CHUNK encoding

9 years agoDefault auth parameters in config.ini. 23/6023/14
Martin Bobak [Thu, 10 Apr 2014 09:10:35 +0000 (11:10 +0200)]
Default auth parameters in config.ini.

    Hardcoded default username and password for ssh authenticaton moved from AuthProvider.java to config.ini
    IUSerManager in AuthProvider.java is not static anymore.

Change-Id: Ia4fd2cddf42d17842869d599d645881b77d2afbd
Signed-off-by: Martin Bobak <mbobak@cisco.com>
9 years agoMerge "Allow to disable default gw feature"
Giovanni Meo [Tue, 29 Apr 2014 08:15:35 +0000 (08:15 +0000)]
Merge "Allow to disable default gw feature"

9 years agoBUG-848 Make base capabilities from netconf server configurable 44/6544/2
Maros Marsalek [Mon, 28 Apr 2014 13:41:35 +0000 (15:41 +0200)]
BUG-848 Make base capabilities from netconf server configurable

Refactor ConcurrentClientsTest, add cases for different netconf server configuration (EXI/CHUNK)

Change-Id: Ie84ea1ff716b11b0da49e0498127a0defc86f41f
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoBUG-848 Fix netconf communication while using CHUNK encoding 43/6543/2
Maros Marsalek [Mon, 28 Apr 2014 09:12:08 +0000 (11:12 +0200)]
BUG-848 Fix netconf communication while using CHUNK encoding

Cause:
When using Chunk encoding, the negotiation process lasts longer due to pipeline manipulation.
Messages received while still in negotiation were not processed correctly (This is incorrect, messages should not be processed while still in negotiation).

Fix:
Introduce a message barrier that will forward only hello message until negotiation is completed (implemented in NetconfXmlToHelloMessageDecoder).
Modify SessionNegotiators to replace message barier/hello decoder when negotiation is finished and to process non-hello messages stopped by the barier.

* Exclude pax-url-aether dependency in netconf-it

Change-Id: Ifa0a97da75ac3cdca29e29bf40138b637e08ff45
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoMerge "Fixed typo in test name. Temporary ignore test."
Ed Warnicke [Mon, 28 Apr 2014 12:30:31 +0000 (12:30 +0000)]
Merge "Fixed typo in test name. Temporary ignore test."

9 years agoMerge "Resolve Bug:748 - Remove test resources from netconf-impl."
Ed Warnicke [Mon, 28 Apr 2014 12:28:30 +0000 (12:28 +0000)]
Merge "Resolve Bug:748 - Remove test resources from netconf-impl."

9 years agoMerge changes I8e90a7d5,I25249fe8
Ed Warnicke [Mon, 28 Apr 2014 12:21:45 +0000 (12:21 +0000)]
Merge changes I8e90a7d5,I25249fe8

* changes:
  Resolve Bug:807 - Keep ModuleFactory references shutdown purposes.
  Resolve Bug:681 - Fix config module registration to Service Registry.

9 years agoMerge "BUG 652 leafref CCE & BUG 720 colons problem"
Ed Warnicke [Mon, 28 Apr 2014 12:21:21 +0000 (12:21 +0000)]
Merge "BUG 652 leafref CCE & BUG 720 colons problem"