mdsal.git
10 years agoFix typo and add more descriptive error
Robert Varga [Thu, 30 Jan 2014 18:07:22 +0000 (19:07 +0100)]
Fix typo and add more descriptive error

When comparing keys, also provide a hint to the node which violated the
key constraint.

Change-Id: I02a9ba3c887bcbc3af34fe770f662e627c3a4414
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge "Added utility SynchronizedTransaction wrapper implementation."
Ed Warnicke [Thu, 30 Jan 2014 10:27:37 +0000 (10:27 +0000)]
Merge "Added utility SynchronizedTransaction wrapper implementation."

10 years agoMerge "Bug 387 : Fixed Binding Independent Connector to properly serialize output."
Ed Warnicke [Thu, 30 Jan 2014 10:27:13 +0000 (10:27 +0000)]
Merge "Bug 387 : Fixed Binding Independent Connector to properly serialize output."

10 years agoMerge "Fix of issue 377 for Notifications resolving."
Ed Warnicke [Thu, 30 Jan 2014 10:20:06 +0000 (10:20 +0000)]
Merge "Fix of issue 377 for Notifications resolving."

10 years agoMerge "Added explicit locking of the data change listener / commit handler registration"
Ed Warnicke [Thu, 30 Jan 2014 10:17:53 +0000 (10:17 +0000)]
Merge "Added explicit locking of the data change listener / commit handler registration"

10 years agoAdded utility SynchronizedTransaction wrapper implementation.
Tony Tkacik [Wed, 29 Jan 2014 13:00:22 +0000 (13:00 +0000)]
Added utility SynchronizedTransaction wrapper implementation.

Change-Id: Ic35661a59fde08f0ec0b72121cd2e3dedf1de480
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoBug 387 : Fixed Binding Independent Connector to properly serialize output.
Tony Tkacik [Wed, 29 Jan 2014 12:06:56 +0000 (12:06 +0000)]
Bug 387 : Fixed Binding Independent Connector to properly serialize output.

Change-Id: Ibabb08983ca31182e087edbdf6821bd1a0216516
Signed-off-by: Robert Gallas <rgallas@cisco.com>
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoFix of issue 377 for Notifications resolving.
Tony Tkacik [Wed, 29 Jan 2014 12:06:25 +0000 (12:06 +0000)]
Fix of issue 377 for Notifications resolving.

Fixed issue when Notification didn't pass from Netconf client to registered and configured ODL plugin application. After Fix, when notification is send to ODL,
notification is forwarded through md-sal directly into application that is registered for listening on mount point where notification arrive.

Change-Id: I4e0c644efb72ba0c26c75e9bd7452afbb0f4897c
Signed-off-by: Lukas Sedlak <lsedlak@cisco.com>
Signed-off-by: Ed Warnicke <eaw@cisco.com>
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoAdded explicit locking of the data change listener / commit handler registration
Tony Tkacik [Tue, 28 Jan 2014 15:21:58 +0000 (16:21 +0100)]
Added explicit locking of the data change listener / commit handler registration

  - This locking fixes ConcurrentModificationException in cases
    when transaction processing is computing affected commit handlers
    and data change listeners.

Change-Id: Icdd9a2ea36102f681a5d82390c3b9d942560b878
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years ago[maven-release-plugin] prepare for next development iteration
jenkins-controller [Mon, 27 Jan 2014 20:51:03 +0000 (20:51 +0000)]
[maven-release-plugin] prepare for next development iteration

10 years ago[maven-release-plugin] prepare release master-tagforprepareonly-controller-bulk-relea...
jenkins-controller [Mon, 27 Jan 2014 20:50:53 +0000 (20:50 +0000)]
[maven-release-plugin] prepare release master-tagforprepareonly-controller-bulk-release-2-1

10 years agoUpdate to new version of the artifacts proposed by jenkins-controller-version-changes-16
Chris Wright [Mon, 27 Jan 2014 18:28:18 +0000 (18:28 +0000)]
Update to new version of the artifacts proposed by jenkins-controller-version-changes-16

Patch 2:  Added manual fixes not caught by mavne change versions plugin
Patch 3:  [chrisw] added two more manual fixes

Change-Id: I84e1e32de85ab817f1925a5a008088e3cfb91136
Signed-off-by: jenkins-controller <jenkins-controller@opendaylight.org>
Signed-off-by: Ed Warnicke <eaw@cisco.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
10 years agoMerge changes I8c23739a,Ia0e70828
Ed Warnicke [Mon, 27 Jan 2014 14:11:06 +0000 (14:11 +0000)]
Merge changes I8c23739a,Ia0e70828

* changes:
  Bulk-add copyright headers to java files
  Bulk-add copyright headers to .xtend files

10 years agoMerge "Fix RPC forwarding related bugs in Binding Independent Connector"
Ed Warnicke [Mon, 27 Jan 2014 12:33:27 +0000 (12:33 +0000)]
Merge "Fix RPC forwarding related bugs in Binding Independent Connector"

10 years agoMerge "Changed multimaps to synchronized multimaps"
Ed Warnicke [Sun, 26 Jan 2014 23:32:49 +0000 (23:32 +0000)]
Merge "Changed multimaps to synchronized multimaps"

10 years agoBulk-add copyright headers to java files
Robert Varga [Sun, 26 Jan 2014 23:00:09 +0000 (00:00 +0100)]
Bulk-add copyright headers to java files

Change-Id: I8c23739a21f3f6cecb138f62a54efbabf03b9c55
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoBulk-add copyright headers to .xtend files
Robert Varga [Sun, 26 Jan 2014 23:00:50 +0000 (00:00 +0100)]
Bulk-add copyright headers to .xtend files

Change-Id: Ia0e70828399607e3e5b4193e01200420f85c0a8a
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoChanged multimaps to synchronized multimaps
Tony Tkacik [Sun, 26 Jan 2014 21:32:20 +0000 (22:32 +0100)]
Changed multimaps to synchronized multimaps

Change-Id: I4279eb099559d019523eef8ac59e17e12e62ebdd
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoFix RPC forwarding related bugs in Binding Independent Connector
Tony Tkacik [Sun, 26 Jan 2014 17:24:25 +0000 (18:24 +0100)]
Fix RPC forwarding related bugs in Binding Independent Connector

  - Fix for set of small bugs which prevented invocation of RPC via Restconf

Change-Id: I090516187007c5b1411fd6a9aecf25724465228a
Signed-off-by: Robert Gallas <rgallas@cisco.com>
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoAdded listener registration when not reusing global instance
Tony Tkacik [Sun, 26 Jan 2014 10:49:54 +0000 (11:49 +0100)]
Added listener registration when not reusing global instance

Change-Id: I90ff74c3d0b35bb44ae328b057de672001ee181d
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoResolve the service reference before intantiating proxy for it
Robert Varga [Sun, 26 Jan 2014 09:27:24 +0000 (10:27 +0100)]
Resolve the service reference before intantiating proxy for it

The original code assumed that if it has a ServiceReference, that
service does not disappear. Now it resolves it before deciding whether
to use a proxy.

Change-Id: I4dfdf886ab1f6fca7cdd523cf3e112af6d9b1411
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoBug 319: Fixed two-phase commit verification of data.
Tony Tkacik [Fri, 24 Jan 2014 18:30:53 +0000 (19:30 +0100)]
Bug 319: Fixed two-phase commit verification of data.

Change-Id: I0183b2543d8842e485ad118badd14055035a44b0
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoExtract dom-serializer-api|impl from binding-broker-impl
Tony Tkacik [Sat, 25 Jan 2014 17:29:57 +0000 (18:29 +0100)]
Extract dom-serializer-api|impl from binding-broker-impl

Change-Id: I1b2844bfac5062fd15c1f011c3104b3dddb33b51
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
10 years agoMerge "Make MD-SAL use opendaylight parent"
Giovanni Meo [Fri, 24 Jan 2014 15:17:26 +0000 (15:17 +0000)]
Merge "Make MD-SAL use opendaylight parent"

10 years agoMake MD-SAL use opendaylight parent
Robert Varga [Wed, 8 Jan 2014 14:52:51 +0000 (15:52 +0100)]
Make MD-SAL use opendaylight parent

Since MD-SAL code does not comply with coding style enforced by the
checkstyle plugin, disable its execution for now -- BUG-272 tracks the
need to re-enable it.

Change-Id: I55763136cec2ce0e892a3c7cc6543f913d76a2ad
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoFixed incorrect null check.
Tony Tkacik [Thu, 23 Jan 2014 09:37:30 +0000 (10:37 +0100)]
Fixed incorrect null check.

Change-Id: I8acb8b1826365bcadccb1b685088a88b46a42c33
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Change target to ${project.build.target} in a bunch of pom file. Add some...
Giovanni Meo [Thu, 23 Jan 2014 09:05:39 +0000 (09:05 +0000)]
Merge "Change target to ${project.build.target} in a bunch of pom file. Add some xtend-gen source dir to the build path. The commit purpose is to eliminate errors in eclipse."

10 years agoIntroduced advanced strategy for parsing of YANG schemas
Tony Tkacik [Wed, 22 Jan 2014 14:54:00 +0000 (15:54 +0100)]
Introduced advanced strategy for parsing of YANG schemas

  - This strategy increases convergence time, because it does not
    parse files with unsatisfied dependencies.

  - New strategy for schema parsing in runtime uses two separate parser
     Minimalistic - is used when YANG source is discovered and scans only
     for module name, revision and dependency information
     Full - parses set of YANG sources and creates model representation.

     When bundle is added / removed - tracker gets yang sources,
     registers it to SchemaResolver, which immediatelly uses
     Minimalistic parser to obtain base information.

     Then context of all known sources and their dependencies is sorted
     and filtered only to use sources which has their dependencies resolved.

     Full parser is then invoked only for models, which have dependencies
     resolved.

Change-Id: Ic62fbd86929866a21f4dbd3c62e73a02d423d7bf
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Fixed bug when global RPCs we're not forwarded"
Ed Warnicke [Thu, 23 Jan 2014 00:53:57 +0000 (00:53 +0000)]
Merge "Fixed bug when global RPCs we're not forwarded"

10 years agoMerge "Added DEBUG log statements for transaction translation."
Ed Warnicke [Thu, 23 Jan 2014 00:53:21 +0000 (00:53 +0000)]
Merge "Added DEBUG log statements for transaction translation."

10 years agoMerge "Fixed inappropriate uses of log level INFO"
Alessandro Boch [Wed, 22 Jan 2014 23:40:53 +0000 (23:40 +0000)]
Merge "Fixed inappropriate uses of log level INFO"

10 years agoFixed inappropriate uses of log level INFO
Ed Warnicke [Sun, 19 Jan 2014 23:33:16 +0000 (17:33 -0600)]
Fixed inappropriate uses of log level INFO

This is done per the recommendation here:

https://wiki.opendaylight.org/view/Draft_Syslog_Level_Settings

Change-Id: I69bbe15d81ed49511f643fd4a8c0ad60f58a0c22
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoChange target to ${project.build.target} in a bunch of pom file.
Elek Jani [Wed, 22 Jan 2014 09:55:30 +0000 (10:55 +0100)]
Change target to ${project.build.target} in a bunch of pom file.
Add some xtend-gen source dir to the build path.
The commit purpose is to eliminate errors in eclipse.

Change-Id: I90727a0096154d7633f4b6cc309dcc09c9a51678
Signed-off-by: Elek Jani <elekjani@gmail.com>
10 years agoFixed bug when global RPCs we're not forwarded
Tony Tkacik [Wed, 22 Jan 2014 13:41:40 +0000 (14:41 +0100)]
Fixed bug when global RPCs we're not forwarded

Change-Id: I2220530609cdbc02549637f92dd550ff657816d6
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoAdded DEBUG log statements for transaction translation.
Tony Tkacik [Wed, 22 Jan 2014 12:56:33 +0000 (13:56 +0100)]
Added DEBUG log statements for transaction translation.

Change-Id: Ia94d8a400e43bb8d0d342e9b6e68b7bf86fd6804
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Default DataBroker does not read subtrees from Mountpoint"
Ed Warnicke [Wed, 22 Jan 2014 13:28:42 +0000 (13:28 +0000)]
Merge "Default DataBroker does not read subtrees from Mountpoint"

10 years agoMerge "Log transactions being allocated"
Giovanni Meo [Wed, 22 Jan 2014 12:41:36 +0000 (12:41 +0000)]
Merge "Log transactions being allocated"

10 years agoDefault DataBroker does not read subtrees from Mountpoint
Tony Tkacik [Wed, 22 Jan 2014 10:22:53 +0000 (11:22 +0100)]
Default DataBroker does not read subtrees from Mountpoint

Changed default behaviour of DataBroker, which involved
also read from remote Netconf nodes to return only
data from local store. To access Netconf device
as a datastore one must get MountInstance for it -
MD-SAL instance exclusive for that device.

Change-Id: I5e900b3964475e95a5436746c1d47c3b68b712db
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoLog transactions being allocated
Robert Varga [Wed, 22 Jan 2014 09:21:22 +0000 (10:21 +0100)]
Log transactions being allocated

We do get logs when the transaction processing starts, unfortunately we
do not get the context in which the transaction was created. This fixes
the deficiency by logging when the transaction is first allocated. Also
adds explicit logs about transaction state transitions.

Change-Id: I46b3a6326ec853e3d1fc32e9820f00d950fd9100
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge "More defensive RPC handling in DOM Broker"
Ed Warnicke [Wed, 22 Jan 2014 05:54:32 +0000 (05:54 +0000)]
Merge "More defensive RPC handling in DOM Broker"

10 years agoMore defensive RPC handling in DOM Broker
Tony Tkacik [Mon, 20 Jan 2014 17:47:06 +0000 (18:47 +0100)]
More defensive RPC handling in DOM Broker

  - RPCs registered to DOM broker now must comform to the schema
    - at the time of registration of RPC implementation,
      the YANG schema must be present for that RPC.
      This does not affect RPC registrations for Binding Aware Broker.

Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Change-Id: I9961efaf547818e08dec571ad9e2378d8e1f48cd

10 years agoMerge "Commented out Sys.outs in runtime generated code."
Ed Warnicke [Wed, 22 Jan 2014 04:51:21 +0000 (04:51 +0000)]
Merge "Commented out Sys.outs in runtime generated code."

10 years agoMerge "Update to new version of the artifacts proposed by jenkins-controller-version...
Ed Warnicke [Wed, 22 Jan 2014 04:50:00 +0000 (04:50 +0000)]
Merge "Update to new version of the artifacts proposed by jenkins-controller-version-changes-11"

10 years agoMerge "Enhancements to remote rpc server. Using zmq router-dealer bridge to make...
Ed Warnicke [Wed, 22 Jan 2014 02:14:43 +0000 (02:14 +0000)]
Merge "Enhancements to remote rpc server. Using zmq router-dealer bridge to make the server async. Enhancements to remote rpc client. Using zmq router-dealer bridge to make the client async. Added configuration for remote rpc in Configuration subsystem On Server startup reading of routingtable to populate remoterpcs was giving exception - fixed the same Client was not registered with Server and addRPCImplementation was failing - fixed the same ServerImpl was not getting registered as listener to RoutingTable hence announcement was not received on remote - fixed the same Patch 6: Some unit tests were intemittently hanging. ZMQ Test server was not gracefully shutting down."

10 years agoCommented out Sys.outs in runtime generated code.
Tony Tkacik [Tue, 21 Jan 2014 19:10:20 +0000 (20:10 +0100)]
Commented out Sys.outs in runtime generated code.

Change-Id: I8c7b532d6d6c10e3bb8a5da7e29aa32d70e79f58
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoUpdate to new version of the artifacts proposed by jenkins-controller-version-changes-11
jenkins-controller [Tue, 21 Jan 2014 17:43:33 +0000 (17:43 +0000)]
Update to new version of the artifacts proposed by jenkins-controller-version-changes-11

Change-Id: If1cdd56839fc0e15cb2c1fa946897b58d7bcfa37
Signed-off-by: jenkins-controller <jenkins-controller@opendaylight.org>
10 years agoEnhancements to remote rpc server. Using zmq router-dealer bridge to make the server...
Abhishek Kumar [Thu, 12 Dec 2013 19:50:31 +0000 (11:50 -0800)]
Enhancements to remote rpc server. Using zmq router-dealer bridge to make the server async.
Enhancements to remote rpc client. Using zmq router-dealer bridge to make the client async.
Added configuration for remote rpc in Configuration subsystem
On Server startup reading of routingtable to populate remoterpcs was giving exception - fixed the same
Client was not registered with Server and addRPCImplementation was failing - fixed the same
ServerImpl was not getting registered as listener to RoutingTable hence announcement was not received on remote - fixed the same
Patch 6: Some unit tests were intemittently hanging. ZMQ Test server was not gracefully shutting down.

Change-Id: I6054443b39394f82258522205ccd4be470f597f0
Signed-off-by: Basheeruddin Ahmed <syedbahm@cisco.com>
Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>
10 years agoUse version 0.6.0-SNAPSHOT of yangtools everywhere in controller.
Tomas Olvecky [Thu, 16 Jan 2014 09:50:38 +0000 (10:50 +0100)]
Use version 0.6.0-SNAPSHOT of yangtools everywhere in controller.

As of yangtools commit f5e9689b95d945c22c7a38870681cab899326de9, all projects
in yangtools repo have version 0.6.0-SNAPSHOT. This commit bumps all
yangtools dependencies to this version.

Change-Id: I4aab7c67ee7ce99618a8935cb6b6fecc5688aace
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoFixed deployment of mount points (dynamic instances of MD-SAL)
Tony Tkacik [Wed, 15 Jan 2014 13:36:35 +0000 (14:36 +0100)]
Fixed deployment of mount points (dynamic instances of MD-SAL)

  - Converted some xtend sources into Java classes
  - Added mount point deployer - service responsible for
    deploying dynamic instances of MD-SAL, which have
    separate context and could be created and retrieved via
    MountService.

Change-Id: I9c0798e2f5f0af647d97b22a2da2f6c46bf9b72d
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoUpdated implementation of Netconf, fixed DOM Mountpoint
Tony Tkacik [Wed, 15 Jan 2014 13:04:02 +0000 (14:04 +0100)]
Updated implementation of Netconf, fixed DOM Mountpoint

Change-Id: Ia0d4f92a65174e891a8111571ced24182d9f47c6
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Fix a few POM versioning/dependency warnings"
Ed Warnicke [Mon, 13 Jan 2014 13:44:44 +0000 (13:44 +0000)]
Merge "Fix a few POM versioning/dependency warnings"

10 years agoFix a few POM versioning/dependency warnings
Robert Varga [Wed, 8 Jan 2014 15:29:04 +0000 (16:29 +0100)]
Fix a few POM versioning/dependency warnings

Change-Id: I8c0fbfcb6a2c5b1d032a6ec26ff9176cca7f6834
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoSwitch from using a Long as FlowId to a Uri
Moiz Raja [Tue, 7 Jan 2014 21:48:00 +0000 (13:48 -0800)]
Switch from using a Long as FlowId to a Uri

Couple of things you may want to pay attention to,

a. FlowProgrammerAdapter maintains a mapping between a Flow and it's id in a map in infinispan
b. Look at internalAddFlowAsync. If it finds that a flow is in the flow to id mapping cache. It will remove the flow and add it back in. This is what makes the switch add back a flow when it a switch comes back alive.
c. The sync vs async behavior should now be properly done

Change-Id: Id156ebbc7b6e643e4a5960aa735d0812bf5cbe48
Signed-off-by: Moiz Raja <moraja@cisco.com>
10 years agoMerge "Fixed bug when converting augmentation in Instance Identifier"
Ed Warnicke [Fri, 10 Jan 2014 17:11:43 +0000 (17:11 +0000)]
Merge "Fixed bug when converting augmentation in Instance Identifier"

10 years agoFixed bug when converting augmentation in Instance Identifier
Tony Tkacik [Fri, 10 Jan 2014 09:02:10 +0000 (10:02 +0100)]
Fixed bug when converting augmentation in Instance Identifier

QName for augmentation s not present in compile-time generated
classes, but Instance Identifier codec did not explicitly checked
that.

Changed implementation in a way, that now it does not uses
reflection, but runtime generated Augmentation codec to
provide valid QName.

Change-Id: If24e9c6bc67975440239dd20a6ec5025977aab58
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Minor changes in md-sal tests."
Ed Warnicke [Thu, 9 Jan 2014 20:22:34 +0000 (20:22 +0000)]
Merge "Minor changes in md-sal tests."

10 years agoMinor changes in md-sal tests.
Martin Vitez [Thu, 9 Jan 2014 14:08:48 +0000 (15:08 +0100)]
Minor changes in md-sal tests.

Temporary ignored test, removed @Override annotation.

Change-Id: I4d483770a96bf57973164f82c27f20f7d29a1e1f
Signed-off-by: Martin Vitez <mvitez@cisco.com>
10 years agoBug 267: Fixed augmentation read from configuration store
Tony Tkacik [Tue, 7 Jan 2014 13:00:32 +0000 (14:00 +0100)]
Bug 267: Fixed augmentation read from configuration store

  - Fixed missing support of direct read of augmentation
    from configuration store.
  - Added regresion unit test, which test storing Node with
    FlowCapableNode augmentation and reading it directly
    via InstanceIdentifier pointing to the augmentation.

Change-Id: I31c1f14d09e8c6f22720d50d25b7c6c457f37c8b
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Support for mount points in Restconf"
Ed Warnicke [Tue, 7 Jan 2014 03:37:25 +0000 (03:37 +0000)]
Merge "Support for mount points in Restconf"

10 years agoSupport for mount points in Restconf
Tony Tkacik [Mon, 6 Jan 2014 19:44:26 +0000 (20:44 +0100)]
Support for mount points in Restconf

Added support for mount points in Restconf paths, which allows for
deeper queries inside remote nodes such as Netconf.

Change-Id: I348e494bae138f7d46ca70ab051f36b5b021641d
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge changes Idf3f69db,I4499d7c7,I512af911
Alessandro Boch [Fri, 3 Jan 2014 17:52:35 +0000 (17:52 +0000)]
Merge changes Idf3f69db,I4499d7c7,I512af911

* changes:
  Initial fix to topology-adapter.
  Fixed topology-manager now that we have topology-lldp-discovery
  Added topology-lldp-discovery module

10 years agoFixed topology-manager now that we have topology-lldp-discovery
Ed Warnicke [Wed, 25 Dec 2013 23:00:30 +0000 (15:00 -0800)]
Fixed topology-manager now that we have topology-lldp-discovery

Change-Id: I4499d7c76322c0a4e78e51eed84a0ce1497b62cc
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoMerge "Fixed bug in discovering JVM loaded case classes during code generation"
Ed Warnicke [Thu, 19 Dec 2013 12:52:42 +0000 (12:52 +0000)]
Merge "Fixed bug in discovering JVM loaded case classes during code generation"

10 years agoFixed bug in discovering JVM loaded case classes during code generation
Tony Tkacik [Thu, 19 Dec 2013 11:15:18 +0000 (12:15 +0100)]
Fixed bug in discovering JVM loaded case classes during code generation

  - Added debug logging
       - routing table updates
       - rpc router creation, non-routed service registration
         proxy instantiation.

Change-Id: Iab0ad7451382ab8179cff2febf17c19e96daf464
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Fixed Bug 250 - bits serialization between Binding Broker and DOM broker"
Ed Warnicke [Wed, 18 Dec 2013 16:10:41 +0000 (16:10 +0000)]
Merge "Fixed Bug 250 - bits serialization between Binding Broker and DOM broker"

10 years agoFixed Bug 250 - bits serialization between Binding Broker and DOM broker
Tony Tkacik [Wed, 18 Dec 2013 13:59:11 +0000 (14:59 +0100)]
Fixed Bug 250 - bits serialization between Binding Broker and DOM broker

  - fixed serialization bug for YANG bits type when crossing brokers
  - Added regression test for bug, based on provided bug report
  - Decreased log level to debug and trace for some code generation
    functionality.

Change-Id: I07982bb7ffefb4350ec4922c02207eb4dc368ab8
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMD-SAL Statistics Manager - Changed Group/Meter Augmentataion location in operational...
Anil Vishnoi [Tue, 17 Dec 2013 13:28:30 +0000 (18:58 +0530)]
MD-SAL Statistics Manager - Changed Group/Meter Augmentataion location in operational data tree
Also added check, to only entertain multipart responses associated to the multipart request sent
by statistics-manager.

Change-Id: I51b1f4c9245ca30914293add0ea5fbefb3f1945b
Signed-off-by: Anil Vishnoi <avishnoi@in.ibm.com>
10 years agoMerge "Fixed bug in cross-broker RPC routing"
Ed Warnicke [Mon, 16 Dec 2013 15:23:04 +0000 (15:23 +0000)]
Merge "Fixed bug in cross-broker RPC routing"

10 years agoMerge "Fixed union serialization and deserialization"
Ed Warnicke [Fri, 13 Dec 2013 19:54:40 +0000 (19:54 +0000)]
Merge "Fixed union serialization and deserialization"

10 years agoFixed bug in cross-broker RPC routing
Tony Tkacik [Fri, 13 Dec 2013 13:11:03 +0000 (14:11 +0100)]
Fixed bug in cross-broker RPC routing

  - Fixed cross-broker (Binding to DOM) and (DOM to Binding)
    rpc routing by adding explicit routing and invocation strategies

  - Lowered reporting level for fingAugmentableArgument to DEBUG
    so it does not polute logs

  - Extracted and converted RpcProviderRegistry implementation
    from BindingAwareBrokerImpl (Xtend) to RpcProviderRegistryImpl
    (java).

Change-Id: I8339abdc864162c70a149cf59fdbdf97093ae8c0
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoFixed union serialization and deserialization
Tony Tkacik [Fri, 13 Dec 2013 19:04:32 +0000 (20:04 +0100)]
Fixed union serialization and deserialization

Change-Id: I8cd8b325fcea1dfd52e2b4166cf6ba4d9ec866a9
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Added more granular error reporting during commit validation."
Ed Warnicke [Thu, 12 Dec 2013 14:41:01 +0000 (14:41 +0000)]
Merge "Added more granular error reporting during commit validation."

10 years agoAdded more granular error reporting during commit validation.
Tony Tkacik [Wed, 11 Dec 2013 15:28:43 +0000 (16:28 +0100)]
Added more granular error reporting during commit validation.

Change-Id: I96a9f2fdd256e1b394d3a21fbaccf16f7350d316
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Bug 211 - Fixed codec generation when transitive dependencies (parents) are...
Ed Warnicke [Tue, 10 Dec 2013 19:40:02 +0000 (19:40 +0000)]
Merge "Bug 211 - Fixed codec generation when transitive dependencies (parents) are not available"

10 years agoBug 211 - Fixed codec generation when transitive dependencies (parents) are not available
Tony Tkacik [Tue, 10 Dec 2013 14:21:07 +0000 (15:21 +0100)]
Bug 211 - Fixed codec generation when transitive dependencies (parents) are not available

  - Classloader for each encountered generated class is added to javassist ClassPool
    if not already there, to make sure we have full visibility into supertype hierarchy
    of class

Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Change-Id: I760b6d53df2e07a9ed5e73fecd655999061cc3be

10 years agoFix to allow RESTCONF PUTing of Flows
Tony Tkacik [Sun, 1 Dec 2013 16:53:21 +0000 (17:53 +0100)]
Fix to allow RESTCONF PUTing of Flows

- Due to a bug in the JAXB spec, which is propogated to
JAXRS, which forbids '/', even escaped, in path segments
in URLs... we can't use the nesting by refs under /flows.

- Therefore I've moved flow config to
nodes -> node -> table -> flow

- Making that change in the existing FlowConsumerImpl proved extremely
hard.  Due to the press of time I've introduced a very simple set of
FlowProvider, FlowCommitHandler, FlowTransaction, FlowTransactionValidator,
to cleanly separate the logic.  We can migrate over the validation rules as
need be.

PatchSet 11: Abstract the Transaction.  Add Groups.
PatchSet 12: Fixes for Meters

PatchSet 13: Yet another rebase

PatchSet 14: Squashing https://git.opendaylight.org/gerrit/#/c/3304/8

Must proceed: http://git.opendaylight.org/gerrit/3596/1
in openflowplugin

Change-Id: I1f1cd04a04f7a30630062725e63112cda4b049f1
Signed-off-by: Ed Warnicke <eaw@cisco.com>
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Implementation for enabling remote rpc calls between 2 instances of md-sal"
Ed Warnicke [Mon, 9 Dec 2013 17:39:39 +0000 (17:39 +0000)]
Merge "Implementation for enabling remote rpc calls between 2 instances of md-sal"

10 years agoMerge "Fix for bug 211, where direct write and read of augmentation was not processed...
Ed Warnicke [Mon, 9 Dec 2013 17:10:49 +0000 (17:10 +0000)]
Merge "Fix for bug 211, where direct write and read of augmentation was not processed correctly"

10 years agoFix for bug 211, where direct write and read of augmentation was not processed correctly
Tony Tkacik [Fri, 6 Dec 2013 15:40:56 +0000 (16:40 +0100)]
Fix for bug 211, where direct write and read of augmentation was not processed correctly

  - Fixed TypeNotAvailable issue with end-to-end Openflow

Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Change-Id: I9797fb4a1b71d456cc9126f98e4f3043e49b5666

10 years agoImplementation for enabling remote rpc calls between 2 instances of md-sal
Tony Tkacik [Thu, 5 Dec 2013 20:51:46 +0000 (21:51 +0100)]
Implementation for enabling remote rpc calls between 2 instances of md-sal

 - This provides implementation for enabling remote rpc calls between 2 instances of md-sal.
   The current implementation enables remote execution of globally unique services in the
   cluster. For details, please refer to this wiki page
   (https://wiki.opendaylight.org/view/Zeromq_connector). This wiki page is a draft.
 - Added relativePath in pom so that parent pom can be found.
 - Removed dependency to sal-infinispan-routingtable
 - Exported "impl" as well from zeromq-routingtable. Fixed dependencies in RouterTest.
 - Removed oss.sonatype release repo from md-sal pom. ODL nexus repo mirrors it.
 - Updated server code to handle exception
 - Server code now uses WB pattern instead of listerner pattern.
 - Fixed pom so that parent can be resolved
 - Rebased due to changed in unmerged dependency
 - Added state machine to RpcSocket.
 - Added unit tests to RpcSocketTest and SocketManagerTest.
 - Added CompositeNode methods to ExampleConsumer & XML files for creation of CompositeNodes
 - Added CompositeNode testcases to RouterTest
 - Translated scala code to java
 - Added code to convert CompositeNode to xml and back to help
 - with serialization.
 - Added more unit and integration tests.

This is squash for:

https://git.opendaylight.org/gerrit/2882
https://git.opendaylight.org/gerrit/3022
https://git.opendaylight.org/gerrit/3028
https://git.opendaylight.org/gerrit/3159

Change-Id: I44739fd8ad61043c2e786875bb7787e3fa68e435
Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Signed-off-by: Alex Fan <railor33@gmail.com>
10 years agoMerge "Added transactions statistics for BI Broker."
Ed Warnicke [Sat, 7 Dec 2013 23:03:29 +0000 (23:03 +0000)]
Merge "Added transactions statistics for BI Broker."

10 years agoAdded transactions statistics for BI Broker.
Lukas Sedlak [Fri, 6 Dec 2013 13:35:50 +0000 (14:35 +0100)]
Added transactions statistics for BI Broker.

Added implementation of gathering transaction statistics when binding independent broker is used.

Signed-off-by: Lukas Sedlak <lsedlak@cisco.com>
Change-Id: Ia7fb9374575be62bb6bd6b2ace3112d28524bde5

10 years agoMoved IT code to separate project, Fix for Bug 184, created test-jar
Tony Tkacik [Wed, 4 Dec 2013 16:18:11 +0000 (17:18 +0100)]
Moved IT code to separate project, Fix for Bug 184, created test-jar

Change-Id: I9ed91016c93aba64548498b48de6ff1995cee021
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoAdded documentation generator to yang-maven-plugin.
Milos Fabian [Tue, 3 Dec 2013 18:11:43 +0000 (19:11 +0100)]
Added documentation generator to yang-maven-plugin.

Generated html files are located in target/site/models.

Change-Id: I6cc8a8a3a2a7b6c420efaa211ed48c5ad34c0105
Signed-off-by: Milos Fabian <milfabia@cisco.com>
10 years agoMerge "Exposed binding-rpc-registry to config subsystem."
Ed Warnicke [Tue, 3 Dec 2013 12:20:46 +0000 (12:20 +0000)]
Merge "Exposed binding-rpc-registry to config subsystem."

10 years agoExposed binding-rpc-registry to config subsystem.
Tony Tkacik [Tue, 3 Dec 2013 09:26:38 +0000 (10:26 +0100)]
Exposed binding-rpc-registry to config subsystem.

Change-Id: I68920fd7547bab5dd868140322db03366e0d15a3
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Fixed serialization of InstanceIdentifier's which contains Augmentation in...
Ed Warnicke [Mon, 2 Dec 2013 20:38:38 +0000 (20:38 +0000)]
Merge "Fixed serialization of InstanceIdentifier's which contains Augmentation in path."

10 years agoFixed serialization of InstanceIdentifier's which contains Augmentation in path.
Tony Tkacik [Mon, 2 Dec 2013 11:46:22 +0000 (12:46 +0100)]
Fixed serialization of InstanceIdentifier's which contains Augmentation in path.

Change-Id: I0ef71ec04eaa14f95fc0f4857254eef506d78bb4
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoAdded transactions statistics support.
Lukas Sedlak [Mon, 2 Dec 2013 11:38:03 +0000 (12:38 +0100)]
Added transactions statistics support.

Added implementation of DataBrokerImplRuntimeMXBean as DataBrokerRuntimeMXBeanImpl;
Modified DataBrokerImplModule with DataBrokerRuntimeMXBeanImpl;
Added "submitted" leaf into opendaylight-md-sal-common.yang;

Signed-off-by: Lukas Sedlak <lsedlak@cisco.com>
Change-Id: I5494c7175b37c14e39d6b2b3d87fccd3358f1a57

10 years agoMerge "Wired ClusteredDataStore with Configuration Subsytem"
Ed Warnicke [Sun, 1 Dec 2013 18:13:32 +0000 (18:13 +0000)]
Merge "Wired ClusteredDataStore with Configuration Subsytem"

10 years agoWired ClusteredDataStore with Configuration Subsytem
Tony Tkacik [Wed, 27 Nov 2013 16:48:30 +0000 (17:48 +0100)]
Wired ClusteredDataStore with Configuration Subsytem

MD-SAL clustered Data Store is available as separete
configurable modules.

Change-Id: I15a98f19dd2eb851e8dfb73a9c4df461e6860db5
Signed-off-by: Moiz Raja <moraja@cisco.com>
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Fixed major sonar warnings in Binding Aware Broker"
Ed Warnicke [Sun, 1 Dec 2013 14:34:41 +0000 (14:34 +0000)]
Merge "Fixed major sonar warnings in Binding Aware Broker"

10 years agoFixed major sonar warnings in Binding Aware Broker
Tony Tkacik [Sun, 1 Dec 2013 13:30:02 +0000 (14:30 +0100)]
Fixed major sonar warnings in Binding Aware Broker

Change-Id: I3c5721372778bc963d4fb1d5ff38585a7aa133af
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Fixed bug in Data store where multiple readers could overwrite other augmentat...
Ed Warnicke [Sun, 1 Dec 2013 12:25:12 +0000 (12:25 +0000)]
Merge "Fixed bug in Data store where multiple readers could overwrite other augmentations"

10 years agoFixed bug in Data store where multiple readers could overwrite
Tony Tkacik [Sun, 1 Dec 2013 01:39:43 +0000 (02:39 +0100)]
Fixed bug in Data store where multiple readers could overwrite
other augmentations

  - Added configuration / operational data validation - Commit
    with operational data stored in configuration store will fail.
  - Added initial data change event.

Change-Id: I5383cc28286bff98b95b11b63c56cd175ea2c7e9
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMerge "Fixed Group and Meter RPC model to use MD-SAL routing correctly"
Ed Warnicke [Thu, 28 Nov 2013 10:49:40 +0000 (10:49 +0000)]
Merge "Fixed Group and Meter RPC model to use MD-SAL routing correctly"

10 years agoMerge changes I178e467a,Ia8720c2c
Ed Warnicke [Thu, 28 Nov 2013 10:28:01 +0000 (10:28 +0000)]
Merge changes I178e467a,Ia8720c2c

* changes:
  Mark deprecated methods in DataModification as such
  Remove executable permissions from pom.xml

10 years agoFixed Group and Meter RPC model to use MD-SAL routing correctly
Tony Tkacik [Thu, 28 Nov 2013 08:36:49 +0000 (09:36 +0100)]
Fixed Group and Meter RPC model to use MD-SAL routing correctly

  - Changed RPCs in Group and Meter to use node-context-ref
    instead of node for routing information (same pattern as
    in flow-services).

  - Updated statistics manager to use updated code.

Change-Id: I7e6b156665008fea5814f6cdb16ed8de2511759a
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoMark deprecated methods in DataModification as such
Robert Varga [Thu, 28 Nov 2013 07:30:23 +0000 (08:30 +0100)]
Mark deprecated methods in DataModification as such

Change-Id: I178e467a3885841175755e3e9ff8f977a4276e85
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
10 years agoMerge "Moved Schema Aware logic from DataStore to SchemaAwareDataStore adapter"
Ed Warnicke [Wed, 27 Nov 2013 21:34:49 +0000 (21:34 +0000)]
Merge "Moved Schema Aware logic from DataStore to SchemaAwareDataStore adapter"