netconf.git
8 years agoMerge "Added initial design documentation for clustering."
Tomas Cere [Mon, 22 Feb 2016 13:23:45 +0000 (13:23 +0000)]
Merge "Added initial design documentation for clustering."

8 years agoAdded initial design documentation for clustering. 52/27052/8
Tony Tkacik [Wed, 16 Sep 2015 14:57:14 +0000 (16:57 +0200)]
Added initial design documentation for clustering.

Change-Id: I24e6054b31f633e0bdde81ff2493fb418912fb8e
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
8 years agoRework netconf build wiring 24/35124/14
Robert Varga [Fri, 19 Feb 2016 20:52:55 +0000 (21:52 +0100)]
Rework netconf build wiring

This cleans up the dependecies between build units, speeding up the
build process and removing unneeded directives.

Change-Id: I5a2e63132808c0bfe80c71327fe362672ac1e1d5
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
8 years agoBump powermock to 1.6.4 88/35188/1
Robert Varga [Mon, 22 Feb 2016 12:17:03 +0000 (13:17 +0100)]
Bump powermock to 1.6.4

powermock 1.5 is not compatible with mockito 1.10.x, bump it up.

Change-Id: I1eaf35458707554d274733bd5850b31ee146e321
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
8 years agoFix a few warnings 26/35126/3
Robert Varga [Sat, 20 Feb 2016 01:18:50 +0000 (02:18 +0100)]
Fix a few warnings

Do not instantiate DocumentImpl
Add generic type arguments
Make a method static

Change-Id: I0a7cc2450c48693f375da0287eafd379a99a200a
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
8 years agoAdd unit test for netconf-messagebus 83/34883/5
Andrej Mak [Thu, 18 Feb 2016 09:48:33 +0000 (10:48 +0100)]
Add unit test for netconf-messagebus

Change-Id: I610efbd044f99aa359614bc90c11c70bcf5c23c7
Signed-off-by: Andrej Mak <andmak@cisco.com>
8 years agoAdd ietf-type-util to netconf-api feature 98/35098/2
Tomas Cere [Fri, 19 Feb 2016 14:30:41 +0000 (15:30 +0100)]
Add ietf-type-util to netconf-api feature

Change-Id: Ia464341b7291145554f8c2b4566c3320ee644663
Signed-off-by: Tomas Cere <tcere@cisco.com>
8 years agoMerge "Fix netconf-messagebus join-topic"
Tomas Cere [Fri, 19 Feb 2016 14:37:26 +0000 (14:37 +0000)]
Merge "Fix netconf-messagebus join-topic"

8 years agoMerge "Add NetconfDeviceSalProvider.MountInstance unit test"
Tomas Cere [Fri, 19 Feb 2016 10:43:30 +0000 (10:43 +0000)]
Merge "Add NetconfDeviceSalProvider.MountInstance unit test"

8 years agoFix netconf-messagebus join-topic 60/34760/3
Andrej Mak [Tue, 16 Feb 2016 14:35:28 +0000 (15:35 +0100)]
Fix netconf-messagebus join-topic

NetconfEventSource - notification pattern is already regex
NotificationTopicRegistration - fix checkNotificationPath()

Change-Id: I69c756f322677eb339d9602da456090619bfc75e
Signed-off-by: Andrej Mak <andmak@cisco.com>
8 years agoUse NormalizedNodeInputOutput to get the writer/reader we need 49/35049/2
Tomas Cere [Fri, 19 Feb 2016 09:40:17 +0000 (10:40 +0100)]
Use NormalizedNodeInputOutput to get the writer/reader we need

Change-Id: I774e5677fd3c31afc6c43860e8839d43f549c843
Signed-off-by: Tomas Cere <tcere@cisco.com>
8 years agoMerge "BUG 5269: Allow capability override in topology"
Tony Tkacik [Wed, 17 Feb 2016 09:32:43 +0000 (09:32 +0000)]
Merge "BUG 5269: Allow capability override in topology"

8 years agoMerge "Bug 5346: Add odl-config-netty to odl-netconf-client"
Tony Tkacik [Tue, 16 Feb 2016 16:09:29 +0000 (16:09 +0000)]
Merge "Bug 5346: Add odl-config-netty to odl-netconf-client"

8 years agoMerge "Delete unused classes in mdsal-netconf-monitoring"
Tomas Cere [Tue, 16 Feb 2016 13:36:23 +0000 (13:36 +0000)]
Merge "Delete unused classes in mdsal-netconf-monitoring"

8 years agoMerge "BUG-5269 Enable device capabilities override"
Tomas Cere [Tue, 16 Feb 2016 13:32:44 +0000 (13:32 +0000)]
Merge "BUG-5269 Enable device capabilities override"

8 years agoMerge "Add mdsal-netconf-monitoring unit test."
Tomas Cere [Tue, 16 Feb 2016 12:23:41 +0000 (12:23 +0000)]
Merge "Add mdsal-netconf-monitoring unit test."

8 years agoMerge "Add unit tests for sal-netconf-connector"
Tomas Cere [Tue, 16 Feb 2016 11:55:34 +0000 (11:55 +0000)]
Merge "Add unit tests for sal-netconf-connector"

8 years agoBug 5346: Add odl-config-netty to odl-netconf-client 44/34744/1
Vratko Polak [Mon, 15 Feb 2016 14:12:46 +0000 (15:12 +0100)]
Bug 5346: Add odl-config-netty to odl-netconf-client

Feature odl-netconf-client applies 01-netconf.xml config file,
which expects capabilities provided by config file 00-netty.xml
from odl-config-netty feature. But odl-config-netty is not part of
odl-config-all feature, so it needs to be specified directly.

Also, added more specific capability dependency to 01-netconf.xml
and updated dependencies for netconf features pom.xml

Change-Id: Idb8aa24e7adeecd1d6a7d9bee8fb0d8006828831
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
8 years agoBUG 5269: Allow capability override in topology 68/34668/1
Tomas Cere [Mon, 15 Feb 2016 13:06:29 +0000 (14:06 +0100)]
BUG 5269: Allow capability override in topology

Previous patch was for cfg subsystem configuration only,
this adds the ability to override devices capabilites
to netconf connectors configured through topology.

Also fix typo in UserPreferences.

Change-Id: Icea2ab162424e4490c7c33be16f4ab14cc4ae1ab
Signed-off-by: Tomas Cere <tcere@cisco.com>
8 years agoBUG-5269 Enable device capabilities override 92/32192/7
Maros Marsalek [Wed, 6 Jan 2016 14:49:19 +0000 (15:49 +0100)]
BUG-5269 Enable device capabilities override

So far, merge was the dafult strategy. From now on, override
is also possible.

Useful when it's necessary to completely replace device models
with user/app models.

Change-Id: I4b1bb68b8257e4a6889f54f7be0e6baee5d7617d
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
(cherry picked from commit 552cd5ad81b9cda47978e34414ccf3a80e84f872)

8 years agoAdd mdsal-netconf-monitoring unit test. 59/34659/1
Andrej Mak [Mon, 15 Feb 2016 08:15:17 +0000 (09:15 +0100)]
Add mdsal-netconf-monitoring unit test.

Change-Id: Ib34fb86047416feb533df7f4c0975432419ac453
Signed-off-by: Andrej Mak <andmak@cisco.com>
8 years agoBUG-3934 Don't omit updated data from notification 49/34549/1
Maros Marsalek [Wed, 10 Feb 2016 15:08:51 +0000 (16:08 +0100)]
BUG-3934 Don't omit updated data from notification

Change-Id: Ifa17cbe53084ee3e6d6357bd7805bfd1bf1a5b8a
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
(cherry picked from commit dd372317e81e9a545b1a7d70e6e1db319ec2e3f3)

8 years agoAdd ietf-netconf-monitoring-extension to base schema 42/34542/1
Andrej Mak [Fri, 12 Feb 2016 11:08:38 +0000 (12:08 +0100)]
Add ietf-netconf-monitoring-extension to base schema

Monitoring extension must be present in base schema context
to be able to call get-schema to download models from device.

Change-Id: Idcfa7295dd0b5fe29cb26b560f6d058ee6a08f70
Signed-off-by: Andrej Mak <andmak@cisco.com>
8 years agoAdd NetconfDeviceSalProvider.MountInstance unit test 37/34537/1
Andrej Mak [Fri, 12 Feb 2016 09:33:34 +0000 (10:33 +0100)]
Add NetconfDeviceSalProvider.MountInstance unit test

Change-Id: Idf300271b07c14e838d9e5f8d0af0035828ec451
Signed-off-by: Andrej Mak <andmak@cisco.com>
8 years agoMerge "Bug 4100 - Extend sal-netconf-connector base schema context"
Tomas Cere [Fri, 12 Feb 2016 09:02:26 +0000 (09:02 +0000)]
Merge "Bug 4100 - Extend sal-netconf-connector base schema context"

8 years agoMerge "bug 5096 Clean up transaction in case of failure"
Tomas Cere [Fri, 12 Feb 2016 09:00:24 +0000 (09:00 +0000)]
Merge "bug 5096 Clean up transaction in case of failure"

8 years agoBug 2806 - Immediate and infinite reconnect attempts during negotiation 07/34407/4
Jakub Morvay [Thu, 4 Feb 2016 10:19:09 +0000 (11:19 +0100)]
Bug 2806 - Immediate and infinite reconnect attempts during negotiation

Set connection to success, after successful netconf negotiation.

Change-Id: Id044b618c3f996d4e93df2a2537ea7e905717477
Signed-off-by: Jakub Morvay <jmorvay@cisco.com>
8 years agoBug 4100 - Extend sal-netconf-connector base schema context 58/33758/6
Andrej Mak [Fri, 29 Jan 2016 10:09:35 +0000 (11:09 +0100)]
Bug 4100 - Extend sal-netconf-connector base schema context

In case, that device supports notifications, but doesn't provide
model for them, model from BaseSchema in NetconfMessageTransformer
will be used as fallback.

Change-Id: Ib058ea07a8a457dd83ed98c6d91e21976a0d8ffb
Signed-off-by: Andrej Mak <andmak@cisco.com>
8 years agoAdd unit tests for sal-netconf-connector 72/34372/3
Andrej Mak [Wed, 10 Feb 2016 08:21:19 +0000 (09:21 +0100)]
Add unit tests for sal-netconf-connector

Change-Id: I3bf4981042e61587bcec6e9ac122a5a7a9bba99c
Signed-off-by: Andrej Mak <andmak@cisco.com>
8 years agobug 5096 Clean up transaction in case of failure 89/34089/3
Andrej Mak [Thu, 4 Feb 2016 15:03:54 +0000 (16:03 +0100)]
bug 5096 Clean up transaction in case of failure

In case of transaction fail, clean up failed transaction,
so it is posible to start new. Add more detailed error message.

Change-Id: I2ea39cc37994175974108cbf8e1afdbd9a3a2282
Signed-off-by: Andrej Mak <andmak@cisco.com>
8 years agoDelete unused classes in mdsal-netconf-monitoring 35/33535/3
Andrej Mak [Mon, 25 Jan 2016 15:45:54 +0000 (16:45 +0100)]
Delete unused classes in mdsal-netconf-monitoring

Delete unused class and replace anonymous class in
NetconfMdsalMonitoringMapperModule with static nested class.

Move duplicated code from NetconfMonitoringOperationServiceFactory and NetconfMdsalMonitoringMapperModule to abstract class AbstractNetconfOperationServiceFactory

Change-Id: Ic1d5122cfb6c51a72a244ec26e73d94f61777cc8
Signed-off-by: Andrej Mak <andmak@cisco.com>
8 years agoMerge "Extract duplicated code to superclass"
Maros Marsalek [Wed, 10 Feb 2016 08:32:00 +0000 (08:32 +0000)]
Merge "Extract duplicated code to superclass"

8 years agoNetconf-topology module unit tests 11/34311/8
Jakub Morvay [Tue, 9 Feb 2016 10:32:26 +0000 (11:32 +0100)]
Netconf-topology module unit tests

Change-Id: I8258ce4973758ef20d503712147e34ee78a1cd95
Signed-off-by: Jakub Morvay <jmorvay@cisco.com>
8 years agoMerge "Fix tests according to review comments."
Maros Marsalek [Tue, 9 Feb 2016 14:49:43 +0000 (14:49 +0000)]
Merge "Fix tests according to review comments."

8 years agoFix tests according to review comments. 22/34322/1
Andrej Mak [Tue, 9 Feb 2016 13:39:15 +0000 (14:39 +0100)]
Fix tests according to review comments.

https://git.opendaylight.org/gerrit/#/c/33949/
https://git.opendaylight.org/gerrit/#/c/33972/
https://git.opendaylight.org/gerrit/#/c/33849/

Change-Id: I4c9119bfe19d1c60ca61e0e40832bcf444b7463d
Signed-off-by: Andrej Mak <andmak@cisco.com>
8 years agoMerge "BUG 5089: Fix incorrect slave schema repo behaviour"
Maros Marsalek [Tue, 9 Feb 2016 13:06:47 +0000 (13:06 +0000)]
Merge "BUG 5089: Fix incorrect slave schema repo behaviour"

8 years agoMerge "Ignore netconf tools from sonar report"
Maros Marsalek [Tue, 9 Feb 2016 12:22:41 +0000 (12:22 +0000)]
Merge "Ignore netconf tools from sonar report"

8 years agoMerge "NetconfOperationRouterImpl unit test."
Maros Marsalek [Tue, 9 Feb 2016 12:17:45 +0000 (12:17 +0000)]
Merge "NetconfOperationRouterImpl unit test."

8 years agoMerge "Add AggregatedNetconfOperationServiceFactory unit test."
Maros Marsalek [Tue, 9 Feb 2016 11:57:00 +0000 (11:57 +0000)]
Merge "Add AggregatedNetconfOperationServiceFactory unit test."

8 years agoMerge "Move NetconfHelloMessage to netconf-api"
Maros Marsalek [Tue, 9 Feb 2016 11:24:11 +0000 (11:24 +0000)]
Merge "Move NetconfHelloMessage to netconf-api"

8 years agoMerge "NetconfMonitoringServiceImpl unit test"
Maros Marsalek [Tue, 9 Feb 2016 10:48:03 +0000 (10:48 +0000)]
Merge "NetconfMonitoringServiceImpl unit test"

8 years agoBUG 5089: Fix incorrect slave schema repo behaviour 59/34259/1
Tomas Cere [Mon, 8 Feb 2016 12:49:11 +0000 (13:49 +0100)]
BUG 5089: Fix incorrect slave schema repo behaviour

Need to use the correct schema repo in slave schema providers.
Introduced by the patch for BUG 4577.

Change-Id: Iba64841ba0f2f875f4da455cb3025266cf7b6c5e
Signed-off-by: Tomas Cere <tcere@cisco.com>
8 years agoMerge "Remove obsolete FIXMEs"
Tony Tkacik [Mon, 8 Feb 2016 09:29:26 +0000 (09:29 +0000)]
Merge "Remove obsolete FIXMEs"

8 years agoBug 5175: RPC called on mount point not being correctly handled when multiple revisio... 83/33983/1
adetalhouet [Wed, 3 Feb 2016 14:04:40 +0000 (09:04 -0500)]
Bug 5175: RPC called on mount point not being correctly handled when multiple revision-date coexist

 The ControllerContext#toQname was just looking for module using the module name. In scenarios where you have multiple revision for the same module, the method was returning the latest schema. This fix is to retreive the schema based on the revision date

Change-Id: Ie1f3ae1b6c4e6fd7133f64f3f5e7c8899c42db5a
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
8 years agoRemove obsolete FIXMEs 06/33806/3
Robert Varga [Sat, 30 Jan 2016 02:57:39 +0000 (03:57 +0100)]
Remove obsolete FIXMEs

The aaa project has been spun out, no circular dependencies anymore.

Change-Id: Idb758a3d1c6337360380f856ac5c9d23df9d01cf
Signed-off-by: Robert Varga <rovarga@cisco.com>
8 years agoAdd AggregatedNetconfOperationServiceFactory unit test. 72/33972/1
Andrej Mak [Wed, 3 Feb 2016 12:44:27 +0000 (13:44 +0100)]
Add AggregatedNetconfOperationServiceFactory unit test.

Change-Id: I59f89e6977119c2c45b16544252729a12052bbef
Signed-off-by: Andrej Mak <andmak@cisco.com>
8 years agoMerge "Sal-rest-connector unit tests switch to new yang parser."
Tony Tkacik [Wed, 3 Feb 2016 09:07:14 +0000 (09:07 +0000)]
Merge "Sal-rest-connector unit tests switch to new yang parser."

8 years agoNetconfOperationRouterImpl unit test. 49/33949/1
Andrej Mak [Wed, 3 Feb 2016 09:04:00 +0000 (10:04 +0100)]
NetconfOperationRouterImpl unit test.

Change-Id: Id3f37f10c60b974bbf52bba3ac3ee88256de1387
Signed-off-by: Andrej Mak <andmak@cisco.com>
8 years agoIgnore netconf tools from sonar report 53/33353/5
Tomas Cere [Fri, 22 Jan 2016 12:17:08 +0000 (13:17 +0100)]
Ignore netconf tools from sonar report

No need to include these.

Change-Id: Ib7024e5e80bd2c307fdd3e9fed7a06883ca21db6
Signed-off-by: Tomas Cere <tcere@cisco.com>
8 years agoMerge "BUG 5125: Fix NPE on module's with unknown namespace"
Tony Tkacik [Tue, 2 Feb 2016 16:28:25 +0000 (16:28 +0000)]
Merge "BUG 5125: Fix NPE on module's with unknown namespace"

8 years agoSal-rest-connector unit tests switch to new yang parser. 16/33916/1
Peter Kajsa [Tue, 2 Feb 2016 16:08:36 +0000 (17:08 +0100)]
Sal-rest-connector unit tests switch to new yang parser.

Change-Id: I4efa8e265ca2827033cb0cd3f0b8be3924616842
Signed-off-by: Peter Kajsa <pkajsa@cisco.com>
8 years agoBUG 5125: Fix NPE on module's with unknown namespace 04/33904/2
Tomas Cere [Tue, 2 Feb 2016 14:11:26 +0000 (15:11 +0100)]
BUG 5125: Fix NPE on module's with unknown namespace

Change-Id: I9e7db1f3aa36bf6def6318442bb2559cc698dd2c
Signed-off-by: Tomas Cere <tcere@cisco.com>
8 years agoNetconfMonitoringServiceImpl unit test 49/33849/4
Andrej Mak [Mon, 1 Feb 2016 11:21:47 +0000 (12:21 +0100)]
NetconfMonitoringServiceImpl unit test

Change-Id: Ie00fc204e4b58977c6f5adf67ff2aa105c9d93a5
Signed-off-by: Andrej Mak <andmak@cisco.com>
8 years agoBug 3934: Websockets: Scope ONE doesn't work correctly 76/33876/1
Martin Ciglan [Fri, 29 Jan 2016 11:08:36 +0000 (12:08 +0100)]
Bug 3934: Websockets: Scope ONE doesn't work correctly

Bug fix for vcmts system manager.

Change-Id: I4b7d934ace1ba60afd166dd62aacdc855cd7a9df
Signed-off-by: Martin Ciglan <mciglan@cisco.com>
(cherry picked from commit 7abe0b78308fb359c6b761661de4bf2aa48bfee2)

8 years agoMerge "Bug 3934: Websockets: Scope ONE doesn't work correctly"
Maros Marsalek [Mon, 1 Feb 2016 14:43:40 +0000 (14:43 +0000)]
Merge "Bug 3934: Websockets: Scope ONE doesn't work correctly"

8 years agoMerge "Stop failing netconf connection on revision mismatch"
Tony Tkacik [Mon, 1 Feb 2016 12:15:05 +0000 (12:15 +0000)]
Merge "Stop failing netconf connection on revision mismatch"

8 years agoBug 3934: Websockets: Scope ONE doesn't work correctly 12/33612/3
Martin Ciglan [Wed, 27 Jan 2016 10:26:37 +0000 (11:26 +0100)]
Bug 3934: Websockets: Scope ONE doesn't work correctly

Make sure data in data-change-event is wrapped in data element
per sal-remote.yang specification

Change-Id: Iaac2005a249f53664824ebe99bcfff02fbdd3097
Signed-off-by: Martin Ciglan <mciglan@cisco.com>
8 years agoBUG-5019: adjust to changed NormalizedNodeStreamWriter API 29/33229/2
Robert Varga [Thu, 21 Jan 2016 17:32:32 +0000 (18:32 +0100)]
BUG-5019: adjust to changed NormalizedNodeStreamWriter API

This patch just provides the information which is readily available.

Change-Id: Ie56c880c6480d6be750d4efdeeceea6036509bb8
Signed-off-by: Robert Varga <rovarga@cisco.com>
8 years agoBug 3934: Websockets: Scope ONE doesn't work correctly 45/33045/13
Martin Ciglan [Tue, 19 Jan 2016 22:42:06 +0000 (23:42 +0100)]
Bug 3934: Websockets: Scope ONE doesn't work correctly

When processing an event which contains a capture of changes in a data subtree,
path and operation are captured to DOM Element, but data itself is ignored.

Change-Id: I11e6a5be5f5f4a025cf3edeb181140c573227a94
Signed-off-by: Martin Ciglan <mciglan@cisco.com>
8 years agoExtract duplicated code to superclass 43/33543/1
Andrej Mak [Tue, 26 Jan 2016 10:07:53 +0000 (11:07 +0100)]
Extract duplicated code to superclass

Move dupicated code from SyncExecutionStrategy and AsyncExecutionStrategy to AbstractExecutionStrategy

Change-Id: I29b41cd3b5dcf6ac8f8097cfa53bc26e125bf778
Signed-off-by: Andrej Mak <andmak@cisco.com>
8 years agoMerge "Topology node writer UnitTests"
Tony Tkacik [Mon, 25 Jan 2016 16:51:32 +0000 (16:51 +0000)]
Merge "Topology node writer UnitTests"

8 years agoMerge "Bug 4577 Allow specification of a distinct schema cache directory per netconf...
Tony Tkacik [Mon, 25 Jan 2016 16:50:53 +0000 (16:50 +0000)]
Merge "Bug 4577 Allow specification of a distinct schema cache directory per netconf device"

8 years agoMove NetconfHelloMessage to netconf-api 82/33482/2
Andrej Mak [Mon, 25 Jan 2016 14:11:30 +0000 (15:11 +0100)]
Move NetconfHelloMessage to netconf-api

Make sessionPreferences return NetconfHelloMessage.
Move NetconfHelloMessage and NetconfHelloMessageAdditionalHeader test to netconf-api.

Change-Id: I8f619954b2ae1428791d1161cba2b4c238083b42
Signed-off-by: Andrej Mak <andmak@cisco.com>
8 years agoAdd more context when data parsing fails 80/33380/2
Robert Varga [Fri, 22 Jan 2016 18:15:51 +0000 (19:15 +0100)]
Add more context when data parsing fails

This adds information about the XML element which failed to parse. Also
cleans up some eclipse warnings.

Change-Id: I8accc396bc166de26a9a1efe3678e648ac17b28e
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
8 years agoTopology node writer UnitTests 52/33352/1
Tomas Cere [Fri, 22 Jan 2016 10:16:52 +0000 (11:16 +0100)]
Topology node writer UnitTests

Change-Id: I1b1003c15a7595cbe32f7a6fa0f2cafb0812d826
Signed-off-by: Tomas Cere <tcere@cisco.com>
8 years agoMerge "BUG 5014 - init topology for config datastore"
Tony Tkacik [Fri, 22 Jan 2016 12:36:27 +0000 (12:36 +0000)]
Merge "BUG 5014 - init topology for config datastore"

8 years agoBug 4577 Allow specification of a distinct schema cache directory per netconf device 62/32362/4
Ryan Goulding [Mon, 11 Jan 2016 20:02:18 +0000 (15:02 -0500)]
Bug 4577 Allow specification of a distinct schema cache directory per netconf device

A leaf is added to odl-sal-netconf-connector-cfg.yang to allow specification of
a schema cache directory relative to the "cache" directory.  The leaf defaults to
"schema", so the default directory for loaded yang files is "cache/schema".  It
is useful to specify a distinct cache directory per netconf mount to avoid potential
model conflicts caused by revisionless import statements.

Change-Id: Id930932aa4ff17a7338ddf96e87557b3949b4204
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
(cherry picked from commit cca187da2cfeeab02a1679657777b7c3d6f65f2c)

8 years agoMerge "Bug 4940 - correctly implement default-request-timeout-millis"
Tony Tkacik [Fri, 22 Jan 2016 08:33:46 +0000 (08:33 +0000)]
Merge "Bug 4940 - correctly implement default-request-timeout-millis"

8 years agoBUG 5014 - init topology for config datastore 12/33212/2
Tomas Cere [Thu, 21 Jan 2016 09:16:07 +0000 (10:16 +0100)]
BUG 5014 - init topology for config datastore

this adds initialization for both clustered and non-clustered version
of the feature.

Change-Id: Ia0bd0226853bdcaf9b1510a9a7ff3281209e2c33
Signed-off-by: Tomas Cere <tcere@cisco.com>
8 years agoBump yangtools to 1.0.0-SNAPSHOT 75/33275/4
Thanh Ha [Thu, 21 Jan 2016 20:58:41 +0000 (15:58 -0500)]
Bump yangtools to 1.0.0-SNAPSHOT

Change-Id: Ib0ddab799c711dc4bdb6a332cd7f993a764f608f
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoBug 4940 - correctly implement default-request-timeout-millis 06/33206/2
adetalhouet [Thu, 21 Jan 2016 13:30:19 +0000 (08:30 -0500)]
Bug 4940 - correctly implement default-request-timeout-millis

Change-Id: I5eadfdaff9f67ef79b4fae47135012865f40a9eb
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
8 years agoStop failing netconf connection on revision mismatch 04/33104/1
Tomas Cere [Mon, 18 Jan 2016 17:08:02 +0000 (18:08 +0100)]
Stop failing netconf connection on revision mismatch

When there's a mismatch between model revision and what the device
reports we should omit this model and not fail the whole connection.

Change-Id: I642406a4a9d10c00da947825b0f9b7933dda72c6
Signed-off-by: Tomas Cere <tcere@cisco.com>
(cherry picked from commit 7b6d98b155a6e0a513def50f6c7e28c8d2311d39)

8 years agoInit topology-netconf when clustered topology starts 51/32951/2
Tomas Cere [Mon, 18 Jan 2016 12:23:58 +0000 (13:23 +0100)]
Init topology-netconf when clustered topology starts

Change-Id: I527de936aeb88d58de5efa7dbd8463c38034dd2e
Signed-off-by: Tomas Cere <tcere@cisco.com>
(cherry picked from commit f80c0ace6ed158b8deb8c72d828c3c3c7269462d)

8 years agoBump scala version to match version bump in controller. 92/32992/1
Tomas Cere [Mon, 18 Jan 2016 10:19:56 +0000 (11:19 +0100)]
Bump scala version to match version bump in controller.

Should only be merged after the version bump in controller.

Change-Id: I8df0c07b5373ec6506d445b1c061be0cdc169416
Signed-off-by: Tomas Cere <tcere@cisco.com>
8 years agoMerge "BUG 4930: Make keepalive executor definition actually non-mandatory"
Tony Tkacik [Tue, 19 Jan 2016 08:42:24 +0000 (08:42 +0000)]
Merge "BUG 4930: Make keepalive executor definition actually non-mandatory"

8 years agoMerge "Fix netconf-config-connector NetconfMappingTest"
Tony Tkacik [Mon, 18 Jan 2016 17:10:09 +0000 (17:10 +0000)]
Merge "Fix netconf-config-connector NetconfMappingTest"

8 years agoMerge "Bug 4114 - netconf connector replace causes transaction chain failure"
Tony Tkacik [Mon, 18 Jan 2016 16:49:22 +0000 (16:49 +0000)]
Merge "Bug 4114 - netconf connector replace causes transaction chain failure"

8 years agoFix netconf-config-connector NetconfMappingTest 98/32598/3
Jakub Morvay [Thu, 14 Jan 2016 16:19:49 +0000 (17:19 +0100)]
Fix netconf-config-connector NetconfMappingTest

Since commit operation does not fail when no transaction is
present, remove test expecting exception in such case.

Change-Id: Ib6b94570979b7821fede39a23240463c6524e04e
Signed-off-by: Jakub Morvay <jmorvay@cisco.com>
8 years agoMerge "Bug 4455 - Inconsistent COMMIT operation handling when no transactions are...
Tony Tkacik [Mon, 18 Jan 2016 10:11:47 +0000 (10:11 +0000)]
Merge "Bug 4455 - Inconsistent COMMIT operation handling when no transactions are present"

8 years agoMerge "Patch for Bug 3889(redundant final keyword) and Bug 3900 (specific exception...
Maros Marsalek [Fri, 15 Jan 2016 11:38:10 +0000 (11:38 +0000)]
Merge "Patch for Bug 3889(redundant final keyword) and Bug 3900 (specific exception catch)"

8 years agoBUG 4930: Make keepalive executor definition actually non-mandatory 34/32434/4
Tomas Cere [Tue, 12 Jan 2016 16:14:03 +0000 (17:14 +0100)]
BUG 4930: Make keepalive executor definition actually non-mandatory

Yangtools started enforcing mandatory statements and keepalive
executor was not actually non-mandatory since name still inherited
mandatory true from the config model.

While we're here cleanup netconf connector module from leftovers
of the old topology-netconf connector design.

Change-Id: Ia2872f557f3cbc61df3130c7e55135148d29fde3
Signed-off-by: Tomas Cere <tcere@cisco.com>
8 years agoBump versions by 0.1.0 for next dev cycle 99/32699/1
Thanh Ha [Fri, 15 Jan 2016 03:35:54 +0000 (22:35 -0500)]
Bump versions by 0.1.0 for next dev cycle

Change-Id: Ied942a421cea00866329bb986014cff467c8f5e0
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoBug 4114 - netconf connector replace causes transaction chain failure 79/32579/2
adetalhouet [Thu, 14 Jan 2016 13:53:41 +0000 (08:53 -0500)]
Bug 4114 - netconf connector replace causes transaction chain failure

In order to avoid race condition when txChain perform delete then write
transactions in a row to the same path, perfom the delete as a blocking
transaction so once done, write can be perform without any race condition

Also reset the txChain after a failure.

Change-Id: If0c51be8fe80106a6722abb93dbe4b47548fce1b
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
8 years agoBug 4455 - Inconsistent COMMIT operation handling when no transactions are present 75/32575/3
Jakub Morvay [Thu, 14 Jan 2016 12:39:01 +0000 (13:39 +0100)]
Bug 4455 - Inconsistent COMMIT operation handling when no transactions are present

Return positive response for commit operation in netconf mdsal
northbound even if no candidate transaction is open for session.

Change-Id: I2483a1e4da533566ce318bab0858af2a4fb3c6d3
Signed-off-by: Jakub Morvay <jmorvay@cisco.com>
8 years agoFix setting connection timeout milliseconds parameter 07/32507/2
Jakub Morvay [Wed, 13 Jan 2016 14:09:29 +0000 (15:09 +0100)]
Fix setting connection timeout milliseconds parameter

Populate connection timeout milliseconds parameter in netconf topology with
corresponding value from netconf node.

Change-Id: Ib742a2d905228656e0236268269cb2548413e649
Signed-off-by: Jakub Morvay <jmorvay@cisco.com>
8 years agoBug 4129 - available capabilities are not updated after sideload 68/32068/4
Jakub Morvay [Wed, 23 Dec 2015 08:30:50 +0000 (09:30 +0100)]
Bug 4129 - available capabilities are not updated after sideload

Change-Id: I44559f6cb60b9312352a1aa10c30bbb471b33548
Signed-off-by: Jakub Morvay <jmorvay@cisco.com>
8 years agoMerge "BUG 4547: Make sure all channel writes are from a netty thread."
Maros Marsalek [Wed, 13 Jan 2016 10:13:55 +0000 (10:13 +0000)]
Merge "BUG 4547: Make sure all channel writes are from a netty thread."

8 years agoBUG-2062: use newly-introduced ordered leaf-list methods 68/32268/3
Robert Varga [Fri, 8 Jan 2016 10:47:47 +0000 (11:47 +0100)]
BUG-2062: use newly-introduced ordered leaf-list methods

This adds explicit handling of ordered nodes, so that the ordering is
really retained.

Change-Id: I292fa81c5e8a44755e13a1da75bc083a9138a6a0
Signed-off-by: Robert Varga <rovarga@cisco.com>
8 years agoMerge "Fix yang source provisioning from MD-SAL netconf northbound"
Tony Tkacik [Mon, 11 Jan 2016 14:11:56 +0000 (14:11 +0000)]
Merge "Fix yang source provisioning from MD-SAL netconf northbound"

8 years agoBUG 4547: Make sure all channel writes are from a netty thread. 72/32272/5
Tomas Cere [Fri, 8 Jan 2016 12:09:02 +0000 (13:09 +0100)]
BUG 4547: Make sure all channel writes are from a netty thread.

When we were in restconf thread some writes were executed from jetty thread,
we need to make sure all channel writes are coming from netty thread to
preserve message ordering.

Change-Id: I6ca8dda82c11338b1ff590c808f12fa0def9ca33
Signed-off-by: Tomas Cere <tcere@cisco.com>
8 years agoMerge "Add logging for RPC calls."
Maros Marsalek [Sat, 9 Jan 2016 11:33:11 +0000 (11:33 +0000)]
Merge "Add logging for RPC calls."

8 years agoMerge "Cleanup features a bit"
Maros Marsalek [Sat, 9 Jan 2016 10:17:54 +0000 (10:17 +0000)]
Merge "Cleanup features a bit"

8 years agoAdd logging for RPC calls. 02/32202/4
adetalhouet [Wed, 6 Jan 2016 19:43:22 +0000 (14:43 -0500)]
Add logging for RPC calls.

Change-Id: I97503fc2e098e3c048e10041d8f3de4b65a1e4f6
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
8 years agoFix yang source provisioning from MD-SAL netconf northbound 26/32226/3
Maros Marsalek [Thu, 7 Jan 2016 13:10:22 +0000 (14:10 +0100)]
Fix yang source provisioning from MD-SAL netconf northbound

Change-Id: Iab11d3780379e681d2d6228868e8b96cd894cb56
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoMerge "Revert "BUG 2594 - PUT method returns wrong status on create""
Tony Tkacik [Fri, 8 Jan 2016 09:12:08 +0000 (09:12 +0000)]
Merge "Revert "BUG 2594 - PUT method returns wrong status on create""

8 years agoRevert "BUG 2594 - PUT method returns wrong status on create" 15/32215/1
Tomas Cere [Thu, 7 Jan 2016 09:03:00 +0000 (09:03 +0000)]
Revert "BUG 2594 - PUT method returns wrong status on create"

This reverts commit 93816f7aeacd89785f083a82036bf6a7d90c316a.

Change-Id: I741add04db100359087d89537744d027a2c4fb6f
Signed-off-by: Tomas Cere <tcere@cisco.com>
8 years agoMerge "Make mdsal datastore persist through different sessions"
Maros Marsalek [Tue, 5 Jan 2016 14:32:43 +0000 (14:32 +0000)]
Merge "Make mdsal datastore persist through different sessions"

8 years agoMake mdsal datastore persist through different sessions 08/31708/5
Tomas Cere [Mon, 21 Dec 2015 15:36:52 +0000 (16:36 +0100)]
Make mdsal datastore persist through different sessions

Each device needs cached set of datastore operations.

Change-Id: Ib0d846d6e3b118c55890f4e76e19174849b68115
Signed-off-by: Tomas Cere <tcere@cisco.com>
8 years agoBUG-4709 Fix first keepalive execution 33/32133/2
adetalhouet [Tue, 5 Jan 2016 13:40:25 +0000 (08:40 -0500)]
BUG-4709 Fix first keepalive execution

Change-Id: I6afcf70ec6b0b46cad861755e13ad33a2a692d19
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
8 years agoCleanup features a bit 07/32107/2
Robert Varga [Mon, 4 Jan 2016 21:33:29 +0000 (22:33 +0100)]
Cleanup features a bit

Use artifacts imports in pom.xmls (partial conversion) and use odl-netty
feature.

Change-Id: Id50719e7e1b84fcd7b9048d3fb7d6476793b12ce
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>