controller.git
10 years agoProvide callback feature when modal is visible 66/4666/1
Sapan Shah [Thu, 23 Jan 2014 22:39:53 +0000 (14:39 -0800)]
Provide callback feature when modal is visible

Change-Id: I50cc978f1a32bca94d53db84d2c281ddf9099d52
Signed-off-by: Sapan Shah <sapshah@cisco.com>
10 years agoInclude the incomming port in PacketOut message. 62/4562/3
Elek Jani [Wed, 22 Jan 2014 10:29:04 +0000 (11:29 +0100)]
Include the incomming port in PacketOut message.
Without this flood messages do not omit the incomming port on the switch.

Change-Id: I932d00c1f17b95678cb73136aefa05fcc5718a95
Signed-off-by: Elek Jani <elekjani@gmail.com>
10 years agoFixed incorrect null check. 29/4629/1
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 agoMerge "Make configuration push timeout configurable"
Ed Warnicke [Thu, 23 Jan 2014 03:40:29 +0000 (03:40 +0000)]
Merge "Make configuration push timeout configurable"

10 years agoMerge "Gerrit contains following changes : 1) Fix for bug 284. Added functionality...
Ed Warnicke [Thu, 23 Jan 2014 03:26:04 +0000 (03:26 +0000)]
Merge "Gerrit contains following changes : 1) Fix for bug 284. Added functionality that listen to data store *remove* changes and cleanup the relevant statistics from operational data store. 2) Added functionality that listen to config data store *create* changes for Flow,Group, Meter & Queue and send statistics request to switch to get respective stats. 3) Added functionality to periodically remove stale stats from operational data store. Clean up thread invokes after every two cycle of stats collection. 4) Removed unnecessary local caching."

10 years agoMerge "md-sal: commons-codec artifact version sync"
Ed Warnicke [Thu, 23 Jan 2014 03:20:22 +0000 (03:20 +0000)]
Merge "md-sal: commons-codec artifact version sync"

10 years agoGerrit contains following changes : 83/4583/2
Anil Vishnoi [Tue, 21 Jan 2014 10:34:25 +0000 (16:04 +0530)]
Gerrit contains following changes :
1) Fix for bug 284. Added functionality that listen to data store *remove* changes and
cleanup the relevant statistics from operational data store.
2) Added functionality that listen to config data store *create* changes for Flow,Group,
Meter & Queue and send statistics request to switch to get respective stats.
3) Added functionality to periodically remove stale stats from operational data store.
Clean up thread invokes after every two cycle of stats collection.
4) Removed unnecessary local caching.

Change-Id: Ibee3c73905ce872302c4f54ce5b7b53c0657ee51
Signed-off-by: Anil Vishnoi <avishnoi@in.ibm.com>
10 years agoMake AbstractSessionNegotiator react to exceptions 23/4523/3
Robert Varga [Tue, 21 Jan 2014 20:14:58 +0000 (21:14 +0100)]
Make AbstractSessionNegotiator react to exceptions

While the SessionNegotiator is present on the pipeline it should react
to exceptions happening on the channel by failing negotiation.

Change-Id: I6571dc25f17c7afe8fa4e4eb58f70ad0bb3397a4
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoIntroduced advanced strategy for parsing of YANG schemas 85/4585/4
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 agoMerge "fix typos and some Java improvements in ClusterManager"
Giovanni Meo [Wed, 22 Jan 2014 22:17:00 +0000 (22:17 +0000)]
Merge "fix typos and some Java improvements in ClusterManager"

10 years agoFixed inappropriate uses of log level INFO 20/4420/5
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. 57/4557/2
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 80/4580/3
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. 79/4579/3
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 "Optimization - calculate the subnet prefix only once."
Giovanni Meo [Wed, 22 Jan 2014 21:31:53 +0000 (21:31 +0000)]
Merge "Optimization - calculate the subnet prefix only once."

10 years agoMerge "Bump yangtools artifacts to reflect their uptodate versions"
Giovanni Meo [Wed, 22 Jan 2014 21:24:11 +0000 (21:24 +0000)]
Merge "Bump yangtools artifacts to reflect their uptodate versions"

10 years agoMerge "Fix ClassCastException in logging bridge stop"
Giovanni Meo [Wed, 22 Jan 2014 21:16:16 +0000 (21:16 +0000)]
Merge "Fix ClassCastException in logging bridge stop"

10 years agofix typos and some Java improvements in ClusterManager 11/3911/2
Alissa Bonas [Tue, 24 Dec 2013 11:44:24 +0000 (13:44 +0200)]
fix typos and some Java improvements in ClusterManager

Fix typos in error messages, use StringBuilder instead
of StringBuffer, append strings more efficiently,
and move a local variable to be a constant.

Change-Id: I23a4436449909cf02a6fce47e0f1f9a0ce80f0e4
Signed-off-by: Alissa Bonas <abonas@redhat.com>
10 years agoOptimization - calculate the subnet prefix only once. 24/3924/2
Alissa Bonas [Wed, 25 Dec 2013 17:23:33 +0000 (19:23 +0200)]
Optimization - calculate the subnet prefix only once.

Before this change, subnet prefix was calculated on every
'isSubnetOf' call. Since the prefix is not changing unless
the subnet address itself changed, it's sufficient to do it only once
and keep it as part of the Subnet object.

Marked it as transient so it will not be serialized - it can be
calculated from the rest of the info of Subnet anytime after
deserialization.

Change-Id: Ie16bf80713820b566864bea0ff46298c93cc2d47
Signed-off-by: Alissa Bonas <abonas@redhat.com>
10 years agoMerge "Avoiding hash collisions of a match with its reverse"
Alessandro Boch [Wed, 22 Jan 2014 20:41:05 +0000 (20:41 +0000)]
Merge "Avoiding hash collisions of a match with its reverse"

10 years agoMinor bugfix in Topology Manager 36/4536/2
Yevgeny Khodorkovsky [Tue, 21 Jan 2014 23:13:08 +0000 (15:13 -0800)]
Minor bugfix in Topology Manager

- This fixes an incorrect assumption that subsequent edge-ADDED updates
  will always have equal edge properties

Change-Id: Ib124a4c260d7fce6bb8464f267c2e88cf0b35384
Signed-off-by: Yevgeny Khodorkovsky <ykhodork@cisco.com>
10 years agoFix ClassCastException in logging bridge stop 05/4605/1
Prasanth Pallamreddy [Wed, 22 Jan 2014 18:45:40 +0000 (10:45 -0800)]
Fix ClassCastException in logging bridge stop

  - Additional fix to handle NPE during logging bridge start

Change-Id: Id6d4b727dd08db18a91b509cad99450fd41a5171
Signed-off-by: Prasanth Pallamreddy <ppallamr@cisco.com>
10 years agoMake configuration push timeout configurable 98/4598/1
Robert Varga [Wed, 22 Jan 2014 16:24:16 +0000 (17:24 +0100)]
Make configuration push timeout configurable

This patch adds the option to specify a the pusher timeout, such that it
can be made either shorter or longer than the default 2 minutes.

Another improvement is the use of System.nanoTime(), making the deadline
work in face of calender time changing.

Change-Id: Ia8b596c7cd285695696fa5074f7d1f23c2b8b560
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agounitests: Remove extending TestCase from unitest classes. 19/3919/4
Alissa Bonas [Wed, 25 Dec 2013 13:06:36 +0000 (15:06 +0200)]
unitests: Remove extending TestCase from unitest classes.

Extending TestCase which is a Junit3 format, and using Junit4
annotations at the same time in same class causes confusion,
and can also lead to runtime problems.
An example for a problem - putting @Ignore on a test case which starts
with word "test" and is located in a class that extends TestCase will
actually NOT ignore the test because it will be interpreted as Junit3
and not as Junit4.
Removing extending TestCase will make the unitests to be interpreted
as Junit4 style and leave no room for confusion.

Change-Id: I2365f0921d64667a5489c42eeb53adadc45efdaa
Signed-off-by: Alissa Bonas <abonas@redhat.com>
10 years agoMerge "Move NetconfUtil to netconf-util."
Ed Warnicke [Wed, 22 Jan 2014 13:29:09 +0000 (13:29 +0000)]
Merge "Move NetconfUtil to netconf-util."

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 agoBump yangtools artifacts to reflect their uptodate versions 67/4567/2
Robert Varga [Wed, 22 Jan 2014 11:05:01 +0000 (12:05 +0100)]
Bump yangtools artifacts to reflect their uptodate versions

Change-Id: I9f90d50b1cb3955f04b54353dc771a19048ca209
Signed-off-by: Robert Varga <rovarga@cisco.com>
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 agoMove NetconfUtil to netconf-util. 12/4512/2
Tomas Olvecky [Tue, 21 Jan 2014 16:24:29 +0000 (17:24 +0100)]
Move NetconfUtil to netconf-util.

Implement simple acceptance netconf client test that can connect to a remote machine. Clean up
helper functions from netconf-impl and persister-impl to netconf-util.

Change-Id: I1dd221822c6e6fff69388f65c4df3bb39fa21d60
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoDefault DataBroker does not read subtrees from Mountpoint 61/4561/1
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 55/4555/1
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 agomd-sal: commons-codec artifact version sync 50/4550/1
Chris Wright [Wed, 22 Jan 2014 06:42:40 +0000 (22:42 -0800)]
md-sal: commons-codec artifact version sync

md-sal is using both 1.7 and 1.8 versions of commons-codec.  The rest of
the controller is using 1.7, so bring md-sal in line with that.

Change-Id: I2a0e38874f857c30f34bf4f0e65becc35bc46f28
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
10 years agoAvoiding hash collisions of a match with its reverse 03/4603/1
Asad Ahmed [Wed, 22 Jan 2014 07:00:19 +0000 (23:00 -0800)]
Avoiding hash collisions of a match with its reverse

Change-Id: I6b6942e90b85028af9ec98cb27cf17cd0377c033
Signed-off-by: Asad Ahmed <asaahmed@cisco.com>
10 years agoChanged port number for test server in ClientRequestHandlerTest 39/4539/3
Abhishek Kumar [Wed, 22 Jan 2014 03:45:24 +0000 (19:45 -0800)]
Changed port number for test server in ClientRequestHandlerTest
When tests are run in parallel, the port number in ServerRequestHandlerTests and ClientRequestHandlerTests
could have conflicted. Changed the port number to avoid conflict.

Change-Id: I63fae99458fc9109fdbfc5f063ca4289b10aa30c
Signed-off-by: Abhishek Kumar <abhishk2@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 agoMerge "sal-remoterpc-connector: sync ch.qos.logback:logback-classic version"
Ed Warnicke [Wed, 22 Jan 2014 05:21:23 +0000 (05:21 +0000)]
Merge "sal-remoterpc-connector: sync ch.qos.logback:logback-classic version"

10 years agoMore defensive RPC handling in DOM Broker 21/4521/2
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 "Fix bug in hello message: module with more revisions."
Ed Warnicke [Wed, 22 Jan 2014 04:48:44 +0000 (04:48 +0000)]
Merge "Fix bug in hello message: module with more revisions."

10 years agoMerge "fix of Bug 314"
Ed Warnicke [Wed, 22 Jan 2014 04:46:53 +0000 (04:46 +0000)]
Merge "fix of Bug 314"

10 years agoMerge "Fix: removed tabs from yang files."
Ed Warnicke [Wed, 22 Jan 2014 04:46:37 +0000 (04:46 +0000)]
Merge "Fix: removed tabs from yang files."

10 years agoMerge "Tests for loading data with augmented schema nodes with equal names"
Ed Warnicke [Wed, 22 Jan 2014 04:12:29 +0000 (04:12 +0000)]
Merge "Tests for loading data with augmented schema nodes with equal names"

10 years agoMerge "Clean up unnecessary imports in 01-md-sal.xml ."
Ed Warnicke [Wed, 22 Jan 2014 04:09:20 +0000 (04:09 +0000)]
Merge "Clean up unnecessary imports in 01-md-sal.xml ."

10 years agoMerge "The config now is loaded only from the coordinator. The previous way of loadin...
Alessandro Boch [Wed, 22 Jan 2014 03:51:48 +0000 (03:51 +0000)]
Merge "The config now is loaded only from the coordinator. The previous way of loading the config only if empty had some side-effects."

10 years agoMerge "Migrate all artifact versions to dependencyManagement"
Alessandro Boch [Wed, 22 Jan 2014 03:51:28 +0000 (03:51 +0000)]
Merge "Migrate all artifact versions to dependencyManagement"

10 years agosal-remoterpc-connector: sync ch.qos.logback:logback-classic version 38/4538/1
Chris Wright [Wed, 22 Jan 2014 03:34:38 +0000 (19:34 -0800)]
sal-remoterpc-connector: sync ch.qos.logback:logback-classic version

The following commit:

  8079442 Enhancements to remote rpc server. Using zmq router-dealer bridge

introduced a new version dependency on ch.qos.logback:logback-classic.
Let's make this dependency consisten with the rest of the project by
moving from 1.0.12 back to 1.0.9.

Change-Id: I3bd7e3ce7d5c4af36fad8ddf7ee883117d9c4386
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
10 years agoMerge "InputStream for RSA file should not be static"
Ed Warnicke [Wed, 22 Jan 2014 02:46:01 +0000 (02:46 +0000)]
Merge "InputStream for RSA file should not be static"

10 years agoMerge "Changed codec for Identityref in JSON transformation"
Ed Warnicke [Wed, 22 Jan 2014 02:45:31 +0000 (02:45 +0000)]
Merge "Changed codec for Identityref in JSON transformation"

10 years agoMerge "OSGI version change to 5.0.0 in ganymed subproject"
Ed Warnicke [Wed, 22 Jan 2014 02:15:41 +0000 (02:15 +0000)]
Merge "OSGI version change to 5.0.0 in ganymed subproject"

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 agoThe config now is loaded only from the coordinator. The previous way of loading 26/4526/3
Asad Ahmed [Tue, 21 Jan 2014 20:38:51 +0000 (12:38 -0800)]
The config now is loaded only from the coordinator. The previous way of loading
the config only if empty had some side-effects.

Change-Id: I4f1819c60b491a36e1c14a78ec376e2dfcee8583
Signed-off-by: Asad Ahmed <asaahmed@cisco.com>
10 years agoMerge "Bug fix for bug 328 https://bugs.opendaylight.org/show_bug.cgi?id=328#add_comment"
Alessandro Boch [Tue, 21 Jan 2014 22:36:34 +0000 (22:36 +0000)]
Merge "Bug fix for bug 328 https://bugs.opendaylight.org/show_bug.cgi?id=328#add_comment"

10 years agoBug fix for bug 328 93/4493/3
Dave Tucker [Tue, 21 Jan 2014 11:50:39 +0000 (11:50 +0000)]
Bug fix for bug 328
https://bugs.opendaylight.org/show_bug.cgi?id=328#add_comment

Casts node_id to long before instantiatiing an Node

Change-Id: I846bfe11cef49adeea65d9d2cce6a0d7444b93f5
Signed-off-by: Dave Tucker <dave.j.tucker@hp.com>
10 years agoMigrate all artifact versions to dependencyManagement 22/4522/1
Giovanni Meo [Tue, 21 Jan 2014 17:57:28 +0000 (18:57 +0100)]
Migrate all artifact versions to dependencyManagement

- Migrate all the artifacts to use dependencyManagement to centralize
the version changes in controller and make sure the dry-run for
release could actually rewrite those.

Change-Id: I510e4f15d6d75ec52d49835600338fa069a5a4f6
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
10 years agoCommented out Sys.outs in runtime generated code. 20/4520/1
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 14/4514/1
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 agofix of Bug 314 54/4454/2
Martin Sunal [Mon, 20 Jan 2014 17:10:47 +0000 (18:10 +0100)]
fix of Bug 314

- corrected POST operation

Change-Id: Ia5cbf9dcf662c15dc8c25f0dada359e78091ee87
Signed-off-by: Martin Sunal <msunal@cisco.com>
10 years agoFix bug in hello message: module with more revisions. 05/4505/1
Tomas Olvecky [Tue, 21 Jan 2014 14:26:39 +0000 (15:26 +0100)]
Fix bug in hello message: module with more revisions.

When yang store discovers new yang files, it should keep all modules
provided by the parser. The old behavior was that only only one
module instance was chosen. This change results in hello message
containing all revisions of all modules.

Change-Id: I5f580042303573fb4fd2d592846763d46bbb1d66
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoTests for loading data with augmented schema nodes with equal names 95/4495/1
Jozef Gloncak [Tue, 21 Jan 2014 12:06:48 +0000 (13:06 +0100)]
Tests for loading data with augmented schema nodes with equal names

Tests loading and normalization of JSON and XML data to composite/simple node structure when
schema node structure contains several nodes with equal name which were
added through augmentation.

Change-Id: I18d00ace7b3f7a4bd3c757330024798cec890784
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
10 years agoClean up unnecessary imports in 01-md-sal.xml . 91/4491/1
Tomas Olvecky [Tue, 21 Jan 2014 11:02:21 +0000 (12:02 +0100)]
Clean up unnecessary imports in 01-md-sal.xml .

Also remove unused import of ietf-inet-types in odl-sal-netconf-connector-cfg.yang .

Change-Id: I324cc6124bf3f6cc51f29436100ace559f6427b9
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoFixing a NullPointerException in Neutron Interface (Bug-323) 67/4367/3
Madhu Venugopal [Fri, 17 Jan 2014 23:58:30 +0000 (15:58 -0800)]
Fixing a NullPointerException in Neutron Interface (Bug-323)

Ideally, this condition should never occur. But there seems to be a consistency issue in the ML2 driver
which could potentially result in this condition. While we are addressing the root-cause in ODL ML2
driver, we should also patch our side of the interface as well to avoid failing for such conditions when
it is harmless for a few usecases.

Change-Id: Iff5fdb76b45280aba38607cdcf82715cb4338b05
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
10 years agoInputStream for RSA file should not be static 49/4449/5
Martin Bobak [Mon, 20 Jan 2014 14:54:56 +0000 (15:54 +0100)]
InputStream for RSA file should not be static

- input stream is used in AuthProvider constructor
  and closed

Change-Id: I4c498062a6f76eb43a86a0c4a1e1648f8cee01a3
Signed-off-by: Martin Bobak <mbobak@cisco.com>
10 years agoEnhancements to remote rpc server. Using zmq router-dealer bridge to make the server... 86/3686/7
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 agoMerge "Fix for Bugs 324"
Giovanni Meo [Mon, 20 Jan 2014 21:19:31 +0000 (21:19 +0000)]
Merge "Fix for Bugs 324"

10 years agoMerge "run.sh: fix -status command exit codes"
Ed Warnicke [Mon, 20 Jan 2014 21:13:31 +0000 (21:13 +0000)]
Merge "run.sh: fix -status command exit codes"

10 years agoMerge "Updated port-types yang file to adhere to pyang validation. OF Plugin review...
Ed Warnicke [Mon, 20 Jan 2014 15:56:52 +0000 (15:56 +0000)]
Merge "Updated port-types yang file to adhere to pyang validation. OF Plugin review: https://git.opendaylight.org/gerrit/#/c/4434/ Signed-off-by: Deepthi V V <deepthi.v.v@ericsson.com> Change-Id: I4e1d0dd355864d7ed3f6f9ce4251d20db40a5a05"

10 years agoFix: removed tabs from yang files. 51/4451/1
Milos Fabian [Mon, 20 Jan 2014 14:50:21 +0000 (15:50 +0100)]
Fix: removed tabs from yang files.

Signed-off-by: Milos Fabian <milfabia@cisco.com>
Change-Id: I1f6fcba1c5dfc3eddb53adc89950ed20795dddfb

10 years agoMerge "pyang fixes for table/meter types"
Ed Warnicke [Mon, 20 Jan 2014 13:50:02 +0000 (13:50 +0000)]
Merge "pyang fixes for table/meter types"

10 years agopyang fixes for table/meter types 37/4437/3
Prasanna Huddar [Mon, 20 Jan 2014 11:37:24 +0000 (17:07 +0530)]
pyang fixes for table/meter types

Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
Change-Id: I0a60d90b0859257e1c466f1a353aa57840f2072d

10 years agoChanged codec for Identityref in JSON transformation 38/4438/1
Martin Sunal [Mon, 20 Jan 2014 11:39:25 +0000 (12:39 +0100)]
Changed codec for Identityref in JSON transformation

- codec for Identityref which is used in JSON transformation can use mount point

Change-Id: Icdef737216f1d9a46cc7b40135b1b472d732caff
Signed-off-by: Martin Sunal <msunal@cisco.com>
10 years agoUpdated port-types yang file to adhere to pyang validation. 33/4433/2
Deepthi V V [Mon, 20 Jan 2014 10:39:54 +0000 (16:09 +0530)]
Updated port-types yang file to adhere to pyang validation.
OF Plugin review: https://git.opendaylight.org/gerrit/#/c/4434/
Signed-off-by: Deepthi V V <deepthi.v.v@ericsson.com>
Change-Id: I4e1d0dd355864d7ed3f6f9ce4251d20db40a5a05

10 years agoOSGI version change to 5.0.0 in ganymed subproject 26/4426/1
Robert Gallas [Mon, 20 Jan 2014 07:34:34 +0000 (08:34 +0100)]
OSGI version change to 5.0.0 in ganymed subproject

Change-Id: I11a43745e91ae4d9d39862120b457eb557574447
Signed-off-by: Robert Gallas <rgallas@cisco.com>
10 years agoFix for bug 288 16/4416/2
Anil Vishnoi [Sun, 19 Jan 2014 20:58:22 +0000 (02:28 +0530)]
Fix for  bug 288
https://bugs.opendaylight.org/show_bug.cgi?id=288

Change-Id: I44d5537c26060a1e49c164dc12f155a5bde61a43
Signed-off-by: Anil Vishnoi <avishnoi@in.ibm.com>
10 years agoFix for Bugs 324 10/4410/4
Ed Warnicke [Sun, 19 Jan 2014 19:26:44 +0000 (13:26 -0600)]
Fix for Bugs 324

Small fix to handle an NPE in TopologyMapping

Change-Id: I6040854ea281f501c62985b0a1fab709fda8c486
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoUse version 0.6.0-SNAPSHOT of yangtools everywhere in controller. 98/4298/5
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 agopyang fixes for base model type. changes do not affect plugin build 06/4406/2
Prasanna Huddar [Mon, 20 Jan 2014 03:49:24 +0000 (19:49 -0800)]
pyang fixes for base model type. changes do not affect plugin build

Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
Change-Id: I1828a86aa1b88467435c136fbb4882ecb409fbfc

10 years agopyang fixes for inventory and topology models 05/4405/2
Prasanna Huddar [Mon, 20 Jan 2014 03:43:39 +0000 (19:43 -0800)]
pyang fixes for inventory and topology models

Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
Change-Id: I0ef0e3a7a0ca96743d5c1d304b3a9f70714593c5

10 years agopyang fixes for service models 04/4404/2
Prasanna Huddar [Mon, 20 Jan 2014 03:38:47 +0000 (19:38 -0800)]
pyang fixes for service models

Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
Change-Id: I425794e060f352ccc3788c0123b1f50c832b89dc

10 years agopyang fixes for statistics module 02/4402/2
Prasanna Huddar [Mon, 20 Jan 2014 03:31:52 +0000 (19:31 -0800)]
pyang fixes for statistics module

Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
Change-Id: I7dd4c3c5bb5478abe02bf744a99163f9d76680f3

10 years agopyang error fixes for management models. 01/4401/3
Prasanna Huddar [Mon, 20 Jan 2014 03:25:38 +0000 (19:25 -0800)]
pyang error fixes for management models.
Error fixed:
   name should be same as module name.
   all warning removed.

Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
Change-Id: Ic2f510fb0a5618faaedfa396ff9e13be4f206c59

10 years agoDo not wait for non-existing modules 99/4399/1
Robert Varga [Sun, 19 Jan 2014 13:43:18 +0000 (14:43 +0100)]
Do not wait for non-existing modules

The two capabilities removed are exposed from bgpcep concepts, so md-sal
configuration should not depend on them.

Change-Id: Id59ebc9af525b6b13becf46e006183ef34f511e5
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agorun.sh: fix -status command exit codes 79/4379/1
Chris Wright [Sun, 19 Jan 2014 07:37:05 +0000 (23:37 -0800)]
run.sh: fix -status command exit codes

Currently -status command exits with exit code 0 to represent both
'running' and 'not running' state when pidfile is found and -1 when
pidfile is not found (likely not running).  Overloading exit code 0 makes
wrapper scripts incapable of differentiating 'running' from 'not running.'
Make 0 == running, 1 == not running, and -1 likely not running.

Change-Id: Ic258ab34e03ae1777b00bab75d1cfe30bc6c90da
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
10 years agoMerge "Move protocol framework from BGPCEP project"
Ed Warnicke [Sat, 18 Jan 2014 20:00:25 +0000 (20:00 +0000)]
Merge "Move protocol framework from BGPCEP project"

10 years agoMerge "Fix thread safety issue with StartExi operation"
Ed Warnicke [Sat, 18 Jan 2014 19:10:44 +0000 (19:10 +0000)]
Merge "Fix thread safety issue with StartExi operation"

10 years agoMove protocol framework from BGPCEP project 15/4315/5
Robert Varga [Thu, 16 Jan 2014 10:58:29 +0000 (11:58 +0100)]
Move protocol framework from BGPCEP project

This moves the current parts of BGPCEP protocol framework into the
controller project, eliminating the circular dependency forced by
netconf being resident in this project.

Change-Id: I7c8457ebaec5c261217587d60a95a7b35e473d1e
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoRemove dependecies on bgpcep concepts/util 97/4297/7
Robert Varga [Thu, 16 Jan 2014 09:49:24 +0000 (10:49 +0100)]
Remove dependecies on bgpcep concepts/util

Change-Id: I2d1c1175ee06e77e0d6e3a31b98cd44843572bc6
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge "Do not instantiate constant lists on each message"
Ed Warnicke [Sat, 18 Jan 2014 18:33:04 +0000 (18:33 +0000)]
Merge "Do not instantiate constant lists on each message"

10 years agoMerge "Switch to using yangtools version of mockito-configuration"
Ed Warnicke [Sat, 18 Jan 2014 18:32:37 +0000 (18:32 +0000)]
Merge "Switch to using yangtools version of mockito-configuration"

10 years agoMerge "Fixed NetconfDevice to store capability info."
Ed Warnicke [Sat, 18 Jan 2014 17:52:45 +0000 (17:52 +0000)]
Merge "Fixed NetconfDevice to store capability info."

10 years agoMerge "increased test coverage"
Ed Warnicke [Sat, 18 Jan 2014 17:50:19 +0000 (17:50 +0000)]
Merge "increased test coverage"

10 years agoMerge "Switch testing configuration for md-sal tests to xml."
Ed Warnicke [Sat, 18 Jan 2014 17:49:44 +0000 (17:49 +0000)]
Merge "Switch testing configuration for md-sal tests to xml."

10 years agoMerge "Add deprecated warning for plaintext configuration files in config persister"
Ed Warnicke [Sat, 18 Jan 2014 17:49:16 +0000 (17:49 +0000)]
Merge "Add deprecated warning for plaintext configuration files in config persister"

10 years agoMerge "Update ietf yang dependencies from rev130712 to rev131021."
Ed Warnicke [Sat, 18 Jan 2014 17:43:25 +0000 (17:43 +0000)]
Merge "Update ietf yang dependencies from rev130712 to rev131021."

10 years agoMerge "Rename initial config files from *.xml.conf to *.xml"
Ed Warnicke [Sat, 18 Jan 2014 17:43:11 +0000 (17:43 +0000)]
Merge "Rename initial config files from *.xml.conf to *.xml"

10 years agoMerge "removing the old FRM code"
Ed Warnicke [Sat, 18 Jan 2014 17:01:47 +0000 (17:01 +0000)]
Merge "removing the old FRM code"