controller.git
10 years agoBug 500: DOMStore SPI 04/5604/7
Robert Varga [Tue, 11 Mar 2014 18:20:00 +0000 (19:20 +0100)]
Bug 500: DOMStore SPI

This is the API which needs to be implemented by a single logical tree
store, such that it can be plugged into the in-memory datastore
prototype.

The prototype keeps one logical data store for each of operational and
configuration subtrees. A front-end (client-visible) transaction results
in two back-end (data store) transactions. State transitions between the
three are coordinated using three-phase-commit protocol (3PC), with the
frontend transaction acting as the coordinator and the backend
transactions acting as cohorts.

Change-Id: Idfce04553e7c36ae6a1bb8c8b2699ca78c458bb4
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoBug 500: Type capture for DOM and Binding APIs 13/5613/4
Robert Varga [Wed, 12 Mar 2014 14:54:52 +0000 (15:54 +0100)]
Bug 500: Type capture for DOM and Binding APIs

This commit introduces the type captures of new interfaces introduced in
the preceding commit.

Change-Id: I8da8ecd0a0404e89ae20d0d85894fc9da59e9903
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoBug 500: Updated data APIs with new concepts. 95/5595/9
Robert Varga [Tue, 11 Mar 2014 12:28:59 +0000 (13:28 +0100)]
Bug 500: Updated data APIs with new concepts.

  - Logical Datastore Type idenfier
  - Asynchronous Data Broker contracts - some data broker contracts
    were synchronous which could misslead consumers of APIs

  - New Transaction subtypes with support for Asynchronous reads
    - read-only transaction
    - write-only transaction
    - read-write transaction
  - Scoped Data Change Publisher - client code is able
    to specify scope of changes and logical datastore
    type on which it is listening.

Change-Id: I2367e7df633dd07b08550014bed7a35c3e88a7ba
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge "1. Delete TLS KeyStore password from system property so that it won't be shown...
Chi-Vien Ly [Wed, 26 Mar 2014 21:25:39 +0000 (21:25 +0000)]
Merge "1. Delete TLS KeyStore password from system property so that it won't be shown by getprop command. 2. Add a default location for TLS KeyStore files when the arguments are not provided."

10 years agoAdd Flow actions to UI 68/5768/4
Andrew Kim [Tue, 25 Mar 2014 21:16:37 +0000 (16:16 -0500)]
Add Flow actions to UI

Flow UI now exposes only supported flow actions for particular network element

Change-Id: Ic7e251628192a48d47350d39ecf007df25cfeb37
Signed-off-by: Andrew Kim <andrekim@cisco.com>
10 years ago1. Delete TLS KeyStore password from system property so that it won't be shown by... 64/5764/1
Jason Ye [Tue, 25 Mar 2014 23:53:36 +0000 (16:53 -0700)]
1. Delete TLS KeyStore password from system property so that it won't be shown by getprop command.
2. Add a default location for TLS KeyStore files when the arguments are not provided.

Change-Id: I017d20d460f755ddb94a18c8a30c037aec76de54
Signed-off-by: Jason Ye <yisye@cisco.com>
10 years agoUpdate to use yang concepts 57/5757/1
Robert Varga [Tue, 25 Mar 2014 12:00:56 +0000 (13:00 +0100)]
Update to use yang concepts

Change-Id: I529ec122c54d51efe10128985e8b1b0cd715461b
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoFix sal-binding-api dependencies 52/5752/1
Robert Varga [Tue, 25 Mar 2014 01:32:15 +0000 (02:32 +0100)]
Fix sal-binding-api dependencies

Remove unused dependencies on sal-common and add used dependencies on
yang concepts and guava.

Change-Id: Ifb2b16f00b9af2bb8716412b4e6d4fa0fd5bdc54
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge "Add MountInstance client documentation and promote to ListenableFuture"
Tony Tkacik [Tue, 25 Mar 2014 05:24:51 +0000 (05:24 +0000)]
Merge "Add MountInstance client documentation and promote to ListenableFuture"

10 years agoMerge "Fix sal-common-api dependencies"
Tony Tkacik [Tue, 25 Mar 2014 05:20:41 +0000 (05:20 +0000)]
Merge "Fix sal-common-api dependencies"

10 years agoMerge "Do not catch Throwables, but rather Exceptions"
Tony Tkacik [Tue, 25 Mar 2014 05:11:38 +0000 (05:11 +0000)]
Merge "Do not catch Throwables, but rather Exceptions"

10 years agoFix sal-common-api dependencies 41/5741/1
Robert Varga [Tue, 25 Mar 2014 01:27:36 +0000 (02:27 +0100)]
Fix sal-common-api dependencies

sal-common-api should not depend on org.osgi.core nor sal-common. Remove
these dependencies and fix users which relied on org.osgi.core being
brought into compilation transitively.

Change-Id: Idf27f78e0c52c8a93e38c1fb7f8bba6615c3b745
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge "Moving simple fwding logic from ARPHandler into SimpleForwarding"
Giovanni Meo [Tue, 25 Mar 2014 01:23:09 +0000 (01:23 +0000)]
Merge "Moving simple fwding logic from ARPHandler into SimpleForwarding"

10 years agoAdd FLOOD_ALL action to FlowConfig 18/5718/1
Andrew Kim [Sun, 23 Mar 2014 01:40:52 +0000 (20:40 -0500)]
Add FLOOD_ALL action to FlowConfig

Change-Id: I8222562e0f76b33f7c992a426f86d912358ed2c1
Signed-off-by: Andrew Kim <andrekim@cisco.com>
10 years agoMoving simple fwding logic from ARPHandler into SimpleForwarding 86/5586/5
Yevgeny Khodorkovsky [Mon, 10 Mar 2014 19:49:39 +0000 (14:49 -0500)]
Moving simple fwding logic from ARPHandler into SimpleForwarding

- Per Colin's idea, moving reactive fwding logic into SimpleForwarding
- SimpleForwarding listens to packet-in. Forwards IP packets
  between known hosts to dest (assuming a simple path will be installed).
- Some cleanup and debug stmts

Change-Id: Ib0f29af34d6dead26f7393b4238d62fe1935ecdf
Signed-off-by: Colin Dixon <ckd@us.ibm.com>
Signed-off-by: Yevgeny Khodorkovsky <ykhodork@cisco.com>
10 years agoFix sal-netconf-connector's pom.xml 97/5697/1
Tomas Olvecky [Thu, 20 Mar 2014 15:10:19 +0000 (16:10 +0100)]
Fix sal-netconf-connector's pom.xml

The offending pom was not configured to use sal generator, so there was no way
how to get required capability for netconf southbound plugin.

Change-Id: I4b266fde7c8f78347138755db8cbbafe7970d584
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoFix sal-remoterpc-connector's Import-Packages. 96/5696/1
Tomas Olvecky [Thu, 20 Mar 2014 13:05:32 +0000 (14:05 +0100)]
Fix sal-remoterpc-connector's Import-Packages.

BND version 2.4.0 produces illegal manifest with the old code - inserts
com.google.common.collect twice. This will propagate as persister failure.
Remove offending line, format distribution.opendaylight pom.xml,
move sal-remoterpc-connector version to common's distribution management.

Change-Id: I2b2a6e81855834648923e1b21e3c443d9ac48562
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoMerge "Fixed the problem in which different containers could have different mac addre...
Alessandro Boch [Thu, 20 Mar 2014 01:14:43 +0000 (01:14 +0000)]
Merge "Fixed the problem in which different containers could have different mac addresses. This caused problems such as a gateway appearing as host, host appearing on isl's etc."

10 years agoFix for Bug #533 86/5686/1
Ryan Moats [Wed, 19 Mar 2014 16:23:07 +0000 (11:23 -0500)]
Fix for Bug #533

Ensure start of Allocation Pool is set properly in all cases

Change-Id: Ie51dd0e019588b2769663b950527b8558db3624d
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
10 years agoDo not catch Throwables, but rather Exceptions 39/5339/6
Robert Varga [Fri, 14 Feb 2014 23:08:05 +0000 (00:08 +0100)]
Do not catch Throwables, but rather Exceptions

This turns catch Throwable into catch Exception, as doing the former
catches Errors, which are documented to be pretty much irrecoverable
conditions. Looking at
http://docs.oracle.com/javase/7/docs/api/java/lang/Error.html non of
these call sites can recover from an Error happening, so they should
never catch them.

Change-Id: I85237594f307a5a8778fb5a63f9dad4d120fc9d7
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoFixed the problem in which different containers could have different mac addresses... 68/5668/2
Asad Ahmed [Tue, 18 Mar 2014 21:06:22 +0000 (14:06 -0700)]
Fixed the problem in which different containers could have different mac addresses. This caused problems such as a gateway appearing as host, host appearing on isl's etc.

Change-Id: I8b9d4f4c632d89a1379f08f281838772379c9d5c
Signed-off-by: Asad Ahmed<asaahmed@cisco.com>
10 years agoMerge "Resolve Bug:448 - Remove yang-store api and impl."
Tony Tkacik [Tue, 18 Mar 2014 10:45:26 +0000 (10:45 +0000)]
Merge "Resolve Bug:448 - Remove yang-store api and impl."

10 years agoMerge "Take advantage of MultipartTransactionAware"
Tony Tkacik [Tue, 18 Mar 2014 10:42:51 +0000 (10:42 +0000)]
Merge "Take advantage of MultipartTransactionAware"

10 years agoAdd MountInstance client documentation and promote to ListenableFuture 22/5622/2
Robert Varga [Thu, 13 Mar 2014 08:23:27 +0000 (09:23 +0100)]
Add MountInstance client documentation and promote to ListenableFuture

This adds documentation to MountInstance interface. Also promote
Future<> to ListenableFuture<>, as there is only a single implementation
anyway.

Change-Id: I9346f1f38c633b32fa7039f143d6c7634cb97359
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoupdate the pom files to enable the nexus repository path to be configured by properti... 19/5619/1
David K. Bainbridge [Wed, 12 Mar 2014 20:16:43 +0000 (13:16 -0700)]
update the pom files to enable the nexus repository path to be configured by properties such that if can be overriden via the command line to support deployment to alternative locations

Change-Id: Ie96244a1a2a3f6b2f3760f366899017a44aa381d
Signed-off-by: David K. Bainbridge <dbainbri@ciena.com>
10 years agoResolve Bug:448 - Remove yang-store api and impl. 98/5598/4
Tomas Olvecky [Mon, 10 Mar 2014 08:56:13 +0000 (09:56 +0100)]
Resolve Bug:448 - Remove yang-store api and impl.

Depends on yangtools commit https://git.opendaylight.org/gerrit/#/c/5579/ .
Instead of having multiple bundle trackers for config and netconf, keep only
one. Each bundle containing yang files should use sal code generator, which
generates YangModuleInfo objects. Using this instead of speculatively having
to parse all current yang files for each adding bundle event allows not having
to deal with broken yang dependencies when bundle events come in wrong order.
Put SchemaContextProvider to OSGi SR in config-manager, so that any bundle
working with yang can use it. This replaces too specific YangStoreService which
was coupled with yang-jmx-generator. Users can listen for changes directly
on OSGi SR - they receive service changed event when yang module is added or
removed.

Change-Id: Iabcb35929a1eeef0df328f3f948d70e1bfcbba0d
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoMerge "Bug 453 - sal-rest-connector doesn't provide stream discovery feature"
Tony Tkacik [Wed, 12 Mar 2014 10:16:42 +0000 (10:16 +0000)]
Merge "Bug 453 - sal-rest-connector doesn't provide stream discovery feature"

10 years agoMerge "Add a container for pass-through netconf access"
Tony Tkacik [Wed, 12 Mar 2014 10:14:45 +0000 (10:14 +0000)]
Merge "Add a container for pass-through netconf access"

10 years agoMerge "Fix clustering versions"
Tony Tkacik [Wed, 12 Mar 2014 10:13:30 +0000 (10:13 +0000)]
Merge "Fix clustering versions"

10 years agoMerge "Fixed whitespace dependent tests in config-persister-directory-adapter"
Tony Tkacik [Wed, 12 Mar 2014 10:11:54 +0000 (10:11 +0000)]
Merge "Fixed whitespace dependent tests in config-persister-directory-adapter"

10 years agoMerge "Use ObjectRegistration instead of Registration"
Tony Tkacik [Wed, 12 Mar 2014 10:01:04 +0000 (10:01 +0000)]
Merge "Use ObjectRegistration instead of Registration"

10 years agoMerge "added generated files to .gitignore"
Tony Tkacik [Wed, 12 Mar 2014 09:56:59 +0000 (09:56 +0000)]
Merge "added generated files to .gitignore"

10 years agoMerge "Fix typos in documentation"
Tony Tkacik [Wed, 12 Mar 2014 09:53:20 +0000 (09:53 +0000)]
Merge "Fix typos in documentation"

10 years agoMerge "Resolve Bug:419. Bump logging bridge reference to 0.4.2-SNAPSHOT."
Tony Tkacik [Wed, 12 Mar 2014 09:51:58 +0000 (09:51 +0000)]
Merge "Resolve Bug:419. Bump logging bridge reference to 0.4.2-SNAPSHOT."

10 years agoFix typos in documentation 07/5607/1
Moiz Raja [Wed, 12 Mar 2014 08:13:38 +0000 (09:13 +0100)]
Fix typos in documentation

Change-Id: I0023e7256f02170c04cc00579ee791f5a3578b1d
Signed-off-by: Moiz Raja <moraja@cisco.com>
10 years agoMerge "Adding some more traces for better debuggability"
Alessandro Boch [Tue, 11 Mar 2014 22:39:44 +0000 (22:39 +0000)]
Merge "Adding some more traces for better debuggability"

10 years agoAdding some more traces for better debuggability 05/5605/2
Asad Ahmed [Tue, 11 Mar 2014 18:03:15 +0000 (11:03 -0700)]
Adding some more traces for better debuggability

Change-Id: I2d342497a9ac52cd7487363411a0ce191581f2a3
Signed-off-by: Asad Ahmed <asaahmed@cisco.com>
10 years agoMerge "Fixed bug in NetUtils.isMulticastMACAddr() caused by sign extension."
Alessandro Boch [Tue, 11 Mar 2014 19:51:33 +0000 (19:51 +0000)]
Merge "Fixed bug in NetUtils.isMulticastMACAddr() caused by sign extension."

10 years agoFixed bug in NetUtils.isMulticastMACAddr() caused by sign extension. 03/5603/2
Shigeru Yasuda [Tue, 11 Mar 2014 16:41:55 +0000 (01:41 +0900)]
Fixed bug in NetUtils.isMulticastMACAddr() caused by sign extension.

This patch fixes a bug that returned false incorrectly when the MSB was set
in the MAC address.

Change-Id: I8d04534962b0a1a585cf0217969a6415f360140b
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoMerge "When node disconnects from master controller, no node takes over"
Alessandro Boch [Tue, 11 Mar 2014 19:05:30 +0000 (19:05 +0000)]
Merge "When node disconnects from master controller, no node takes over"

10 years agoMerge "Topology Manager to avoid redundant edge updates"
Alessandro Boch [Tue, 11 Mar 2014 15:47:57 +0000 (15:47 +0000)]
Merge "Topology Manager to avoid redundant edge updates"

10 years agoAdd a container for pass-through netconf access 29/5529/3
Robert Varga [Tue, 4 Mar 2014 22:50:23 +0000 (23:50 +0100)]
Add a container for pass-through netconf access

Change-Id: I4eeba4266250df9a27412db52b0a6f9ab2d5b42d
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge "Cleanup warnings in restconf-broker NotificationService"
Tony Tkacik [Tue, 11 Mar 2014 11:21:44 +0000 (11:21 +0000)]
Merge "Cleanup warnings in restconf-broker NotificationService"

10 years agoMerge "Prune long-deprecated APIs"
Tony Tkacik [Tue, 11 Mar 2014 11:17:54 +0000 (11:17 +0000)]
Merge "Prune long-deprecated APIs"

10 years agoFixed whitespace dependent tests in config-persister-directory-adapter 63/5563/3
Michal Polkorab [Fri, 7 Mar 2014 10:13:00 +0000 (11:13 +0100)]
Fixed whitespace dependent tests in config-persister-directory-adapter

Change-Id: I487011b2628d1b229d72fce19a37425c6a109a64
Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoWhen node disconnects from master controller, no node takes over 88/5588/2
Yevgeny Khodorkovsky [Tue, 11 Mar 2014 02:15:42 +0000 (19:15 -0700)]
When node disconnects from master controller, no node takes over

- Node connections caches in connection manager were allocated after
  configureInstance call, thus failing CacheUpdateAware registration.

- Fix couple of NPEs in devices.web

Change-Id: I51975a4a984606ecfad8db0941315164eedc83cb
Signed-off-by: Yevgeny Khodorkovsky <ykhodork@cisco.com>
10 years agoTopology Manager to avoid redundant edge updates 75/5575/3
Yevgeny Khodorkovsky [Mon, 10 Mar 2014 06:07:35 +0000 (23:07 -0700)]
Topology Manager to avoid redundant edge updates

- Redundant edge updates (such as in the case of
  cluster switchover) should not be notified to apps/listeners, to avoid
  expensive tasks

Change-Id: I44845d99085771e1dfebd63d12685fd2c2d8260c
Signed-off-by: Yevgeny Khodorkovsky <ykhodork@cisco.com>
10 years agoAdd northbound archetype 85/5585/3
Andrew Kim [Mon, 10 Mar 2014 19:26:52 +0000 (14:26 -0500)]
Add northbound archetype

Change-Id: If7b42ddc1e6053450f8a7b17f3944c7ff026c5c4
Signed-off-by: Andrew Kim <andrekim@cisco.com>
10 years agoFix clustering versions 84/5584/1
Robert Varga [Mon, 10 Mar 2014 19:18:45 +0000 (20:18 +0100)]
Fix clustering versions

This fixes the versions referenced in clustered-data-store and warnings
for overridden versions in sal-remoterpc-connector.

Change-Id: I5c955041e89e1c73986dca3fc541f85ccc6befae
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoUse ObjectRegistration instead of Registration 74/5574/2
Robert Varga [Sun, 9 Mar 2014 18:48:01 +0000 (19:48 +0100)]
Use ObjectRegistration instead of Registration

Registration is becoming a generic concept, not tied to a particular
object. ObjectRegistration succeeds it for uses where you need to a
getInstance() object to get the associated object back. Migrate to using
that to get rid of deprecation warnings.

Drive-by:
- fix raw type use of ServiceRegistration

Change-Id: Ieaf77ab25e5b284a39fa9a6da7b3b101eb3b9e46
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoCleanup warnings in restconf-broker NotificationService 02/5502/4
Robert Varga [Fri, 28 Feb 2014 13:27:51 +0000 (14:27 +0100)]
Cleanup warnings in restconf-broker NotificationService

The registration map is not needed and the executor is not used, so
remove them. Also reuse AbstractListenerRegistration in place of a
custom-coded class.

Change-Id: Ia4060370faa03fb85d9a90471938501a583072d3
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoPrune long-deprecated APIs 01/5501/4
Robert Varga [Fri, 28 Feb 2014 12:42:05 +0000 (13:42 +0100)]
Prune long-deprecated APIs

Prune APIs which have been deprecated well before the Hydrogen release.
No outside users should be relying on them at this point.

Change-Id: I5b966c98733912ece175ce8fa5a4a821c3b2c6d9
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoRemove unused import and raw type references 71/5571/2
Robert Varga [Sun, 9 Mar 2014 13:44:46 +0000 (14:44 +0100)]
Remove unused import and raw type references

Fixes a couple of warnings just by removing imports and adding <?> to
Iterator.

Change-Id: I71f9a1e0176a1a72fb402e972b1e39ac6c1bba0f
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoCleanup AbstractDataTransaction state changes 70/5570/1
Robert Varga [Sun, 9 Mar 2014 10:40:11 +0000 (11:40 +0100)]
Cleanup AbstractDataTransaction state changes

Centralize state to be internal and add time tracking, such that it can
be used in logs and statistics.

Change-Id: Ie4197cd2a10bb6b89931f5ecd9b3cc6dcfbe3011
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoRemove SupressWarnings("all") 69/5569/1
Robert Varga [Sun, 9 Mar 2014 10:15:37 +0000 (11:15 +0100)]
Remove SupressWarnings("all")

It turns out to be unnecessary except for a raw type usage -- which is
fixed.

Change-Id: Icdbfbb9b23a4446caeff4cf73a423874b05e0361
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoAdd interface documentation 68/5568/1
Robert Varga [Fri, 28 Feb 2014 12:41:49 +0000 (13:41 +0100)]
Add interface documentation

Change-Id: I3573d1153a62bfe36a01504198a3d1182d1013c1
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoBug 453 - sal-rest-connector doesn't provide stream discovery feature 62/5562/5
Martin Bobak [Mon, 3 Mar 2014 15:46:11 +0000 (16:46 +0100)]
Bug 453 - sal-rest-connector doesn't provide stream discovery feature

Change-Id: I01f21b5b27512f9a8a4babac9148eacf6e6ac36a
Signed-off-by: Martin Bobak <mbobak@cisco.com>
10 years agoadded generated files to .gitignore 55/5555/1
Michal Rehak [Thu, 6 Mar 2014 15:00:32 +0000 (16:00 +0100)]
added generated files to .gitignore

- files and directories generated by maven-eclipse-plugin

Change-Id: I119b2a98f52f55c28f8b94f2852ab79b318f27b6
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoResolve Bug:419. Bump logging bridge reference to 0.4.2-SNAPSHOT. 49/5549/1
Tomas Olvecky [Wed, 5 Mar 2014 12:34:52 +0000 (13:34 +0100)]
Resolve Bug:419. Bump logging bridge reference to 0.4.2-SNAPSHOT.

Change-Id: I7c2d14311099c592407412a4473f325b82408bba
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoMerge "Remove duplicate netconf namespace constant"
Tony Tkacik [Wed, 5 Mar 2014 09:25:41 +0000 (09:25 +0000)]
Merge "Remove duplicate netconf namespace constant"

10 years agoMerge "Get rid of netconf operation filters"
Tony Tkacik [Wed, 5 Mar 2014 09:25:17 +0000 (09:25 +0000)]
Merge "Get rid of netconf operation filters"

10 years agoTake advantage of MultipartTransactionAware 98/5498/2
Robert Varga [Fri, 28 Feb 2014 12:25:36 +0000 (13:25 +0100)]
Take advantage of MultipartTransactionAware

Now that we have MultipartTransactionAware as a modeling concept, we can
simplify the message tracking code by not having to pass around another
boolean.

Change-Id: Iebfd03d679122f42d83e68b7d7e5361655162f75
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge "Enhanced message handling"
Tony Tkacik [Wed, 5 Mar 2014 09:18:28 +0000 (09:18 +0000)]
Merge "Enhanced message handling"

10 years agoMerge "Overrode equals and hashcode in RouteIdentifierImpl Updated pom to reflect...
Tony Tkacik [Wed, 5 Mar 2014 09:17:30 +0000 (09:17 +0000)]
Merge "Overrode equals and hashcode in RouteIdentifierImpl Updated pom to reflect correct dependency version"

10 years agoMerge "Adding import for google.common.collect in pom"
Tony Tkacik [Wed, 5 Mar 2014 09:16:56 +0000 (09:16 +0000)]
Merge "Adding import for google.common.collect in pom"

10 years agoMerge "Enabling Remote RPC Router module in ODL distribution."
Tony Tkacik [Wed, 5 Mar 2014 09:16:37 +0000 (09:16 +0000)]
Merge "Enabling Remote RPC Router module in ODL distribution."

10 years agonull check for the node connector in the container's edgePropsMap 28/5528/1
Asad Ahmed [Tue, 4 Mar 2014 19:39:13 +0000 (11:39 -0800)]
null check for the node connector in the container's edgePropsMap

Change-Id: I448803eb09a39d8d9ddb598231bad016eaaa1590
Signed-off-by: Asad Ahmed <asaahmed@cisco.com>
10 years agoRemove duplicate netconf namespace constant 23/5523/1
Maros Marsalek [Tue, 4 Mar 2014 14:30:10 +0000 (15:30 +0100)]
Remove duplicate netconf namespace constant

Change-Id: I7af2cb2631136fb4ae947f7150ad2e5d8f2df567
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
10 years agoGet rid of netconf operation filters 22/5522/1
Maros Marsalek [Tue, 4 Mar 2014 10:20:26 +0000 (11:20 +0100)]
Get rid of netconf operation filters

Merge NetconfOperationFilter interface into NetconfOperation
Execute all operations that can handle a certain request in chained execution (ordered by priority)
Reimplement all current filters as chained operations
Remove NetconfOperationRouter parameter from NetconfOperation
NetconfOperations handling the same request must have different priorities

Change-Id: Iab9c680e6eceab4059feb77616a9d006fb613711
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
10 years agoEnhanced message handling 38/5338/9
Abhishek Kumar [Fri, 14 Feb 2014 22:39:35 +0000 (14:39 -0800)]
Enhanced message handling

-Added support for ping/pong messages
-Improved logging
-Refactored code, added MessageHandler for better handling of message
-Updated dependency version in pom

Change-Id: I04ff607c287afbe8a2ea156a0f8cd9029c1504ab
Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>
10 years agoOverrode equals and hashcode in RouteIdentifierImpl 16/5316/10
Abhishek Kumar [Fri, 14 Feb 2014 00:25:41 +0000 (16:25 -0800)]
Overrode equals and hashcode in RouteIdentifierImpl
Updated pom to reflect correct dependency version

Change-Id: Ie88cecec686a5c542f8d3edcc99e895ecbf39c3b
Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>
10 years agoAdding import for google.common.collect in pom 14/5314/5
Abhishek Kumar [Fri, 14 Feb 2014 00:15:50 +0000 (16:15 -0800)]
Adding import for google.common.collect in pom

Change-Id: Iabddd5cb310a6bf0ff40b38c4decc1a5ae915ffb
Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>
10 years agoEnabling Remote RPC Router module in ODL distribution. 13/5313/6
Abhishek Kumar [Thu, 13 Feb 2014 23:26:44 +0000 (15:26 -0800)]
Enabling Remote RPC Router module in ODL distribution.

- Added initial Route Change event
- Updated pom
- Fix rebase conflicts
- Added 02-clustering to initial configuration

Change-Id: I64dc6550171755af52a403f576c086ef2257b4a2
Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>
10 years agoMerge "The code through out hosttracker assumes the switch manager service reference...
Alessandro Boch [Mon, 3 Mar 2014 22:33:59 +0000 (22:33 +0000)]
Merge "The code through out hosttracker assumes the switch manager service reference is not null. Hence making switch manager as a required dependency to satisfy the above assumption."

10 years agoMerge "Remove static state and default beans from RuntimeMappingModuleFactory,SchemaS...
Tony Tkacik [Mon, 3 Mar 2014 13:06:34 +0000 (13:06 +0000)]
Merge "Remove static state and default beans from RuntimeMappingModuleFactory,SchemaServiceImplSingletonModuleFactory."

10 years agoMerge "Bug 383 - exception raised if key part of URI is incorrect"
Tony Tkacik [Mon, 3 Mar 2014 10:41:25 +0000 (10:41 +0000)]
Merge "Bug 383 - exception raised if key part of URI is incorrect"

10 years agoMerge "Eradicate exificient from the repository"
Tony Tkacik [Mon, 3 Mar 2014 09:39:47 +0000 (09:39 +0000)]
Merge "Eradicate exificient from the repository"

10 years agoMerge "Do not use currently-deprecated APIs"
Tony Tkacik [Mon, 3 Mar 2014 09:30:03 +0000 (09:30 +0000)]
Merge "Do not use currently-deprecated APIs"

10 years agoMerge "Deprecate NetconfMessageHeader test class"
Tony Tkacik [Mon, 3 Mar 2014 09:29:24 +0000 (09:29 +0000)]
Merge "Deprecate NetconfMessageHeader test class"

10 years agoThe code through out hosttracker assumes the switch manager service reference is... 06/5506/1
Asad Ahmed [Sat, 1 Mar 2014 00:34:38 +0000 (16:34 -0800)]
The code through out hosttracker assumes the switch manager service reference is not null.
Hence making switch manager as a required dependency to satisfy the above assumption.

Change-Id: I067e35de9910a6d5ba057f94ec161468d6b37ad9
Signed-off-by: Asad Ahmed <asaahmed@cisco.com>
10 years agoMerge "included the nodetype in the congruence check. also handled the condition...
Alessandro Boch [Fri, 28 Feb 2014 23:11:04 +0000 (23:11 +0000)]
Merge "included the nodetype in the congruence check. also handled the condition where the node id is null."

10 years agoincluded the nodetype in the congruence check. 05/5505/1
Asad Ahmed [Fri, 28 Feb 2014 21:06:25 +0000 (13:06 -0800)]
included the nodetype in the congruence check.
also handled the condition where the node id is null.

Change-Id: I536312801719f7596381db3294c091560d3b5e49
Signed-off-by: Asad Ahmed <asaahmed@cisco.com>
10 years agoMerge "Eliminate superfluous pluginManagement section"
Tony Tkacik [Fri, 28 Feb 2014 14:04:05 +0000 (14:04 +0000)]
Merge "Eliminate superfluous pluginManagement section"

10 years agoMerge "Cleanup dependencyManagement overrides"
Tony Tkacik [Fri, 28 Feb 2014 14:03:52 +0000 (14:03 +0000)]
Merge "Cleanup dependencyManagement overrides"

10 years agoDo not use currently-deprecated APIs 00/5500/1
Robert Varga [Fri, 28 Feb 2014 12:56:28 +0000 (13:56 +0100)]
Do not use currently-deprecated APIs

SchemaServiceListener has been renamed to SchemaContextListener
upstream, with the usual migration strategy. Let's use the latter where
possible.

Change-Id: Ic24596a424322d3bfbc0bca27a94cf281cde85e5
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoDeprecate NetconfMessageHeader test class 99/5499/1
Robert Varga [Fri, 28 Feb 2014 12:45:26 +0000 (13:45 +0100)]
Deprecate NetconfMessageHeader test class

This gets rid of the deprecation warnings, as the entire test will go
when NetconfMessageHeader goes.

Change-Id: Icfc90299d2a9227125671ed1ce0ef56632572f4e
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoRemove static state and default beans from RuntimeMappingModuleFactory,SchemaServiceI... 96/5496/1
Tomas Olvecky [Fri, 28 Feb 2014 10:27:13 +0000 (11:27 +0100)]
Remove static state and default beans from RuntimeMappingModuleFactory,SchemaServiceImplSingletonModuleFactory.

Remove static reference from factories as this breaks tests: it is useful to tear down config subsystem
between tests, but there is no way to clean up static fields.
Since default beans are discouraged, rework those factories to enforce instance naming so that only a single
instance can be created.
01-md-sal.xml already creates both modules.

Change-Id: I5efbe12b349ae82bfff12ae9a767505a66df2f90
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
10 years agoMerge "Add toaster sample consumer/provider modules to initial configuration."
Tony Tkacik [Fri, 28 Feb 2014 09:38:15 +0000 (09:38 +0000)]
Merge "Add toaster sample consumer/provider modules to initial configuration."

10 years agoEradicate exificient from the repository 92/5492/1
Robert Varga [Sat, 1 Feb 2014 08:01:20 +0000 (09:01 +0100)]
Eradicate exificient from the repository

Change-Id: I08e05f72818c22b6a46aee02a00c539006006905
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoPath class exposes internal field 64/5464/4
Alessandro Boch [Thu, 27 Feb 2014 23:55:35 +0000 (15:55 -0800)]
Path class exposes internal field

- Currently a caller of Path.getEdges() can mutate the Path object's edge list

Change-Id: I35659f73b88e1426df05ea3ac4157f9ef56f7f77
Signed-off-by: Alessandro Boch <aboch@cisco.com>
10 years agoMerge "method unsetFlowProgrammerNotifier was mis-spelled in activator causing the...
Alessandro Boch [Thu, 27 Feb 2014 23:04:38 +0000 (23:04 +0000)]
Merge "method unsetFlowProgrammerNotifier was mis-spelled in activator causing the corresponding unset method in flow programmer service never to get called"

10 years agoMerge "Use same memory settings for surefire and failsafe plugins"
Alessandro Boch [Thu, 27 Feb 2014 23:01:42 +0000 (23:01 +0000)]
Merge "Use same memory settings for surefire and failsafe plugins"

10 years agomethod unsetFlowProgrammerNotifier was mis-spelled in activator 91/5491/1
Asad Ahmed [Thu, 27 Feb 2014 22:39:57 +0000 (14:39 -0800)]
method unsetFlowProgrammerNotifier was mis-spelled in activator
causing the corresponding unset method in flow programmer service
never to get called

Change-Id: I33ee35b3b75d7c389189cc1609e1991bc80223c0
Signed-off-by: Asad Ahmed <asaahmed@cisco.com>
10 years agoMerge "FlowConfig to only run syntactic validation"
Jason Ye [Thu, 27 Feb 2014 20:25:04 +0000 (20:25 +0000)]
Merge "FlowConfig to only run syntactic validation"

10 years agoMerge "Exception for URI /restconf/operations/module_name:rpc ended with slash"
Tony Tkacik [Thu, 27 Feb 2014 16:06:03 +0000 (16:06 +0000)]
Merge "Exception for URI /restconf/operations/module_name:rpc ended with slash"

10 years agoMerge "We already have a merged and validated flow entry. There is no need for extrac...
Alessandro Boch [Thu, 27 Feb 2014 15:33:01 +0000 (15:33 +0000)]
Merge "We already have a merged and validated flow entry. There is no need for extracting the original flow entry and then validating and merging it again with the containerflow."

10 years agoMerge "Centralize yang-maven-plugin version"
Tony Tkacik [Thu, 27 Feb 2014 14:59:24 +0000 (14:59 +0000)]
Merge "Centralize yang-maven-plugin version"

10 years agoMerge "Deprecate org.opendaylight.controller.sal.common.util.Futures"
Tony Tkacik [Thu, 27 Feb 2014 14:57:41 +0000 (14:57 +0000)]
Merge "Deprecate org.opendaylight.controller.sal.common.util.Futures"

10 years agoUse same memory settings for surefire and failsafe plugins 34/5234/2
Prasanth Pallamreddy [Mon, 10 Feb 2014 19:33:42 +0000 (11:33 -0800)]
Use same memory settings for surefire and failsafe plugins

  - This addresses the OOME issue seen during the tail end
    of the build when running unit tests.

Change-Id: I054e1dfa502bca19a62521a3b714f1a072b59ded
Signed-off-by: Prasanth Pallamreddy <ppallamr@cisco.com>
10 years agoFixed order of applying changes when forwarding transactions 84/5484/1
Robert Varga [Thu, 27 Feb 2014 11:44:18 +0000 (12:44 +0100)]
Fixed order of applying changes when forwarding transactions

Commit 5659f588f80522a5be5c80d0e5ff34068b5f4786 changed the semantics of
remove/update operations such that the order of application became
significant: remove, then put.

Unfortunately we failed to notice that there are two places which apply
the operations in wrong order, thus breaking clients who perform a
remove/put in a single transaction -- e.g. replacing data without
merging it.

Fix DataStore and Binding->DOM connector.

Change-Id: I4fb12730e8256d3614846adb1fa5a1096284e0eb
Signed-off-by: Robert Varga <rovarga@cisco.com>
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>