Jakub Morvay [Fri, 4 Nov 2016 08:46:10 +0000 (08:46 +0000)]
Merge "Bug 6731 - add valid example values"
Alexis de Talhouët [Thu, 15 Sep 2016 20:25:42 +0000 (16:25 -0400)]
Add blueprint wiring for messagebus-netconf
Change-Id: I3d6f7845a0ab898e5e4f7d3c45cbc3f6eba746c0
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
Jakub Morvay [Wed, 2 Nov 2016 18:39:21 +0000 (18:39 +0000)]
Merge "Add netconf-netty-util tests"
Jakub Morvay [Wed, 2 Nov 2016 18:36:50 +0000 (18:36 +0000)]
Merge "Add netconf-impl unit tests"
Jakub Morvay [Wed, 2 Nov 2016 18:35:29 +0000 (18:35 +0000)]
Merge "Add netconf-util tests and remove unused classes"
Jakub Morvay [Wed, 2 Nov 2016 17:35:56 +0000 (17:35 +0000)]
Merge "Add blueprint wiring for netconf-client"
Jakub Morvay [Wed, 2 Nov 2016 17:32:40 +0000 (17:32 +0000)]
Merge changes from topic 'blueprint'
* changes:
Remove remaining yang and xml config system files
Add blueprint wiring for mdsal-netconf-yang-library
Add blueprint wiring for mdsal-netconf-monitoring
Add blueprint wiring to mdsal-netconf-notification
Add blueprint wiring to netconf-notification-impl
Add blueprint wiring for mdsal-netconf-connector
Add blueprint wiring for netconf-impl
Add blueprint wiring for netconf-ssh
Add blueprint wiring for aaa-authn-odl-plugin
Jakub Morvay [Wed, 2 Nov 2016 15:06:25 +0000 (15:06 +0000)]
Merge "Add blueprint wiring for netconf-console"
miroslav.kovac [Tue, 11 Oct 2016 14:18:44 +0000 (16:18 +0200)]
Bug 6731 - add valid example values
Add API Explorer Model Schema Data Type 'Click to set as parameter
value' valid example values taking in consideration -> default values,
patterns, data types, min and max value.
Change-Id: I81e566bf81d830ddd8da278323e17a3e0e27ec3e
Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>
Alexis de Talhouët [Thu, 27 Oct 2016 21:20:54 +0000 (17:20 -0400)]
Remove remaining yang and xml config system files
Change-Id: Id2610630046a22b81b10a4155f08ed149d056b09
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
Alexis de Talhouët [Thu, 15 Sep 2016 13:16:30 +0000 (09:16 -0400)]
Add blueprint wiring for mdsal-netconf-yang-library
Change-Id: I36f331c6486130f55411fb794625a78780da6268
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
Alexis de Talhouët [Wed, 14 Sep 2016 23:45:04 +0000 (19:45 -0400)]
Add blueprint wiring for mdsal-netconf-monitoring
Define concurrent maps and sets to avoid having to synchronize
functions when operation are occuring on those objects.
Change-Id: Icc3e5e688a9b1c131eb28c995c9689f6425fc7b2
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
Alexis de Talhouët [Wed, 21 Sep 2016 23:23:28 +0000 (19:23 -0400)]
Add blueprint wiring to mdsal-netconf-notification
Change classes' modifiers to public so they can be instantiated
using blueprint.
Change-Id: I7b9ac6eaca8f8d7ff8b058e257b5092160ba09bb
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
Alexis de Talhouët [Wed, 26 Oct 2016 15:03:20 +0000 (11:03 -0400)]
Add blueprint wiring to netconf-notification-impl
- add the mdsal-notification-mapper blueprint xml file in mdsal-netconf-notification,
as this bundle is pulled in by the odl-netconf-mdsal feature, loading the config system
file responsible to create the modules.
Change-Id: I67fb0be3e9765177bb34f81461978954b4632a53
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
Alexis de Talhouët [Tue, 20 Sep 2016 16:06:41 +0000 (12:06 -0400)]
Add blueprint wiring for mdsal-netconf-connector
Change-Id: Ic25810cd354c2fc37362248d8267f0b4d7e6d412
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
Alexis de Talhouët [Tue, 20 Sep 2016 19:57:02 +0000 (15:57 -0400)]
Add blueprint wiring for netconf-impl
- create mdsal-netconf-impl bundle containing the blueprint xml
file to start-up the md-sal netconf server implementation.
Change-Id: I43e57671651d4321f7a955376b6f6850cc430f56
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
Alexis de Talhouët [Wed, 12 Oct 2016 02:10:27 +0000 (22:10 -0400)]
Add blueprint wiring for netconf-ssh
- create mdsal-netconf-ssh bundle containing the blueprint xml
file to start-up the md-sal netconf server ssh.
Change-Id: I20d3d22f8c58b8b28a113f3969c9da0e7d84b028
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
Alexis de Talhouët [Wed, 5 Oct 2016 20:00:11 +0000 (16:00 -0400)]
Add blueprint wiring for aaa-authn-odl-plugin
Change-Id: Ice0fcaf58aae9b9402e9b6e515e57b2157a1be69
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
Tomas Cere [Mon, 31 Oct 2016 15:23:00 +0000 (16:23 +0100)]
Clear out tx reference immediately after submit.
When sumbmitting multiple transactions after each other
you could get into a state in which a transaction was submitted
and the reference wasn't cleared out in the callback resulting in
attempts to use an already finished transaction.
Change-Id: Iebf6ed10760c106e45c51665c63f45debe7e7063
Signed-off-by: Tomas Cere <tcere@cisco.com>
Andrej Mak [Mon, 31 Oct 2016 06:43:04 +0000 (07:43 +0100)]
Add netconf-util tests and remove unused classes
Change-Id: I37d10d6e7a790d0fe58b64f9a91a4d29bd0eed24
Signed-off-by: Andrej Mak <andrej.mak@pantheon.tech>
Andrej Mak [Fri, 28 Oct 2016 06:36:29 +0000 (08:36 +0200)]
Add netconf-impl unit tests
Change-Id: If36e4cee4de8635b6e361e0e6eb9809060f99dbd
Signed-off-by: Andrej Mak <andrej.mak@pantheon.tech>
Tomas Cere [Thu, 27 Oct 2016 15:58:34 +0000 (15:58 +0000)]
Merge "Bug 6931 - Fix unsupported specific type of leaf"
Tomas Cere [Thu, 27 Oct 2016 15:56:00 +0000 (15:56 +0000)]
Merge "Use UTF-8 as the standard output"
Robert Varga [Thu, 27 Oct 2016 11:37:17 +0000 (13:37 +0200)]
Use UTF-8 as the standard output
Do not rely on environment-specific encoding, but always
use UTF-8 as the target encoding.
Change-Id: I540fed7611ec66ae2aaeec3b86e21af7376208b9
Signed-off-by: Robert Varga <rovarga@cisco.com>
Tomas Cere [Thu, 27 Oct 2016 11:54:44 +0000 (11:54 +0000)]
Merge "InstanceIdentifierCodecImpl JUnit test"
Jakub Toth [Wed, 12 Oct 2016 16:59:33 +0000 (18:59 +0200)]
Bug 6931 - Fix unsupported specific type of leaf
* add value to YangInstanceIdentifier as type of leaf
* converting of value of leaf to String in
YangInstanceIdentifierSerializer
* fix tests according to parsing value of leaf by type
Change-Id: I4796b0b116b46d57b9c302bb828beab692f40ed3
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Tomas Cere [Thu, 27 Oct 2016 10:21:44 +0000 (10:21 +0000)]
Merge "Bug 7032 netconf-console support schemaless mount point"
Tom Pantelis [Thu, 27 Oct 2016 01:39:48 +0000 (21:39 -0400)]
Use SerializationUtils from sal-clustering-commons
THe SerializationUtils class has been moved from sal-distributed-datastore to
sal-clustering-commons by https://git.opendaylight.org/gerrit/#/c/47637/ so
change usages.
Change-Id: Id279d5c805a400b650cbe2fc8f714c0d1a0794a6
Signed-off-by: Tom Pantelis <tpanteli@brocade.com>
matus.kubica [Mon, 17 Oct 2016 15:10:08 +0000 (17:10 +0200)]
InstanceIdentifierCodecImpl JUnit test
Test serialize and deserialize methods of InstanceIdentifierCodecImpl class
Change-Id: Id40a25e2ed5828cc78368f4baa9dfdd205f078d3
Signed-off-by: matus.kubica <Matus.Kubica@pantheon.tech>
Geng Xingyuan [Wed, 26 Oct 2016 02:45:36 +0000 (10:45 +0800)]
Bug 7032 netconf-console support schemaless mount point
Change-Id: Id7ed42f87f72a5162ecb6bfdc798062307a3dad0
Signed-off-by: Geng Xingyuan <geng.xingyuan@zte.com.cn>
Andrej Mak [Fri, 21 Oct 2016 12:41:09 +0000 (14:41 +0200)]
Add netconf-netty-util tests
Change-Id: I34adb433d6e078f3c95fd4a1516d44ce8ee0463a
Signed-off-by: Andrej Mak <andrej.mak@pantheon.tech>
Alexis de Talhouët [Mon, 24 Oct 2016 15:25:07 +0000 (11:25 -0400)]
Add blueprint wiring for netconf-client
- move netconf-config-dispatcher to netconf-client because the *Module
is creating a proxy that needs to share the same classpath as the netconf-client
as it is the bundle providing its implementation and some of its classes
aren't public, but either package-private or protected.
- remove netconf-config-dispatcher from everywhere, but keep the models
there for now as the USC project is dependent on them. To avoid having a flag
day, we keep the models here until https://git.opendaylight.org/gerrit/#/c/46621/
is merged. That patch will be eligible to be merged only once this current
patch is merged.
Change-Id: I2b7007115bf7228ceac6db5946d4e0b859d8ecc6
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
Tomas Cere [Mon, 24 Oct 2016 13:58:20 +0000 (15:58 +0200)]
Add mdsal-singleton-common-api to singleton pom
Change-Id: I4159b4ef312f5d924426af82e1bf02f07ee8a5bc
Signed-off-by: Tomas Cere <tcere@cisco.com>
Tomas Cere [Mon, 24 Oct 2016 13:01:42 +0000 (13:01 +0000)]
Merge "Clean-up netconf-client"
Tomas Cere [Mon, 24 Oct 2016 10:18:14 +0000 (10:18 +0000)]
Merge "Add unit tests for sal-netconf-connector"
Tomas Cere [Mon, 24 Oct 2016 10:17:44 +0000 (10:17 +0000)]
Merge "Add sal-netconf-connector unit tests"
Tomas Cere [Mon, 24 Oct 2016 10:02:58 +0000 (10:02 +0000)]
Merge "Add unit tests for sal-netconf-connector transactions"
Tomas Cere [Mon, 24 Oct 2016 07:35:34 +0000 (07:35 +0000)]
Merge "Remove old clustered netconf topology implementation"
Alexis de Talhouët [Fri, 21 Oct 2016 21:22:53 +0000 (17:22 -0400)]
Add logging in tx facade along with the RemoteDeviceId
Change-Id: I0e30376d65ff734ff3dc34809554b961a013a15b
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
Alexis de Talhouët [Fri, 21 Oct 2016 20:37:48 +0000 (16:37 -0400)]
Add the RemoteDeviceId at the begining of the log
So it's easier to grep and find things related to one netconf
connector, and also, to keep things consistent with how it's
already done in sal-netconf-connector
Change-Id: I29ee41c699de8287fd6e00f3a04cacb3d17c5fd1
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
Alexis de Talhouët [Fri, 21 Oct 2016 20:28:39 +0000 (16:28 -0400)]
Move SubmitFailedReply in the appropriate package
SubmitFailedReply is a transaction related message, hence
should resides under the .transactions package
Change-Id: I7b95f664c88ce2525a742d5543ab562cae709d2b
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
Alexis de Talhouët [Fri, 21 Oct 2016 20:28:11 +0000 (16:28 -0400)]
Remove unused imports
Change-Id: I8079b664133e88a3b35f21a3c41e84e890a8ff46
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
Alexis de Talhouët [Fri, 21 Oct 2016 20:26:02 +0000 (16:26 -0400)]
Use SerializationUtils to (de)serialize NormalizedNode and YangInstanceIdentifier
Controller CDS implementation provide utility method for this,
we can re-use them, as it appears it's keeping a ThreadLocal
holding NormalizedNodeDataOutput instance
Change-Id: Ia106f33d04f937ac8dacf89cb6837a157eee8ae1
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
Alexis de Talhouët [Fri, 21 Oct 2016 19:46:13 +0000 (15:46 -0400)]
Add serialVersionUID to all java.io.Serializable messages
Change-Id: I4928273c0d65e782162d099ddbae36a0c9fe1c63
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
Alexis de Talhouët [Fri, 21 Oct 2016 19:21:54 +0000 (15:21 -0400)]
Update netconf-topology-singleton.xml file formatting
- Inline the closing statement
- Rename to bean to be more accurate
Change-Id: I2e2052b7b86b12139b2573c0e3828730cc8d606d
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
Jakub Morvay [Fri, 21 Oct 2016 11:22:39 +0000 (13:22 +0200)]
Remove old clustered netconf topology implementation
Since new netconf clustering implementation resides in
netconf-topology-singleton module, old implementation is not needed
anymore. This patch gets rid of it.
Change-Id: I99ba7baced099bd5431a4014378d4ab3b22d93ba
Signed-off-by: Jakub Morvay <jmorvay@cisco.com>
Rudolf Brisuda [Fri, 7 Oct 2016 09:44:23 +0000 (11:44 +0200)]
Bug 6714 - Use singleton service in clustered netconf topology
Implemented clustered netconf topology with using clustered
singleton service.
Change-Id: I0e71a9934a70c6bce8eeab0644a5bd05c5548a8c
Signed-off-by: Rudolf Brisuda <rbrisuda@cisco.com>
Ivan Hrasko [Fri, 21 Oct 2016 13:38:38 +0000 (15:38 +0200)]
Fix tests after merging Change 47121 to Yangtools
Change-Id: I4bafce0972da4e83fe4575517b5e95808bb21caf
Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech>
Vratko Polak [Thu, 20 Oct 2016 15:25:00 +0000 (17:25 +0200)]
Add xml config dependency to features pom
Configfile added here [0] also needs to be listed as pom dependency,
otherwise distribution-check would fail.
Also added to netconf-artifacts.
[0] https://git.opendaylight.org/gerrit/#/c/44243/10/features/netconf/src/main/features/features.xml
Change-Id: If016aadb03154d83ddd0afa680e8d1d8acd88217
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Tomas Cere [Thu, 20 Oct 2016 13:02:06 +0000 (13:02 +0000)]
Merge "Add more unit tests for sal-netconf-connector"
Tomas Cere [Thu, 20 Oct 2016 13:01:27 +0000 (13:01 +0000)]
Merge "Bug 6023 - Adress for config subsystem netconf endpoint is not configurable"
Andrej Mak [Thu, 20 Oct 2016 07:19:39 +0000 (09:19 +0200)]
Add more unit tests for sal-netconf-connector
Change-Id: I76df3726b4c99c93c3ab98edcf0e7aca94d99b79
Signed-off-by: Andrej Mak <andrej.mak@pantheon.tech>
Rudolf Brisuda [Wed, 17 Aug 2016 12:03:04 +0000 (14:03 +0200)]
Bug 6023 - Adress for config subsystem netconf endpoint is not configurable
- added NetconfConfigurationActivator for loading ManagedService
- updating configuration from karaf netconf.cfg file
- edited NetconfTCPActivator, NetconfSSHActivator for run with
cfg values
Change-Id: I5069a9f307a9a9b7c2d79723dc6c1cca0b2cc201
Signed-off-by: Rudolf Brisuda <rudolf.brisuda@pantheon.tech>
Andrej Mak [Wed, 19 Oct 2016 08:24:36 +0000 (10:24 +0200)]
Add unit tests for sal-netconf-connector transactions
Change-Id: I49cbfacd1c41cb531f6fb003110721ae9cbccf0f
Signed-off-by: Andrej Mak <andrej.mak@pantheon.tech>
Alexis de Talhouët [Fri, 16 Sep 2016 13:50:38 +0000 (09:50 -0400)]
Add blueprint wiring for netconf-console
Also fix potential NPE when netconf:list-device is called
before the topology-netconf is initialized
Change-Id: Ic4e33ea7717511c26aa9cc9cbde4148f3e5549ac
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
Alexis de Talhouët [Tue, 20 Sep 2016 02:53:34 +0000 (22:53 -0400)]
Clean-up netconf-client
- Use lambda or method ref
Change-Id: I02c6b7a13d90119de061cca0f552c565f18e4862
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
Andrej Mak [Thu, 13 Oct 2016 11:18:58 +0000 (13:18 +0200)]
Add sal-netconf-connector unit tests
Change-Id: I6fa10f4a84da2d61cdea57d700195c0eca017f3c
Signed-off-by: Andrej Mak <andrej.mak@pantheon.tech>
Andrej Mak [Mon, 17 Oct 2016 06:58:50 +0000 (08:58 +0200)]
Add unit tests for sal-netconf-connector
Change-Id: I1a6131a38048ef8bd426a8e756ba5ec89e8026cb
Signed-off-by: Andrej Mak <andrej.mak@pantheon.tech>
Tomas Cere [Tue, 18 Oct 2016 10:53:24 +0000 (10:53 +0000)]
Merge "Bug 4868 - Extend netconf-node-topology model to distinguish user overriden capabilities from device reported capabilities"
Tomas Cere [Tue, 18 Oct 2016 08:53:43 +0000 (08:53 +0000)]
Merge "Bug 6936 - Fix post request"
Rudolf Brisuda [Mon, 15 Aug 2016 12:46:14 +0000 (14:46 +0200)]
Bug 4868 - Extend netconf-node-topology model to distinguish user overriden capabilities from device reported capabilities
- changed model and corresponding data bindings and imports, updated tests
Change-Id: I0c9dd78c0bf2c4485f27c0049909a04c6155e718
Signed-off-by: Rudolf Brisuda <rudolf.brisuda@pantheon.tech>
Rudolf Brisuda [Fri, 16 Sep 2016 11:05:24 +0000 (13:05 +0200)]
netconf-notifications-api unit tests added
Change-Id: I02d2bbabb6e5fabb8f45a89c9233a0e763636596
Signed-off-by: Rudolf Brisuda <rudolf.brisuda@pantheon.tech>
miroslav.kovac [Thu, 13 Oct 2016 06:26:51 +0000 (08:26 +0200)]
Bug 6936 - Fix post request
When post request sends data which already exist, it response with
data already exist.
Change-Id: I2ea60dfe4b8aa4236fbec0fd73b64a6f146146ee
Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>
Rudolf Brisuda [Mon, 19 Sep 2016 15:51:23 +0000 (17:51 +0200)]
netconf-console unit tests added
Change-Id: I3975e0740935dbbe6bc65f6e3ea3febf56507f39
Signed-off-by: Rudolf Brisuda <rudolf.brisuda@pantheon.tech>
Tomas Cere [Thu, 13 Oct 2016 08:38:28 +0000 (08:38 +0000)]
Merge "Bug 6679 - api explorer creates false examples"
Tomas Cere [Thu, 13 Oct 2016 08:36:31 +0000 (08:36 +0000)]
Merge "Bug 6272 - support RESTCONF PATCH for mounted NETCONF nodes"
Tomas Cere [Thu, 13 Oct 2016 08:35:55 +0000 (08:35 +0000)]
Merge "Bug 6746 - Restconf: Not working GET operation on mount points"
Tomas Cere [Thu, 13 Oct 2016 08:34:24 +0000 (08:34 +0000)]
Merge "Implement TesttoolParams.toString() via reflection"
Ivan Hrasko [Fri, 23 Sep 2016 11:33:13 +0000 (13:33 +0200)]
Bug 6272 - support RESTCONF PATCH for mounted NETCONF nodes
- solution for Restconf draft17
- make mount point service available when identifier is parsed
- added unit tests
Change-Id: Ie3c5cdc9cbcb10360ac9d0a082eab52efba75674
Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech>
miroslav.kovac [Mon, 10 Oct 2016 16:53:01 +0000 (18:53 +0200)]
Bug 6679 - api explorer creates false examples
Api explorer created false examples when yang has two data nodes with
same name in different containers or lists. It compared name of data
nodes rather than whole path to the data node which result to creting
examples of same types even if they should be different.
Fix examples by comparing the path to data node rather than just name
of the node.
Change-Id: I6f73fb37985fc78ad67ecc466ebfdfe569d7cd8d
Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>
Ivan Hrasko [Mon, 19 Sep 2016 14:22:53 +0000 (16:22 +0200)]
Bug 6746 - Restconf: Not working GET operation on mount points
- support for reading data on mount points
- improved merge for config and state data:
when identifiers for data in config and state are the same
then merge must by done at one level down, otherwise state
overrides config or vice versa
- identiers are parsed to identifiers context with reference
to mount points when data are behind mount point
- adapted and added unit tests
Change-Id: Iacc45946cc284ae8936f600f5af522926d39c216
Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech>
Jakub Toth [Wed, 5 Oct 2016 13:33:07 +0000 (15:33 +0200)]
Bug 6848 - update url pattern of restconf from 16 to 17
Change-Id: I41882d048a3aede5f4c47c3e160537f7a31a1fab
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Jakub Toth [Wed, 5 Oct 2016 12:56:08 +0000 (14:56 +0200)]
Bug 6848 - repackage providers for jersey+create xml
and json reader for restconf draft17
*fix tests
*rename tests part from draft11 to draft17
Change-Id: I1315bb693eccc34c78f07ea0acbf45f6ff972455
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Andrej Mak [Tue, 4 Oct 2016 09:08:58 +0000 (11:08 +0200)]
Implement TesttoolParams.toString() via reflection
Change-Id: I2222fcf8b5d95a343f107ed3acd557fbfdf40f42
Signed-off-by: Andrej Mak <andrej.mak@pantheon.tech>
Andrej Mak [Tue, 11 Oct 2016 06:20:17 +0000 (08:20 +0200)]
Fix compilation failure caused by DocumentedException refactoring
Change-Id: I4742760b4afba103af577efc5ffe5905a8255127
Signed-off-by: Andrej Mak <andrej.mak@pantheon.tech>
Andrej Mak [Tue, 4 Oct 2016 13:54:18 +0000 (15:54 +0200)]
Add unit test for NetconfConnectorModule
Change-Id: I865ab9edd5e056579c92aa1436cda8da032dc1e7
Signed-off-by: Andrej Mak <andrej.mak@pantheon.tech>
Tomas Cere [Fri, 7 Oct 2016 13:46:32 +0000 (13:46 +0000)]
Merge "Add missing Netconf node fields"
Tomas Cere [Fri, 7 Oct 2016 13:39:34 +0000 (13:39 +0000)]
Merge changes from topic 'Upgrade ietf-restconf draft16 to draft17'
* changes:
Bug 6848 - upgrade XML media type
Bug 6848 - upgrade namespace of notification container
Bug 6848 - Renaming to draft17
Tomas Cere [Fri, 7 Oct 2016 11:50:31 +0000 (11:50 +0000)]
Merge "Use BDD style mocking everywhere if used once."
Tomas Cere [Fri, 7 Oct 2016 10:21:43 +0000 (12:21 +0200)]
Do a proper disconnect when deleting a connector.
Change-Id: I1abba51e331eb1f019e5f2fe741f3836f840aae1
Signed-off-by: Tomas Cere <tcere@cisco.com>
Jakub Toth [Tue, 4 Oct 2016 06:54:46 +0000 (08:54 +0200)]
Bug 6848 - upgrade XML media type
Change-Id: I16b959a4f325468836477c60d094a1e7473de9e1
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Jakub Toth [Tue, 4 Oct 2016 06:48:07 +0000 (08:48 +0200)]
Bug 6848 - upgrade namespace of notification container
Change-Id: I6f50832bc94d809d5ba354ceb17dfdecc0b181bd
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Jakub Toth [Mon, 3 Oct 2016 13:48:08 +0000 (15:48 +0200)]
Bug 6848 - Renaming to draft17
Change-Id: Ib76f9f0ed4e86a4e9cc15d82fd4ede5040964969
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Andrej Mak [Wed, 5 Oct 2016 11:24:11 +0000 (13:24 +0200)]
Add missing Netconf node fields
Change-Id: I2128f4ddfc19fabb07ddae9f30e7bfceef3b7c56
Signed-off-by: Andrej Mak <andrej.mak@pantheon.tech>
Jakub Toth [Tue, 4 Oct 2016 12:02:06 +0000 (14:02 +0200)]
Fix close() in provider
*added condition on get() from handler
Change-Id: I45c89c44585dc1e5e3ae685eba8d6033ea2e171f
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Tomas Cere [Tue, 4 Oct 2016 11:58:28 +0000 (11:58 +0000)]
Merge "Bug 6635: Correct WriteRunningTx behavior"
Tomas Cere [Tue, 4 Oct 2016 11:08:32 +0000 (13:08 +0200)]
Use BDD style mocking everywhere if used once.
Change-Id: Ie8a67f7ef8b07037d37e4813e0afe2908707c1d5
Signed-off-by: Tomas Cere <tcere@cisco.com>
Andrej Mak [Tue, 27 Sep 2016 07:18:19 +0000 (09:18 +0200)]
Remove duplicated code
Spawning network connector via config subsystem now
only creates Netconf node from provided values
and writes it to the topology. Topology handles
the rest of mountpoint creation.
Change-Id: I443ca5c6668bf56d8e79cfe83aaa9d76af3b9d50
Signed-off-by: Andrej Mak <andrej.mak@pantheon.tech>
Tomas Cere [Tue, 4 Oct 2016 08:41:05 +0000 (08:41 +0000)]
Merge "Check Testool YANG filenames for revision"
Tomas Cere [Tue, 4 Oct 2016 08:40:43 +0000 (08:40 +0000)]
Merge "Bug 6099 - ControllerContext#addKeyValue ignores key type when key is derived type from instance-identifier"
Tomas Cere [Tue, 4 Oct 2016 08:39:27 +0000 (08:39 +0000)]
Merge "PATCH transaction JUnit test"
matus.kubica [Wed, 7 Sep 2016 12:22:44 +0000 (14:22 +0200)]
PATCH transaction JUnit test
Test patch operations with JUnit and Mockito
Merge some tests to one testing method
Rename tests
Add negative test
Check if MERGE makes put transaction on nonexistent data
Change-Id: I2d3529cd649a81a34017f3a9f5014e0f62c9773b
Signed-off-by: matus.kubica <Matus.Kubica@pantheon.tech>
Jakub Toth [Mon, 12 Sep 2016 13:30:06 +0000 (15:30 +0200)]
Bug 6099 - ControllerContext#addKeyValue ignores key type when key is derived
type from instance-identifier
* added instance identifier support as value
* JUnit test added
Change-Id: I4f6a070b5814ef2a33b68534d887745a099712c8
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Andrej Mak [Fri, 16 Sep 2016 12:27:49 +0000 (14:27 +0200)]
Bug 6635: Correct WriteRunningTx behavior
WriteRunningTx sends edit-config rpcs only after submit,
not after every put or merge as it was before.
Change-Id: I88268fa812b13a0718114d74ec1c44ce4d3d26b3
Signed-off-by: Andrej Mak <andrej.mak@pantheon.tech>
Ivan Hrasko [Tue, 27 Sep 2016 12:32:33 +0000 (14:32 +0200)]
Bug 6256 - OpenDaylight RESTCONF XML selects wrong YANG model for southbound NETCONF
- dataSchemaNode can contains multiple childs with the same name,
thus when looking for child also namespace has to be compared
- added unit tests
Change-Id: I922e96fd2aea686c27ad4683ef7366c6718486c3
Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech>
Ivan Hrasko [Fri, 2 Sep 2016 14:01:32 +0000 (16:01 +0200)]
Bug 6272 - support RESTCONF PATCH for mounted NETCONF nodes
- distinguish between operation on server or on mount point
- when operates on server then use global schema context and
data broker
- when operates on mount point then use schema context and
broker from mount point
- if broker on mount point is missing then PATCH operation fails
with global error
- contains unit tests
Change-Id: I97135a467209fcb4a5782d1c2677f482b842ff8a
Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech>
ykq [Thu, 29 Sep 2016 03:36:54 +0000 (11:36 +0800)]
Bug 6797 - Fix deadlock on cached schema-changed notifications
Add an atomic state in NetconfDeviceCommunicator to improve the state
transition of close operation, to avoid deadlock while multiple threads
are doing the close.
Change-Id: I2f2c41b86b724eba78a74bfb96c0b499dc7f79a3
Signed-off-by: ykq <yin.kangqian@zte.com.cn>
Tomas Cere [Thu, 29 Sep 2016 15:24:05 +0000 (15:24 +0000)]
Merge "Move sal-remote to sal-rest-connector"
Tomas Cere [Thu, 29 Sep 2016 11:51:09 +0000 (11:51 +0000)]
Merge "netconf-api simple unit test added"
Tomas Cere [Thu, 29 Sep 2016 11:47:16 +0000 (11:47 +0000)]
Merge "mdsal-notification simple unit test added"