controller.git
6 years agoMerge "Prevent ConfigPusher from killing its thread" jenkins-controller-bulk-release-prepare-only-2-14 jenkins-controller-bulk-release-prepare-only-2-15 jenkins-controller-bulk-release-prepare-only-2-16
Ed Warnicke [Mon, 27 Jan 2014 14:43:33 +0000 (14:43 +0000)]
Merge "Prevent ConfigPusher from killing its thread"

6 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

6 years agoPrevent ConfigPusher from killing its thread 82/4882/1
Robert Varga [Mon, 27 Jan 2014 13:51:10 +0000 (14:51 +0100)]
Prevent ConfigPusher from killing its thread

The original code promoted pretty much every error to an unhandled
RuntimeException. Use the exceptions already in place to handle erros
occuring. Also handle IO error as a retriable operation.

Change-Id: I666d66e89993f0f9d18afb6ec680e64a50cefec1
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoMerge "Fix RPC forwarding related bugs in Binding Independent Connector" jenkins-controller-bulk-release-prepare-only-2-13
Ed Warnicke [Mon, 27 Jan 2014 12:33:27 +0000 (12:33 +0000)]
Merge "Fix RPC forwarding related bugs in Binding Independent Connector"

6 years agoMerge "Adding a couple of ovsdb config variables to the config.ini" jenkins-controller-bulk-release-prepare-only-2-12
Giovanni Meo [Mon, 27 Jan 2014 09:27:57 +0000 (09:27 +0000)]
Merge "Adding a couple of ovsdb config variables to the config.ini"

6 years agoAdding a couple of ovsdb config variables to the config.ini 49/4849/2
Madhu Venugopal [Mon, 27 Jan 2014 09:07:03 +0000 (01:07 -0800)]
Adding a couple of ovsdb config variables to the config.ini

Change-Id: I5c524121130845bd8d42f545430f5f06293cfc25
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
6 years agoMigrate bundles' configuration mgmt to ConfigurationService 46/4846/1
Alessandro Boch [Mon, 27 Jan 2014 08:11:30 +0000 (00:11 -0800)]
Migrate bundles' configuration mgmt to ConfigurationService

- Change current logic where read/save config is completely managed by each bundle,
  with moving it to configuration manager. This decoupling will allow configuration
  manager to decide how to persist the bundles' configurations to disk, withouth
  necessarely depend on java serialization as today controlelr does.
  Also now file names can be static and each bundle does not need to track the container
  context in the file name (which was lame). This allow controller to erase container
  startup files on container removal, which was not possible today.
- Global and in container configuration services to expose
  two APIs for the other bundles to retrieve and save their config
- Per container startup files organized in directories (directory name = container name)
- Container startup directory removed on container removal, and created on container creation if not present

Change-Id: I58c283eb796cf2a60466a97162428a8c2ae478ae
Signed-off-by: Alessandro Boch <aboch@cisco.com>
6 years agoFix for dry run 37/4837/4 jenkins-controller-bulk-release-prepare-only-2-11
Ed Warnicke [Mon, 27 Jan 2014 03:18:34 +0000 (03:18 +0000)]
Fix for dry run

Removed unneeded variables from commons/opendaylight/pom.xml
Expanded dependencyManagement in commons/opendaylight/pom.xml
Added explicte dependency on sanitytest to distribution pom.xml
Fixed dependencies in two integration tests
Removed module archetypes from pom.xml
Moved third-party/ganymed build from netconf to root pom.xml

Change-Id: Id4d1586bd86f375fa2bd4b64faf28682d402e4e9
Signed-off-by: Ed Warnicke <eaw@cisco.com>
6 years agoMerge "One more fix to pass release-prepareonly"
Alessandro Boch [Mon, 27 Jan 2014 03:40:40 +0000 (03:40 +0000)]
Merge "One more fix to pass release-prepareonly"

6 years agoMerge "Gerrit contains following fixes: 1) Fix for bug 284 - Added custom ip matching...
Ed Warnicke [Sun, 26 Jan 2014 23:33:06 +0000 (23:33 +0000)]
Merge "Gerrit contains following fixes: 1) Fix for bug 284 - Added custom ip matching method to compare ip addresses with mask 2) Fix for bug 286 3) Fix for bug 379"

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

6 years agoBulk-add copyright headers to java files 34/4834/2
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>
6 years agoBulk-add copyright headers to .xtend files 35/4835/2
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>
6 years agoMerge "Self assign controller MAC when cannot retrieve one from host"
Giovanni Meo [Sun, 26 Jan 2014 23:03:38 +0000 (23:03 +0000)]
Merge "Self assign controller MAC when cannot retrieve one from host"

6 years agoMerge "Add a the logger config for debugging schema loading"
Ed Warnicke [Sun, 26 Jan 2014 22:46:52 +0000 (22:46 +0000)]
Merge "Add a the logger config for debugging schema loading"

6 years agoMerge "Improve logging to indicate when configuration has been pushed"
Ed Warnicke [Sun, 26 Jan 2014 22:46:43 +0000 (22:46 +0000)]
Merge "Improve logging to indicate when configuration has been pushed"

6 years agoSelf assign controller MAC when cannot retrieve one from host 30/4830/1
Alessandro Boch [Sun, 26 Jan 2014 22:10:35 +0000 (14:10 -0800)]
Self assign controller MAC when cannot retrieve one from host

- When Switch Manager is not able to retrieve the list of the host
  network interfaces, self assign a custom MAC address.
  This is a quick fix for Hydrogen release. User can still
  overwrite the custom MAC with the one of his choice via
  switchmanager REST API

Change-Id: I7a76107fc970e8dead649ac9e8703533921c8d30
Signed-off-by: Alessandro Boch <aboch@cisco.com>
6 years agoChanged multimaps to synchronized multimaps 26/4826/2
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>
6 years agoMerge "Instance identifier support"
Ed Warnicke [Sun, 26 Jan 2014 20:56:12 +0000 (20:56 +0000)]
Merge "Instance identifier support"

6 years agoImprove logging to indicate when configuration has been pushed 24/4824/1
Robert Varga [Sun, 26 Jan 2014 20:42:27 +0000 (21:42 +0100)]
Improve logging to indicate when configuration has been pushed

Change-Id: I1abe5cfc6704300fba12785edda94a2f24aad562
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoGerrit contains following fixes: 22/4822/1
Anil Vishnoi [Sun, 26 Jan 2014 14:17:19 +0000 (19:47 +0530)]
Gerrit contains following fixes:
1) Fix for bug 284 - Added custom ip matching method to compare ip addresses with mask
2) Fix for bug 286
3) Fix for bug 379

Change-Id: I64b36a817eab6654d24b3f91835cdc068f19c401
Signed-off-by: Anil Vishnoi <avishnoi@in.ibm.com>
6 years agoAdd a the logger config for debugging schema loading 21/4821/1
Robert Varga [Sun, 26 Jan 2014 19:29:45 +0000 (20:29 +0100)]
Add a the logger config for debugging schema loading

Change-Id: Ie2bc0d4f9e6c3005eeaf1738dfdba18e4586d30f
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoMerge "Improve client logging"
Ed Warnicke [Sun, 26 Jan 2014 18:41:43 +0000 (18:41 +0000)]
Merge "Improve client logging"

6 years agoInstance identifier support 75/4575/7
Martin Sunal [Sat, 25 Jan 2014 14:03:11 +0000 (15:03 +0100)]
Instance identifier support

- codec for instance identifier (deserializer, serializer) was added
- instance identifier from XML and JSON files to simple node
- instance identifier from simple node to XML and JSON
- corrected augments with the same names

Change-Id: Iff49aedd209e61fb15e4a7bee61a2c9611c25355
Signed-off-by: Martin Sunal <msunal@cisco.com>
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
6 years agoFix RPC forwarding related bugs in Binding Independent Connector 50/4650/2
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>
6 years agoMerge "Minor fixes in md-sal and config."
Ed Warnicke [Sun, 26 Jan 2014 17:20:26 +0000 (17:20 +0000)]
Merge "Minor fixes in md-sal and config."

6 years agoOne more fix to pass release-prepareonly 31/4831/1
Giovanni Meo [Sun, 26 Jan 2014 15:02:09 +0000 (16:02 +0100)]
One more fix to pass release-prepareonly

Add sanitytest as a dependency of the distribution else release would
fail

Change-Id: I69fa09c7f00b873586def2ba1452def3db3cb10f
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
6 years agoMerge "Turned down some logging from INFO to DEBUG in StatsAdapter"
Giovanni Meo [Sun, 26 Jan 2014 14:53:55 +0000 (14:53 +0000)]
Merge "Turned down some logging from INFO to DEBUG in StatsAdapter"

6 years agoAdded listener registration when not reusing global instance 92/4792/1 jenkins-controller-bulk-release-prepare-only-2-10
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>
6 years agoResolve the service reference before intantiating proxy for it 90/4790/2
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>
6 years agoTurned down some logging from INFO to DEBUG in StatsAdapter 87/4787/3
Ed Warnicke [Sun, 26 Jan 2014 06:42:50 +0000 (00:42 -0600)]
Turned down some logging from INFO to DEBUG in StatsAdapter

Change-Id: Ibc5b6b766d99f2044baa147b0985c293778d5041
Signed-off-by: Ed Warnicke <eaw@cisco.com>
6 years agoFixed some exceptions in the Adapters 86/4786/2
Ed Warnicke [Sun, 26 Jan 2014 06:13:56 +0000 (00:13 -0600)]
Fixed some exceptions in the Adapters

Change-Id: Icf4c0802a41bc68026117cff38d080aeea87aef1
Signed-off-by: Ed Warnicke <eaw@cisco.com>
6 years agoDummy commit 85/4785/1
Ed Warnicke [Sun, 26 Jan 2014 05:35:12 +0000 (05:35 +0000)]
Dummy commit

Change-Id: I662e2d15d7fcc26157c963634a3d748974ad006c
Signed-off-by: Ed Warnicke <eaw@cisco.com>
6 years agoMerge "Reduce verbosity/criticality of inconsistent yangstore messages"
Ed Warnicke [Sun, 26 Jan 2014 03:41:33 +0000 (03:41 +0000)]
Merge "Reduce verbosity/criticality of inconsistent yangstore messages"

6 years agoMerge "Add support for identity-ref config attributes to config/netconf subsystem"
Ed Warnicke [Sun, 26 Jan 2014 03:41:08 +0000 (03:41 +0000)]
Merge "Add support for identity-ref config attributes to config/netconf subsystem"

6 years agoMerge "Fix for bug - 369 Minor fix in building NodeConnector for AD-SAL Output action"
Ed Warnicke [Sun, 26 Jan 2014 03:27:28 +0000 (03:27 +0000)]
Merge "Fix for bug - 369 Minor fix in building NodeConnector for AD-SAL Output action"

6 years agoReduce verbosity/criticality of inconsistent yangstore messages 49/4749/6
Robert Varga [Fri, 24 Jan 2014 23:40:04 +0000 (00:40 +0100)]
Reduce verbosity/criticality of inconsistent yangstore messages

Directs yangtools warnings into the logfile and updates yangstore
messages such that we know when the store reaches consistent state after
being inconsistent.

Change-Id: Ica26af53ba7e39329e32014c46564adc793bbdfb
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoAdd support for identity-ref config attributes to config/netconf subsystem 83/4483/16
Robert Varga [Fri, 24 Jan 2014 10:53:13 +0000 (11:53 +0100)]
Add support for identity-ref config attributes to config/netconf subsystem

Change-Id: I79d5147f1d6bb1acd6b5a374bb76f48b6a3aaf55
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoUpdate test to be more careful and add logs 73/4773/2
Robert Varga [Sat, 25 Jan 2014 22:05:25 +0000 (23:05 +0100)]
Update test to be more careful and add logs

Change-Id: I5806fc866ced9b6f67157ad10154239a0b13c5e5
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoFix for bug - 369 79/4779/1
Anil Vishnoi [Sat, 25 Jan 2014 19:36:24 +0000 (01:06 +0530)]
Fix for bug - 369
Minor fix in building NodeConnector for AD-SAL Output action

Change-Id: I9603a864a2f80983b0e5278ab7d36cc3892ac015
Signed-off-by: Anil Vishnoi <avishnoi@in.ibm.com>
6 years agoMerge "Turned down some logs in StatisticsProvider from INFO to DEBUG"
Madhu Venugopal [Sat, 25 Jan 2014 23:47:41 +0000 (23:47 +0000)]
Merge "Turned down some logs in StatisticsProvider from INFO to DEBUG"

6 years agoMerge "Fix JMX plugin mismatch with yangtools"
Ed Warnicke [Sat, 25 Jan 2014 23:45:07 +0000 (23:45 +0000)]
Merge "Fix JMX plugin mismatch with yangtools"

6 years agoFix JMX plugin mismatch with yangtools 78/4778/1
Robert Varga [Sat, 25 Jan 2014 23:14:05 +0000 (00:14 +0100)]
Fix JMX plugin mismatch with yangtools

https://git.opendaylight.org/gerrit/#/c/4775/ introduced an incompatible
StaticLoggerBinder to the classpath, so make the same change here.

Change-Id: I6255c0ea46768af9fba1196842253ea78b745f8e
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoTurned down some logs in StatisticsProvider from INFO to DEBUG 71/4771/3
Ed Warnicke [Sat, 25 Jan 2014 21:31:11 +0000 (15:31 -0600)]
Turned down some logs in StatisticsProvider from INFO to DEBUG

Change-Id: I34729faa14d81e902add8acd59e2bfc895ddd87e
Signed-off-by: Ed Warnicke <eaw@cisco.com>
6 years agoRemove clustered MD-SAL/datastore from distribution 77/4777/1
Robert Varga [Sat, 25 Jan 2014 22:31:22 +0000 (23:31 +0100)]
Remove clustered MD-SAL/datastore from distribution

It is not being built, so attempting to distribute it would result in
release failure in the controller project.

Change-Id: I4e713c20c6cc9712cbc2baf04dee51812df542ca
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoBug 319: Fixed two-phase commit verification of data. 34/4734/4
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>
6 years agoExtract dom-serializer-api|impl from binding-broker-impl 93/4593/9
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>
6 years agoImprove client logging 68/4768/2
Robert Varga [Sat, 25 Jan 2014 15:47:26 +0000 (16:47 +0100)]
Improve client logging

This logs the cause of the failure to instantiate client and excalates
it to info if it's not done in 30 attempts.

Change-Id: Ibd5ccd657becb1aafeb816e822708e605cc0144a
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoMinor fix in flow IP Matching 66/4766/2 jenkins-controller-bulk-release-prepare-only-2-9
Anil Vishnoi [Sat, 25 Jan 2014 12:25:53 +0000 (17:55 +0530)]
Minor fix in flow IP Matching

Change-Id: I458425ec4482665a29b56012ec91610346eac378
Signed-off-by: Anil Vishnoi <avishnoi@in.ibm.com>
6 years agoMerge "Gerrit contains following minor enhancements: 1) Send statistics requests...
Ed Warnicke [Sat, 25 Jan 2014 05:59:32 +0000 (05:59 +0000)]
Merge "Gerrit contains following minor enhancements: 1) Send statistics requests whenever new flow capable node connects to the controller 2) Clean up transaction-id cache for expired Ids 3) Remove Tx id when last part of multipart response received."

6 years agoMerge "fix for frm to not act on duplicate mode change notifications" jenkins-controller-bulk-release-prepare-only-2-7 jenkins-controller-bulk-release-prepare-only-2-8
Alessandro Boch [Sat, 25 Jan 2014 04:43:07 +0000 (04:43 +0000)]
Merge "fix for frm to not act on duplicate mode change notifications"

6 years agoMerge "Relaxing a strict check in updateNode in SwitchManager to handle a condition...
Ed Warnicke [Sat, 25 Jan 2014 04:39:16 +0000 (04:39 +0000)]
Merge "Relaxing a strict check in updateNode in SwitchManager to handle a condition in which the adaptor fails to call the addNode."

6 years agoSmall fix to finally fix dryrun. 58/4758/1
Ed Warnicke [Sat, 25 Jan 2014 03:54:07 +0000 (21:54 -0600)]
Small fix to finally fix dryrun.

Turns out that the lack of directory hiearchy matching
our pom hierarchy requires some redeclaration of
properties.

Change-Id: I5b608ba9599ac5d9d54d1898f4f45f68001ada5e
Signed-off-by: Ed Warnicke <eaw@cisco.com>
6 years agofix for frm to not act on duplicate mode change notifications 40/4740/3
Asad Ahmed [Fri, 24 Jan 2014 21:53:59 +0000 (13:53 -0800)]
fix for frm to not act on duplicate mode change notifications

Change-Id: If3ec14399bd0fc52a26463f901967b6708b7f352
Signed-off-by: Asad Ahmed <asaahmed@cisco.com>
6 years agoRelaxing a strict check in updateNode in SwitchManager to handle a condition in which... 50/4750/1
Madhu Venugopal [Sat, 25 Jan 2014 00:04:27 +0000 (16:04 -0800)]
Relaxing a strict check in updateNode in SwitchManager to handle a condition in which the adaptor fails to call the addNode.

The existing ADSAL code is already robust enough to handle the scenario of NodeProps not containing the a node Key.
Also, there are cases in which an application might just want to see an update event for processing
(especially when the addNode events are missing).

Change-Id: I6561f2f34220b2372b142307754f086a2abe42fd
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
6 years agoGerrit contains following minor enhancements: 48/4748/1
Anil Vishnoi [Thu, 23 Jan 2014 09:13:43 +0000 (14:43 +0530)]
Gerrit contains following minor enhancements:
1) Send statistics requests whenever new flow capable node connects to the controller
2) Clean up transaction-id cache for expired Ids
3) Remove Tx id when last part of multipart response received.

Change-Id: I4055b7e7ad10a67e78bafd3b977db642fe5b1ee3
Signed-off-by: Anil Vishnoi <avishnoi@in.ibm.com>
6 years agoMerge "Fix for NullPointerException" jenkins-controller-bulk-release-prepare-only-2-5 jenkins-controller-bulk-release-prepare-only-2-6
Jason Ye [Fri, 24 Jan 2014 21:16:31 +0000 (21:16 +0000)]
Merge "Fix for NullPointerException"

6 years agoSmall fix for version skew to fix dryrun 35/4735/1
Ed Warnicke [Fri, 24 Jan 2014 19:45:23 +0000 (13:45 -0600)]
Small fix for version skew to fix dryrun

Change-Id: Ie54347a79a11e06c3c33cdfae85a837ea5927365
Signed-off-by: Ed Warnicke <eaw@cisco.com>
6 years agoMerge "Remove dependency on Exificient due to licensing incompatibility" jenkins-controller-bulk-release-prepare-only-2-4
Giovanni Meo [Fri, 24 Jan 2014 15:50:47 +0000 (15:50 +0000)]
Merge "Remove dependency on Exificient due to licensing incompatibility"

6 years agoMerge "Pull zeromq initial configuration out of 01 config file"
Ed Warnicke [Fri, 24 Jan 2014 15:29:44 +0000 (15:29 +0000)]
Merge "Pull zeromq initial configuration out of 01 config file"

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

6 years agoMinor fixes in md-sal and config. 99/4699/3
Martin Vitez [Fri, 24 Jan 2014 12:06:56 +0000 (13:06 +0100)]
Minor fixes in md-sal and config.

- extended Export-Package declaration in config/shutdown-api.
- added CodeGenerator in md-sal/sal-binding-config
- fixed version of yangtools in md-sal/sal-remote

Change-Id: Ica94451df8c6ba671480d17e6d7ab257c53ec017
Signed-off-by: Martin Vitez <mvitez@cisco.com>
6 years agoMerge "Yangtools version police: remove references to non-current versions"
Giovanni Meo [Fri, 24 Jan 2014 14:50:51 +0000 (14:50 +0000)]
Merge "Yangtools version police: remove references to non-current versions"

6 years agoMerge "Added test for MouontPoints and URI"
Ed Warnicke [Fri, 24 Jan 2014 14:18:24 +0000 (14:18 +0000)]
Merge "Added test for MouontPoints and URI"

6 years agoMerge "Reduce informations from logging.bridge"
Ed Warnicke [Fri, 24 Jan 2014 14:17:02 +0000 (14:17 +0000)]
Merge "Reduce informations from logging.bridge"

6 years agoRemove dependency on Exificient due to licensing incompatibility 01/4701/2
Robert Varga [Fri, 24 Jan 2014 10:57:06 +0000 (11:57 +0100)]
Remove dependency on Exificient due to licensing incompatibility

Exificient is licensed under GPLv2 with no intention to add the
classpath exception (witnessed in at
http://sourceforge.net/p/exificient/discussion/856595/thread/6017013e/).
Remove all dependencies on it, pending reimplementation using a more
open library (OpenEXI looks like a good candidate).

Change-Id: I589367be593ebc275c7551d9e6008b74d8461de5
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoMake MD-SAL use opendaylight parent 78/4078/8
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>
6 years agoYangtools version police: remove references to non-current versions 00/4700/1
Robert Varga [Fri, 24 Jan 2014 12:37:37 +0000 (13:37 +0100)]
Yangtools version police: remove references to non-current versions

Unifies the version property to yangtools.version, force restconf to use
the versions specified in the md-sal parent and bump its reference to
restconf-api to 0.6.0-SNAPSHOT.

Change-Id: I7b4820cf3995cd3dd3f108dd8b935ee38c62ea56
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoPull zeromq initial configuration out of 01 config file 98/4698/1
Maros Marsalek [Fri, 24 Jan 2014 12:08:36 +0000 (13:08 +0100)]
Pull zeromq initial configuration out of 01 config file

Change-Id: I52e5fefb08e3c97c4a6c235f0e158d72ccfa0766
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
6 years agomd-sal: sync commons-lang dependency 51/4551/2
Chris Wright [Wed, 22 Jan 2014 07:47:44 +0000 (23:47 -0800)]
md-sal: sync commons-lang dependency

topology-lldp-discovery is currently specifying 2.6 commons-lang
dependency whereas the controller is dependent on 2.4.  Bring md-sal in
sync w/ the controller by dropping back to 2.4.

Change-Id: Ifb340ceef25f866cf606c4733ade80e78aea0e31
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
6 years agoAdded test for MouontPoints and URI 72/4572/2
Ladislav Borak [Wed, 22 Jan 2014 12:05:42 +0000 (13:05 +0100)]
Added test for MouontPoints and URI

Change-Id: Ibb18ac011f0523e18595e4fff0900a492d3c5e25
Signed-off-by: Ladislav Borak <lborak@cisco.com>
6 years agoMerge "Remove powermock dependency from md-sal." jenkins-controller-bulk-release-prepare-only-2-3
Giovanni Meo [Fri, 24 Jan 2014 10:03:28 +0000 (10:03 +0000)]
Merge "Remove powermock dependency from md-sal."

6 years agoMerge "Provide single point for enforcing config naming convention"
Giovanni Meo [Fri, 24 Jan 2014 09:59:35 +0000 (09:59 +0000)]
Merge "Provide single point for enforcing config naming convention"

6 years agoRemove powermock dependency from md-sal. 86/4686/1
Tomas Olvecky [Fri, 24 Jan 2014 09:29:36 +0000 (10:29 +0100)]
Remove powermock dependency from md-sal.

Remove unused dependency.

Change-Id: Iaba9344297693a2052ae849f3377e130486a4298
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
6 years agoReduce informations from logging.bridge 85/4685/1
Giovanni Meo [Fri, 24 Jan 2014 08:53:03 +0000 (09:53 +0100)]
Reduce informations from logging.bridge

Logging bridge maps 1-1 the log level from OSGi logging service to
slf4j. By design the OSGi framework set al INFO level all the modules
start and stop, which by pure chance, is also inline with our
guideline. Even though the compliance is satisfied there is a
usability issue because the console is flooded with many start stop
events given there are many bundles hence setting to WARN level the
log level for logging.bridge

Change-Id: I0dc484c49bd5966ad7dcdc01d55b9c28cfcf8217
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
6 years agoProvide single point for enforcing config naming convention 86/4286/7
Alessandro Boch [Tue, 21 Jan 2014 17:20:23 +0000 (09:20 -0800)]
Provide single point for enforcing config naming convention

- Provide generic ConfigurationObject class which other will extend
- Class provides method for validate string based on default private regex
- Regex enforces 1 to 256 alphanumeric chars with addition of -+/*.()[]@
- Default regex can be overwritten with one set in config.ini
- Have configs which need name validation to extend new class.
  Change is bacward compatible, existing config file are correctly
  deserialized

Change-Id: I17714fc6b0462fc2a85e9a6d8f44fd7f0bbda188
Signed-off-by: Alessandro Boch <aboch@cisco.com>
6 years agoSmall fix to make dryrun happy. 78/4678/1
Ed Warnicke [Fri, 24 Jan 2014 07:55:09 +0000 (01:55 -0600)]
Small fix to make dryrun happy.

Change-Id: I28a55d464c1e9ce4201ab3e44683982a1f525601
Signed-off-by: Ed Warnicke <eaw@cisco.com>
6 years agoMerge "Binary masks in match types yang model changed to numbers. Plugin code review... jenkins-controller-bulk-release-prepare-only-2-1 jenkins-controller-bulk-release-prepare-only-2-2
Ed Warnicke [Fri, 24 Jan 2014 04:05:20 +0000 (04:05 +0000)]
Merge "Binary masks in match types yang model changed to numbers. Plugin code review corresponding to this change: https://git.opendaylight.org/gerrit/#/c/4638/"

6 years agoBinary masks in match types yang model changed to numbers. 35/4635/3
Ed Warnicke [Thu, 23 Jan 2014 12:35:04 +0000 (18:05 +0530)]
Binary masks in match types yang model changed to numbers.
Plugin code review corresponding to this change: https://git.opendaylight.org/gerrit/#/c/4638/

Patch3: Fixed masks to use the same type as values (MacAddress for MacAddress and
IPv6FlowLabel for IPv6FlowLabel) rather than arbitrary uint* values.

Signed-off-by: Deepthi V V <deepthi.v.v@ericsson.com>
Change-Id: Icbc84312c0a2f26738ab9d84f6af34783c4aad5d
Signed-off-by: Ed Warnicke <eaw@cisco.com>
6 years agoMerge "Fix config transaction handling in netconf."
Ed Warnicke [Thu, 23 Jan 2014 23:42:28 +0000 (23:42 +0000)]
Merge "Fix config transaction handling in netconf."

6 years agoMerge "sal-remote yang"
Ed Warnicke [Thu, 23 Jan 2014 23:42:08 +0000 (23:42 +0000)]
Merge "sal-remote yang"

6 years agoMerge "Provide callback feature when modal is visible"
Andrew Kim [Thu, 23 Jan 2014 23:33:23 +0000 (23:33 +0000)]
Merge "Provide callback feature when modal is visible"

6 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>
6 years agoMerge "Add support to resolve docker container names for clustering support. Currentl...
Giovanni Meo [Thu, 23 Jan 2014 20:29:58 +0000 (20:29 +0000)]
Merge "Add support to resolve docker container names for clustering support. Currently on works when all containers are on a single docker host"

6 years agoAdd support to resolve docker container names for clustering support. Currently on... 13/4613/2
David K. Bainbridge [Thu, 23 Jan 2014 00:36:01 +0000 (16:36 -0800)]
Add support to resolve docker container names for clustering support. Currently on works when all containers are on a single docker host

Change-Id: Ie141e80712e15e037d39ae788a739cb4d51db403
Signed-off-by: David K. Bainbridge <dbainbri@ciena.com>
6 years agoFix for NullPointerException 62/4662/1
Pramila Singh [Thu, 23 Jan 2014 19:44:15 +0000 (11:44 -0800)]
Fix for NullPointerException

Change-Id: Id272d14bc1b248780ce533af00073c104a2503b0
Signed-off-by: Pramila Singh <pramisin@cisco.com>
6 years agoFix config transaction handling in netconf. 58/4658/1
Tomas Olvecky [Thu, 23 Jan 2014 17:20:29 +0000 (18:20 +0100)]
Fix config transaction handling in netconf.

When config manager fails a transaction because of optimistic lock failure, netconf
must clean up this transaction as well. Fix TransactionProvider to abort transaction
if commit fails. Only exception is ValidationException where user should
have an option to fix the configuration and commit again.

Turn off netconf client reuse in persister: this narrows the possibility of
hitting concurrent modification with other config transactions. Each retry
to push a snapshot is now done with a newly obtained client, so new transaction
will be started each time.

Change-Id: I4d49fea10a682e4d7cd85ab49f2b78be63a84c02
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
6 years agosal-remote yang 28/4228/8
Martin Bobak [Tue, 14 Jan 2014 15:28:24 +0000 (16:28 +0100)]
sal-remote yang

Change-Id: I7aaa6b341ce3199b3f90ed59b5d64f470f80d7b8
Signed-off-by: Martin Bobak <mbobak@cisco.com>
6 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>
6 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>
6 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."

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

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

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

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

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

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

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.