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>
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>
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>
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>
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>
Tony Tkacik [Wed, 5 Mar 2014 09:25:41 +0000 (09:25 +0000)]
Merge "Remove duplicate netconf namespace constant"
Tony Tkacik [Wed, 5 Mar 2014 09:25:17 +0000 (09:25 +0000)]
Merge "Get rid of netconf operation filters"
Tony Tkacik [Wed, 5 Mar 2014 09:18:28 +0000 (09:18 +0000)]
Merge "Enhanced message handling"
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"
Tony Tkacik [Wed, 5 Mar 2014 09:16:56 +0000 (09:16 +0000)]
Merge "Adding import for google.common.collect in pom"
Tony Tkacik [Wed, 5 Mar 2014 09:16:37 +0000 (09:16 +0000)]
Merge "Enabling Remote RPC Router module in ODL distribution."
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>
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>
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>
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>
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>
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>
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>
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."
Tony Tkacik [Mon, 3 Mar 2014 13:06:34 +0000 (13:06 +0000)]
Merge "Remove static state and default beans from RuntimeMappingModuleFactory,SchemaServiceImplSingletonModuleFactory."
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"
Tony Tkacik [Mon, 3 Mar 2014 09:39:47 +0000 (09:39 +0000)]
Merge "Eradicate exificient from the repository"
Tony Tkacik [Mon, 3 Mar 2014 09:30:03 +0000 (09:30 +0000)]
Merge "Do not use currently-deprecated APIs"
Tony Tkacik [Mon, 3 Mar 2014 09:29:24 +0000 (09:29 +0000)]
Merge "Deprecate NetconfMessageHeader test class"
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>
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."
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>
Tony Tkacik [Fri, 28 Feb 2014 14:04:05 +0000 (14:04 +0000)]
Merge "Eliminate superfluous pluginManagement section"
Tony Tkacik [Fri, 28 Feb 2014 14:03:52 +0000 (14:03 +0000)]
Merge "Cleanup dependencyManagement overrides"
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>
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>
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>
Tony Tkacik [Fri, 28 Feb 2014 09:38:15 +0000 (09:38 +0000)]
Merge "Add toaster sample consumer/provider modules to initial configuration."
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>
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>
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"
Alessandro Boch [Thu, 27 Feb 2014 23:01:42 +0000 (23:01 +0000)]
Merge "Use same memory settings for surefire and failsafe plugins"
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>
Jason Ye [Thu, 27 Feb 2014 20:25:04 +0000 (20:25 +0000)]
Merge "FlowConfig to only run syntactic validation"
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"
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."
Tony Tkacik [Thu, 27 Feb 2014 14:59:24 +0000 (14:59 +0000)]
Merge "Centralize yang-maven-plugin version"
Tony Tkacik [Thu, 27 Feb 2014 14:57:41 +0000 (14:57 +0000)]
Merge "Deprecate org.opendaylight.controller.sal.common.util.Futures"
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>
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>
Robert Varga [Thu, 27 Feb 2014 12:24:26 +0000 (13:24 +0100)]
Eliminate superfluous pluginManagement section
This structure is a recipe for a warning: jacoco.version is specified in
a parent pom, so there is no use specifying it in the pluginManagement
section here. Rather move it to the parent -- where it belongs.
Change-Id: Iadc84620ad69cccd681b9898ab87459520daafd5
Signed-off-by: Robert Varga <rovarga@cisco.com>
Robert Varga [Thu, 27 Feb 2014 12:19:48 +0000 (13:19 +0100)]
Cleanup dependencyManagement overrides
This patch gets rid of a few warnings coming from overriding version
specified in parent dependencyManagement section.
Change-Id: Ida9662498bd152cc91954dc1843045c0553164ba
Signed-off-by: Robert Varga <rovarga@cisco.com>
Robert Varga [Thu, 27 Feb 2014 12:05:29 +0000 (13:05 +0100)]
Centralize yang-maven-plugin version
There is no reason for individual projects to define the version over
and over again -- let's keep it in one place.
Change-Id: I4ea6ccbc51e31cf3cef3b7c1304ea7dcc02667f7
Signed-off-by: Robert Varga <rovarga@cisco.com>
Robert Varga [Thu, 27 Feb 2014 11:11:34 +0000 (12:11 +0100)]
Deprecate org.opendaylight.controller.sal.common.util.Futures
We use guava throughout -- and those are better.
Change-Id: I0013f8fc0c10742791159abdf151662eaae5629f
Signed-off-by: Robert Varga <rovarga@cisco.com>
Maros Marsalek [Thu, 27 Feb 2014 08:05:16 +0000 (09:05 +0100)]
Add toaster sample consumer/provider modules to initial configuration.
Toaster modules are now part of configuration subsystem, but were not started by default so far.
Toaster consumer/provider are now started by default and behave just like before.
In addition, now you can access toaster modules via netconf endpoint started by the controller (port 8383).
Toasts-made count for toaster-consumer is now reported as operational data and can be accessed using get rpc.
Change-Id: Ia649ed4f0255de22aae35d4362e51ba1bc53936e
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Asad Ahmed [Thu, 27 Feb 2014 00:45:15 +0000 (16:45 -0800)]
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.
Change-Id: I131abdefc3bde14b148af0264cd220ea0c61c528
Signed-off-by: Asad Ahmed <asaahmed@cisco.com>
Abhishek Kumar [Fri, 24 Jan 2014 08:31:49 +0000 (00:31 -0800)]
Adding routed RPC support in Remote RPC Router
- Updated RoutingTable to add a new routed RPC cache
- Updated sal-core-api to add Remote RPC Router as default delegate in SchemaAwareRpcBroker
- Refactored RemoteRpcProvider code.
- Added unit tests for routing table
- Removed RouteIdentifier <-> JSON conversion. Its not used anymore
- Rebased with master
Change-Id: Id13a0a6a9ae6ded7ea9068b7a613a9e196c89a7b
Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>
Jozef Gloncak [Fri, 14 Feb 2014 10:14:12 +0000 (11:14 +0100)]
Bug 383 - exception raised if key part of URI is incorrect
Null pointer exception was caused for case when it wasn't possible to
decode key part of URI (null value was returned)
For case when key leaf type was identityref and wasn't specified as
module_name:identity_name NullPointerException was raised.
Change-Id: I6343d98e6549c02906628c78f61f97c18b244fe4
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
Tony Tkacik [Wed, 26 Feb 2014 13:41:31 +0000 (13:41 +0000)]
Merge "Migrate toaster samples to config-subsystem"
Alessandro Boch [Tue, 25 Feb 2014 23:51:11 +0000 (23:51 +0000)]
Merge "Add reverse() method in Edge and Path classes"
Alessandro Boch [Tue, 25 Feb 2014 02:03:34 +0000 (18:03 -0800)]
FlowConfig to only run syntactic validation
- The validate function of FlowConfig class should only run syntactic validation
The opearational validation like input/output/enqueue port presence, flood
action on non default container check, etc. should be run only at installation
time. Also this validation should be run for all the flow installation requests
either they come from static flow config or from Flow Entry install/modify
request coming from other bundles.
- With the above change at controller restart, static flow configurations which
were valid at controller stop but no longer after reboot (for ex. switch sdn
enabled ports have changed) will still show on the Flow GUI as non installed,
and their toggling with fail with proper message.
Change-Id: I49d97af49d58102e51a3c8c12db915b60bcb6f4b
Signed-off-by: Alessandro Boch <aboch@cisco.com>
Tony Tkacik [Tue, 25 Feb 2014 18:40:06 +0000 (18:40 +0000)]
Merge "Refactor configuration for ConfigPersister."
Tony Tkacik [Tue, 25 Feb 2014 18:39:17 +0000 (18:39 +0000)]
Merge "Fix for bugs 446 and 456"
Maros Marsalek [Wed, 5 Feb 2014 15:18:08 +0000 (16:18 +0100)]
Migrate toaster samples to config-subsystem
- Fix integration test for toaster samples.
- The toaster is now disabled by default in distribution
in order to enable it, you must change configure toaster module
as in opendaylight/md-sal/samples/toaster-it/src/test/resources/controller.xml
Change-Id: I7c70704c2faea8d39b0f9ad32394e78bca6c80dc
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Tony Tkacik [Tue, 25 Feb 2014 18:15:54 +0000 (18:15 +0000)]
Merge "Suppress unchecked cast warnings"
Tony Tkacik [Tue, 25 Feb 2014 18:13:31 +0000 (18:13 +0000)]
Merge "Prune long-deprecated APIs"
Robert Varga [Tue, 18 Feb 2014 10:45:26 +0000 (11:45 +0100)]
Suppress unchecked cast warnings
These casts are either safe, or we need to throw an exception --
ClassCast is as good an exception as any.
Change-Id: I74026fee5004984bfc18d990a3b6fee68a1fb479
Signed-off-by: Robert Varga <rovarga@cisco.com>
Robert Varga [Wed, 19 Feb 2014 10:44:06 +0000 (11:44 +0100)]
Prune long-deprecated APIs
These APIs are from prototype days and have never properly worked. Prune
them to reduce the baggage we carry around.
Change-Id: I9ac89552edf76f0740c660c100ec0426627b413a
Signed-off-by: Robert Varga <rovarga@cisco.com>
Robert Varga [Tue, 25 Feb 2014 13:35:32 +0000 (14:35 +0100)]
Fix logging arguments in two-phase commit
Change-Id: I0be572998f4ce5d30dca5178f946fab15ed925ca
Signed-off-by: Robert Varga <rovarga@cisco.com>
Robert Varga [Wed, 19 Feb 2014 02:55:48 +0000 (03:55 +0100)]
Fix comments and remove use of deprecated class
This primarily removes SchemaServiceListener, as that is deprecated and
implied by SchemaContextListener, which is replacing it.
Change-Id: I977e818ff466ab27f6cd213d1e0e255e2f1b59a4
Signed-off-by: Robert Varga <rovarga@cisco.com>
Chi-Vien Ly [Mon, 24 Feb 2014 20:23:31 +0000 (12:23 -0800)]
Add reverse() method in Edge and Path classes
Change-Id: I27ada22079999facf6e9f00e05b60aa480e4f2b9
Signed-off-by: Chi-Vien Ly <chivly@cisco.com>
Tony Tkacik [Tue, 25 Feb 2014 15:38:06 +0000 (15:38 +0000)]
Merge "Close Bug:443 - Implement ImmediateEventExecutor wrapper to config-subsystem."
Tony Tkacik [Tue, 25 Feb 2014 14:59:52 +0000 (14:59 +0000)]
Merge "Add watchdog thread to detect illegal blocking calls during second phase commit."
Tony Tkacik [Tue, 25 Feb 2014 14:58:10 +0000 (14:58 +0000)]
Merge "Better exception handling when instantiating YangModelBindingProvider, fix confignetconfconnector activator."
Tomas Olvecky [Fri, 21 Feb 2014 10:46:42 +0000 (11:46 +0100)]
Close Bug:443 - Implement ImmediateEventExecutor wrapper to config-subsystem.
Change-Id: I7b633407ce186507379c0008408deae3775fd0df
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
Tomas Olvecky [Fri, 14 Feb 2014 15:22:10 +0000 (16:22 +0100)]
Add watchdog thread to detect illegal blocking calls during second phase commit.
Add a thread that starts when second phase commit starts, that will monitor if
a module instance occupies the commit thread for more than 5 seconds. If so, log
a warning every second informing about possible misuse of config subsystem to
block on external resources.
Added a proxy module that caches Module#getInstance() call as this method is
idempotent.
Change-Id: Ia1e56386bdd8c6b7a6dc625cfc69253b927c92a9
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
Tomas Olvecky [Tue, 25 Feb 2014 13:44:26 +0000 (14:44 +0100)]
Better exception handling when instantiating YangModelBindingProvider, fix confignetconfconnector activator.
Do not just log exception if it occurs while calling getModuleInfo, but add it as nested exception.
Fix confignetconfconnector activator: if activator fails to find ConfigRegistry, stop method should interrupt searching for it.
Change-Id: I0b97e5a044be0fd2304b35d34f46a1c540aac248
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
Tony Tkacik [Tue, 25 Feb 2014 12:02:03 +0000 (12:02 +0000)]
Merge "fix bug 431"
Tony Tkacik [Tue, 25 Feb 2014 11:58:13 +0000 (11:58 +0000)]
Merge "Integration test added to netconf-it to test identity (de)serialization."
Tony Tkacik [Tue, 25 Feb 2014 11:56:20 +0000 (11:56 +0000)]
Merge "Accept agentpath as a parameter to the run script"
Tony Tkacik [Tue, 25 Feb 2014 11:54:25 +0000 (11:54 +0000)]
Merge changes I1b834def,Iece78be2
* changes:
Removed duplicated dependency declaration: ietf-netconf-monitoring,ietf-netconf-monitoring-extension from commons.opendaylight.
Move xtend dependency definition from md-sal pom to commons.opendaylight
Milos Fabian [Tue, 18 Feb 2014 09:44:24 +0000 (10:44 +0100)]
SalRemoteClientDeployer - instantiate SalRemoteClient for given URL.
SalRemoteClient:
-Creates schema context.
-Initialize mapping service
-Creates restconf client
-Starts sal remote service broker
-Provides consumer registaration
Change-Id: Idc0d8be4c088bac8a4df24b98e482184a6e54665
Signed-off-by: Milos Fabian <milfabia@cisco.com>
Tony Tkacik [Tue, 25 Feb 2014 11:24:49 +0000 (11:24 +0000)]
Merge "Reuse AbstractListenerRegistration"
Tomas Olvecky [Thu, 20 Feb 2014 13:30:10 +0000 (14:30 +0100)]
Removed duplicated dependency declaration: ietf-netconf-monitoring,ietf-netconf-monitoring-extension from commons.opendaylight.
Change-Id: I1b834def2831acfae7749b24a6778f5811aca182
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
Tomas Olvecky [Thu, 20 Feb 2014 12:59:28 +0000 (13:59 +0100)]
Move xtend dependency definition from md-sal pom to commons.opendaylight
Change-Id: Iece78be2da9a8797deb082a7d81030a2c85dac26
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
Tony Tkacik [Tue, 25 Feb 2014 11:10:25 +0000 (11:10 +0000)]
Merge "Fix some sonar bugs in config-api and config-manager."
Robert Varga [Tue, 25 Feb 2014 10:12:14 +0000 (11:12 +0100)]
RpcRegistration.close() should not throw
Closing an RPC registration is an atomic act, e.g. it should never be
allowed to throw exceptions.
Change-Id: Ie49c67691540db4d4a8a21814e01d3287c5f31cd
Signed-off-by: Robert Varga <rovarga@cisco.com>
Robert Varga [Wed, 19 Feb 2014 02:54:03 +0000 (03:54 +0100)]
Reuse AbstractListenerRegistration
No sense in defining a new class -- just reuse what's already there.
Also uncovers the fact that we're losing an underlying registration --
but let's deal with that once the ListenerRegistration API changes not
to throw exceptions on close().
Change-Id: I5a12b1d7ca89f1608bc54b3f1a520223e650d53f
Signed-off-by: Robert Varga <rovarga@cisco.com>
Vaclav Demcak [Mon, 24 Feb 2014 21:52:44 +0000 (22:52 +0100)]
fix bug 431
Change-Id: Ifd972d7e8acfbc8ed2b9d64391f156b09617d304
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
Maros Marsalek [Tue, 11 Feb 2014 16:40:39 +0000 (17:40 +0100)]
Refactor configuration for ConfigPersister.
Pulled Configuration class from ConfigPusher that contains all the delays, timeouts and attempts numbers.
Add tests for config perister.
Change-Id: I187e721e0120931d0cca519353db840905816a20
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Tony Tkacik [Mon, 24 Feb 2014 17:22:10 +0000 (17:22 +0000)]
Merge "Modify config-api exceptions, bump config and netconf to 0.2.5-SNAPSHOT."
Jozef Gloncak [Tue, 18 Feb 2014 13:05:44 +0000 (14:05 +0100)]
Exception for URI /restconf/operations/module_name:rpc ended with slash
If URI of type /restconf/operations/module_name:rpc ends with slash
character (/) then exception with HTTP return code 404 and text
"Identifier IDENTIFIER_NAME can't contain slash character (/). If slash is
part of identifier name then use %2F placeholder."
Change-Id: Idbed90515280b414c10d28dc608faeee24986a29
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
Ryan Moats [Mon, 24 Feb 2014 15:39:03 +0000 (09:39 -0600)]
Fix for bugs 446 and 456
Fix for "Null pointer exception on remove_router_interface" (Bug 446)
and "Return better error messages from NeutronAPIService" (Bug 456)
Change-Id: I60c24ac37a91653e4c6f5ff2d654e8f85ad78d44
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
Lukas Sedlak [Mon, 24 Feb 2014 10:00:40 +0000 (11:00 +0100)]
Added support to register of RPC Implementation.
NetconfDevice has now has capability to support of rpc implementation which adds support for ODL to send rpcs towards netconf server.
Added fix for commit handler registration. Now the commit handler is registered only and only when mount instance is availible.
Change-Id: I11eced0fda40b3c0cd66fd6477c4df45304d3e18
Signed-off-by: Lukas Sedlak <lsedlak@cisco.com>
Ladislav Borak [Fri, 21 Feb 2014 12:19:50 +0000 (13:19 +0100)]
Added documentation into web socket in RestConf
Change-Id: I36fae4c8916c6d25a1b9619390467e48b64e8a3d
Signed-off-by: Ladislav Borak <lborak@cisco.com>
Andrew Kim [Sun, 23 Feb 2014 01:50:47 +0000 (01:50 +0000)]
Merge "Backward compatibility for User management"
Maros Marsalek [Tue, 11 Feb 2014 15:36:32 +0000 (16:36 +0100)]
Modify config-api exceptions, bump config and netconf to 0.2.5-SNAPSHOT.
Change ConflictingVersionException and ValidationException to be checked instead of
runtime exceptions.
Fix ConfigPusher's ConflictVersionException handling that was introduced when IOException was
used to wrap RuntimeException.
Small fixes in netconf, more refactoring of exception handling will be needed there.
Maros Marsalek: Rebase commit + fix compliation issue in ShutdownTest
Change-Id: Iab89de6ef6ced0de0a267470f860912ae3c56892
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Maros Marsalek [Fri, 21 Feb 2014 10:48:44 +0000 (11:48 +0100)]
Integration test added to netconf-it to test identity (de)serialization.
Change-Id: I637011107edea916aaab35e8d2298bbbbabed653
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Tony Tkacik [Fri, 21 Feb 2014 10:44:16 +0000 (10:44 +0000)]
Merge "Fix message aggregator for chunked netconf messages."
Maros Marsalek [Thu, 20 Feb 2014 12:19:03 +0000 (13:19 +0100)]
Fix message aggregator for chunked netconf messages.
Aggregator did not work with 1 message in multiple chunks.
Change-Id: I03cc89c3fc56a52f077fd21f77bd98e47ea358a9
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Tomas Olvecky [Wed, 19 Feb 2014 14:43:41 +0000 (15:43 +0100)]
Fix some sonar bugs in config-api and config-manager.
Change-Id: I417bb4bdd649606d871382e7bf561d35daafc11b
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
Maros Marsalek [Tue, 18 Feb 2014 11:58:47 +0000 (12:58 +0100)]
Make use of new sendMessage method in AbstractNegotiator
Change-Id: Ieeb104aa34b8140936a1daf8011ba3b0effc79d5
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Alessandro Boch [Wed, 19 Feb 2014 21:42:43 +0000 (21:42 +0000)]
Merge "ConfigurationService to create default config dir"
Moiz Raja [Wed, 19 Feb 2014 20:04:36 +0000 (12:04 -0800)]
Accept agentpath as a parameter to the run script
This is to be used when you want to start open daylight with say the yourkit profiling agent
Usage would be something like this,
./run.sh -agentpath:"/Applications/Yourkit.app/bin/mac/agent.lib"
Change-Id: I0034adab46dc5185e54dfb22c85985324f82d0fb
Signed-off-by: Moiz Raja <moraja@cisco.com>
Yevgeny Khodorkovsky [Wed, 19 Feb 2014 03:16:15 +0000 (19:16 -0800)]
ConfigurationService to create default config dir
- Have ConfigurationService create a default startup config directory,
so that container unaware apps/modules can initiate and individual
save.
- Semantic fixes in IConfigurationContainerService
- Bump configuration api rev since methods were added since last rev
Change-Id: Ifec274c258859a402f6dad7394c43c28ed162b95
Signed-off-by: Yevgeny Khodorkovsky <ykhodork@cisco.com>