JMorvay [Fri, 24 Jul 2015 10:29:44 +0000 (12:29 +0200)]
Make test-tool advertise candidate capability
Change-Id: I97a627147434c5417043e589039097cf03c1c4b9
Signed-off-by: JMorvay <[email protected]>
Maros Marsalek [Fri, 4 Sep 2015 07:51:18 +0000 (07:51 +0000)]
Merge "Use migrated restconf artifacts in restconf features project dependencies"
JMorvay [Thu, 3 Sep 2015 12:58:49 +0000 (14:58 +0200)]
Use migrated restconf artifacts in restconf features project dependencies
Change-Id: Ia68483053c4f77c89c450f69df6022b9c98de38b
Signed-off-by: JMorvay <[email protected]>
Maros Marsalek [Thu, 3 Sep 2015 09:30:45 +0000 (09:30 +0000)]
Merge "Implement md-sal datastore into netconf test-tool"
Maros Marsalek [Thu, 3 Sep 2015 08:38:41 +0000 (08:38 +0000)]
Merge "Add aaa-authn-odl-plugin"
Tomas Cere [Wed, 2 Sep 2015 09:39:22 +0000 (11:39 +0200)]
Add aaa-authn-odl-plugin
Move in aaa-authn-odl-plugin to prevent cyclic dependency between
aaa and netconf.
Change-Id: Ibb89231b229664bbc9ae6d97c098f637de764448
Signed-off-by: Tomas Cere <[email protected]>
JMorvay [Wed, 22 Jul 2015 12:45:38 +0000 (14:45 +0200)]
Implement md-sal datastore into netconf test-tool
Change-Id: I2dd627b57ddac33a77878a7c07f5565e4eb5b841
Signed-off-by: JMorvay <[email protected]>
Maros Marsalek [Wed, 2 Sep 2015 14:16:38 +0000 (14:16 +0000)]
Merge "Make sal-netconf-connector fail, if connecting to device, that does not advertise :candidate or :writtable-running capability"
Maros Marsalek [Wed, 2 Sep 2015 14:05:29 +0000 (14:05 +0000)]
Merge "Add features-restconf to restconf-artifacts"
Tomas Cere [Fri, 28 Aug 2015 08:01:30 +0000 (10:01 +0200)]
Add features-restconf to restconf-artifacts
Change-Id: Iac9c0600a3be644abf9e6021f109612494f5b765
Signed-off-by: Tomas Cere <[email protected]>
JMorvay [Wed, 26 Aug 2015 10:47:25 +0000 (12:47 +0200)]
Fix exchanged added and deleted capabilities in capabilities notification
Change-Id: I56286f6973dae3a8d0b35f8abbf6a77c02deacd2
Signed-off-by: JMorvay <[email protected]>
JMorvay [Wed, 29 Jul 2015 09:06:12 +0000 (11:06 +0200)]
Make sal-netconf-connector fail, if connecting to
device, that does not advertise :candidate or
:writtable-running capability
Change-Id: Ieabbc8f2833df914db9b10b65b7b9f8ca04e1e95
Signed-off-by: JMorvay <[email protected]>
Maros Marsalek [Tue, 25 Aug 2015 14:30:01 +0000 (14:30 +0000)]
Merge "Rename restconf packages to org.opendaylight.netconf"
Maros Marsalek [Tue, 25 Aug 2015 14:29:51 +0000 (14:29 +0000)]
Merge "Rename tools packages to org.opendaylight.netconf"
Maros Marsalek [Tue, 25 Aug 2015 14:29:46 +0000 (14:29 +0000)]
Merge "Rename netconf-util packages to org.opendaylight.netconf"
Maros Marsalek [Tue, 25 Aug 2015 14:29:42 +0000 (14:29 +0000)]
Merge "Rename netconf-ssh/tcp packages to org.opendaylight.netconf"
Maros Marsalek [Tue, 25 Aug 2015 14:29:39 +0000 (14:29 +0000)]
Merge "Rename netconf-notifications packages to org.opendaylight.netconf"
Maros Marsalek [Tue, 25 Aug 2015 14:29:35 +0000 (14:29 +0000)]
Merge "Rename netconf-netty-util packages to org.opendaylight.netconf"
Maros Marsalek [Tue, 25 Aug 2015 14:29:30 +0000 (14:29 +0000)]
Merge "Rename netconf-monitoring packages to org.opendaylight.netconf"
Maros Marsalek [Tue, 25 Aug 2015 14:26:26 +0000 (14:26 +0000)]
Merge "Rename netconf-mapping-api packages to org.opendaylight.netconf"
Maros Marsalek [Tue, 25 Aug 2015 14:26:15 +0000 (14:26 +0000)]
Merge "Rename netconf-impl packages to org.opendaylight.netconf"
Maros Marsalek [Tue, 25 Aug 2015 14:26:08 +0000 (14:26 +0000)]
Merge "Rename netconf-client packages to org.opendaylight.netconf"
Maros Marsalek [Tue, 25 Aug 2015 14:26:03 +0000 (14:26 +0000)]
Merge "Rename netconf-auth packages to org.opendaylight.netconf"
Maros Marsalek [Tue, 25 Aug 2015 14:25:52 +0000 (14:25 +0000)]
Merge "Rename netconf-api packages to org.opendaylight.netconf"
Maros Marsalek [Tue, 25 Aug 2015 14:25:07 +0000 (14:25 +0000)]
Merge changes I98276170,I77b1d470
* changes:
Rename messagebus-netconf packages to org.opendaylight.netconf
Rename mdsal-netconf-monitoring packages to org.opendaylight.netconf
Maros Marsalek [Tue, 25 Aug 2015 14:25:01 +0000 (14:25 +0000)]
Merge "Rename mdsal-netconf-connector packages to org.opendaylight.netconf"
Maros Marsalek [Tue, 25 Aug 2015 14:24:31 +0000 (14:24 +0000)]
Merge "Rename config-netconf-connector packages to org.opendaylight.netconf"
Maros Marsalek [Tue, 25 Aug 2015 14:24:01 +0000 (14:24 +0000)]
Merge "Fix sal-netconf-connector feature version"
Tomas Cere [Mon, 24 Aug 2015 12:41:35 +0000 (14:41 +0200)]
Rename restconf packages to org.opendaylight.netconf
Change-Id: I4d6ffc2e164a251e2b1878dcf77809f8c50b7b5a
Signed-off-by: Tomas Cere <[email protected]>
Tomas Cere [Tue, 25 Aug 2015 10:54:43 +0000 (12:54 +0200)]
Rename tools packages to org.opendaylight.netconf
Change-Id: I1f9bae490ce4770a733185a0f540ded774c8dff3
Signed-off-by: Tomas Cere <[email protected]>
Tomas Cere [Tue, 25 Aug 2015 10:40:12 +0000 (12:40 +0200)]
Rename netconf-util packages to org.opendaylight.netconf
Change-Id: Icf89e7f6da84722faff34b86bf5b7ac6e0cb61ee
Signed-off-by: Tomas Cere <[email protected]>
Tomas Cere [Tue, 25 Aug 2015 09:47:41 +0000 (11:47 +0200)]
Rename netconf-ssh/tcp packages to org.opendaylight.netconf
Change-Id: Ie76bac58fa32c7acb4b580eeb697c9402d87f147
Signed-off-by: Tomas Cere <[email protected]>
Tomas Cere [Tue, 25 Aug 2015 09:40:37 +0000 (11:40 +0200)]
Rename netconf-notifications packages to org.opendaylight.netconf
Change-Id: Idca977c5e4355f26679600f75d6de42f2035f324
Signed-off-by: Tomas Cere <[email protected]>
Tomas Cere [Tue, 25 Aug 2015 09:31:27 +0000 (11:31 +0200)]
Rename netconf-netty-util packages to org.opendaylight.netconf
Change-Id: I4ccbba062080f0e677b7054ee2026fb1d61c69dc
Signed-off-by: Tomas Cere <[email protected]>
Tomas Cere [Tue, 25 Aug 2015 09:01:54 +0000 (11:01 +0200)]
Rename netconf-monitoring packages to org.opendaylight.netconf
Change-Id: Idf9c0f3d807384089aa719890437c8b9ef602c72
Signed-off-by: Tomas Cere <[email protected]>
Tomas Cere [Tue, 25 Aug 2015 08:53:06 +0000 (10:53 +0200)]
Rename netconf-mapping-api packages to org.opendaylight.netconf
Change-Id: I0abed7fd91d1f8fd0b1d99899440127aac086beb
Signed-off-by: Tomas Cere <[email protected]>
Tomas Cere [Tue, 25 Aug 2015 08:39:09 +0000 (10:39 +0200)]
Rename netconf-impl packages to org.opendaylight.netconf
Change-Id: I8dad162c0f519420a80fc58099b6f6f4a92f819b
Signed-off-by: Tomas Cere <[email protected]>
Tomas Cere [Tue, 25 Aug 2015 08:32:11 +0000 (10:32 +0200)]
Rename netconf-client packages to org.opendaylight.netconf
Change-Id: I6c7a99491200c1c41098a83cd1aed02f33d3840d
Signed-off-by: Tomas Cere <[email protected]>
Tomas Cere [Tue, 25 Aug 2015 08:19:11 +0000 (10:19 +0200)]
Rename netconf-auth packages to org.opendaylight.netconf
Change-Id: Ibd646282c633dbed92ec003cf7b1b0f0517e283b
Signed-off-by: Tomas Cere <[email protected]>
Tomas Cere [Mon, 24 Aug 2015 14:40:05 +0000 (16:40 +0200)]
Rename netconf-api packages to org.opendaylight.netconf
Change-Id: I396100af615b71f3f1cae49fc9a418d27dac5a7f
Signed-off-by: Tomas Cere <[email protected]>
Tomas Cere [Mon, 24 Aug 2015 14:38:13 +0000 (16:38 +0200)]
Rename messagebus-netconf packages to org.opendaylight.netconf
Change-Id: I9827617094c847cb5206eaa65d70d9f47c37c591
Signed-off-by: Tomas Cere <[email protected]>
Tomas Cere [Mon, 24 Aug 2015 14:36:09 +0000 (16:36 +0200)]
Rename mdsal-netconf-monitoring packages to org.opendaylight.netconf
Change-Id: I77b1d4704d19650091ae25c44b60b5814cda91c6
Signed-off-by: Tomas Cere <[email protected]>
Tomas Cere [Mon, 24 Aug 2015 14:29:43 +0000 (16:29 +0200)]
Rename mdsal-netconf-connector packages to org.opendaylight.netconf
Change-Id: Ib5b3dace1dc9bb568b36e5d895966fdc2eb0b35a
Signed-off-by: Tomas Cere <[email protected]>
Tomas Cere [Mon, 24 Aug 2015 14:27:29 +0000 (16:27 +0200)]
Rename config-netconf-connector packages to org.opendaylight.netconf
Change-Id: I960ca48cd1942a2e101c12238630a06a39ff0f82
Signed-off-by: Tomas Cere <[email protected]>
Tomas Cere [Mon, 24 Aug 2015 13:39:52 +0000 (15:39 +0200)]
Fix sal-netconf-connector feature version
Make sal-netconf-connector preserve md-sal version.
Make features-netconf-connector inherit netconf project version
Change-Id: Iae701ee92912eb3229c586a0293ac15467b33fa6
Signed-off-by: Tomas Cere <[email protected]>
Tomas Cere [Mon, 24 Aug 2015 09:05:21 +0000 (11:05 +0200)]
Change karaf groupId and version
Change-Id: I0f3840267c8374cc8bce1b5c9858d1801222395d
Signed-off-by: Tomas Cere <[email protected]>
Tomas Cere [Fri, 21 Aug 2015 07:09:41 +0000 (09:09 +0200)]
Add missing odl-config-netty feature into odl-netconf-mdsal
Change-Id: Ifd077a881311517471cb0f39b24db4a6d11ea08c
Signed-off-by: Tomas Cere <[email protected]>
Tomas Cere [Fri, 21 Aug 2015 07:07:49 +0000 (09:07 +0200)]
Add karaf distribution
Change-Id: I8e451d76741ab60f05082ab1e3d7d71285b0a11a
Signed-off-by: Tomas Cere <[email protected]>
Tomas Cere [Thu, 20 Aug 2015 08:36:00 +0000 (10:36 +0200)]
Create restconf-artifacts
Change-Id: I7aa99cd8ab914e4c9a96822b7b893dbda5a3fc1b
Signed-off-by: Tomas Cere <[email protected]>
Tomas Cere [Mon, 24 Aug 2015 06:42:28 +0000 (08:42 +0200)]
Fix license header violation
Change-Id: I1606a869c0e10cdc8f289492a83668421df50831
Signed-off-by: Tomas Cere <[email protected]>
Tomas Cere [Thu, 20 Aug 2015 08:20:55 +0000 (10:20 +0200)]
Add rest connector config
sal-rest-connector-config was forgotten in controller
Change-Id: Id4004d02325ea306b29b4b51e7f85cf1217ce0e2
Signed-off-by: Tomas Cere <[email protected]>
Tomas Cere [Wed, 19 Aug 2015 14:44:26 +0000 (16:44 +0200)]
Change groupId and versions of netconf artifacts
Change-Id: Id961c524aa338d0c1d553b6c3937b0e0a8c7d0f4
Signed-off-by: Tomas Cere <[email protected]>
Tomas Cere [Wed, 19 Aug 2015 11:45:44 +0000 (13:45 +0200)]
Add restconf features
Unify netconf/restconf features into single directory
Change-Id: Ia92659b3de2af9df0764181f309f32a0c96f2456
Signed-off-by: Tomas Cere <[email protected]>
Tomas Cere [Mon, 17 Aug 2015 11:07:02 +0000 (13:07 +0200)]
Cleanup project structure and dependencies
Add restconf-parent pom
Add parent dependencies/build plugins and properties to restconf/netconf parent poms
Rename md-sal dir to restconf since restconf is no longer part of md-sal
Change-Id: I3874d514ec969c1710b2fe173db4c53781387d4f
Signed-off-by: Tomas Cere <[email protected]>
Tomas Cere [Tue, 7 Jul 2015 13:32:11 +0000 (15:32 +0200)]
Add .gitignore
Change-Id: I9a1435c847ea3a563afa9f29f743bb91a7c419e9
Signed-off-by: Tomas Cere <[email protected]>
Tomas Cere [Tue, 18 Aug 2015 08:47:34 +0000 (10:47 +0200)]
Add base netconf pom
Cleanup bad imports that were failing checkstyle
Change-Id: I5026d2075426ccea415e31a7ef913668a7a4a10e
Signed-off-by: Tomas Cere <[email protected]>
Tomas Cere [Thu, 13 Aug 2015 09:06:22 +0000 (11:06 +0200)]
Decouple message bus from netconf connector
Change-Id: I6a143e868adc1e5c7a9b114798e7009bb6ef8675
Signed-off-by: Maros Marsalek <[email protected]>
Signed-off-by: Tomas Cere <[email protected]>
Tomas Cere [Thu, 13 Aug 2015 09:06:54 +0000 (11:06 +0200)]
Decouple config and netconf subsystems.
Extract a common mapping for config pusher and config subsystem netconf
Add a ConfigPersisterFacade for XML that allows reads/writes from/to config
subsystem using XML format
Push notifications from YangStoreService to NetconfNotificationManager instead
of using custom listeners
Migrate netconf features from controller features, untangle features
Change-Id: I71e4ca6e0258e0b1f0d6c19119f93eb9d68b7bca
Signed-off-by: Tomas Cere <[email protected]>
Signed-off-by: Maros Marsalek <[email protected]>
Signed-off-by: Ed Warnicke <[email protected]>
Thanh Ha [Sun, 9 Aug 2015 01:22:15 +0000 (21:22 -0400)]
Fix license header violations in sal-rest-docgen
Change-Id: I03c4b7ef9397224d649e9387ed895bca74672ec9
Signed-off-by: Thanh Ha <[email protected]>
Thanh Ha [Sun, 9 Aug 2015 01:09:32 +0000 (21:09 -0400)]
Fix license header violations in sal-rest-connector
Change-Id: I2dfda9fe6b3185d20386cc9f6078c0b53f7be40b
Signed-off-by: Thanh Ha <[email protected]>
Thanh Ha [Sat, 8 Aug 2015 06:12:29 +0000 (02:12 -0400)]
Fix license header violations in netconf
Change-Id: Ie5c541b03a342bec33257b13b985b89e9ca835a0
Signed-off-by: Thanh Ha <[email protected]>
Thanh Ha [Thu, 6 Aug 2015 05:23:10 +0000 (01:23 -0400)]
Clean up pom.xml file
- Remove unnecessary commented code
Change-Id: Id4ceca0174ba5883059c52cbcee11aafb67c74ea
Signed-off-by: Thanh Ha <[email protected]>
Maros Marsalek [Wed, 15 Jul 2015 13:20:08 +0000 (15:20 +0200)]
Add config subsystem binding to netconf-auth API
Change-Id: Ie04d9a7cb72bfcbeae6c7ca7dc0dbb2bdeadef0d
Signed-off-by: Maros Marsalek <[email protected]>
Jakub Toth [Wed, 27 May 2015 09:41:45 +0000 (11:41 +0200)]
Bug 2358 - Remove tests cnsn to json and add tests nn to json
Tests of codecs are included in codecs yangtools yang-data-codec-gson and yang-data-impl but
we test codec on input data and also with presentation of Rest path.
* remove CnSnToJsonNotExistingLeafTypeTest.java test
* add NnToJsonNotExistingLeafTypeTest.java to nn/to/json/test/
* test with not existing leaf type
Change-Id: Id7a1256b42a3a754e13343613dcad7059a2316c4
Signed-off-by: Jakub Toth <[email protected]>
(cherry picked from commit
1fa839d51563b9588bf7502e86a5e9c2425fab2f)
Jakub Toth [Wed, 27 May 2015 10:44:31 +0000 (12:44 +0200)]
Bug 2358 - Remove tests cnsn to json and add tests nn to json
Tests of codecs are included in codecs yangtools yang-data-codec-gson and yang-data-impl but
we test codec on input data and also with presentation of Rest path.
* remove CnSnToJsonWithAugmentTest test
* add NnToJsonWithAugmentTest to nn/to/json/test/
* positive test for test augmented elements
Change-Id: I4c8b92e828ade1d43a5af5384ec7938854fda9ce
Signed-off-by: Jakub Toth <[email protected]>
(cherry picked from commit
6b97753fc17bb2d9d73047038105754fcebe029d)
ary [Wed, 29 Apr 2015 10:09:41 +0000 (12:09 +0200)]
Bug 2358 - Remove tests json to cnsn and add tests json to nn
Tests of codecs are included in codecs yangtools yang-data-codec-gson and yang-data-impl but
we test codec on input data and also with presentation of Rest path.
* remove all tests json to composite node and simple node
* rewrite json leafref input tests from comp and simple node to normalized node
* we're testing REST provider URI path translator with payload
* add test for test data in json with identityref to normalized node
* positive test
* test data in builded normalized node with data in json
* used identityref type to reference an existing identity
* add test for test data in json with leafref to normalized node
* positive test
* test data in builded normalized node with data in json
* used leafref type to reference particular leaf instance in the data tree
* add test for test data in json with more type of nodes and values
* positive tests
* test normalized node from json with:
* simple data in list
* simple data in container
* multiple items in leaf-list
* multiple items in list
* empty leaf
* augmented data
* negative tests
* test fail on bad top level elements
* contains 3 situations
* test fail for null data
* empty leaf-list
* leaf without any value
* test on build normalized node with blank json
* test fail with different namespaces
* test fail because of unsupported format of json
* test on invalid URI character
Change-Id: Icb5ff5d11843123c79859a0c75d7df7bad8a0b44
Signed-off-by: Jakub Toth <[email protected]>
(cherry picked from commit
a3fd2b66c8121a8603d684b97c1fb7076d933d99)
Maros Marsalek [Tue, 14 Jul 2015 12:26:15 +0000 (14:26 +0200)]
Remove deprecated constructors from RemoteDeviceId
Change-Id: I26d48930a16213d2264de964f60103e67f80b9bd
Signed-off-by: Maros Marsalek <[email protected]>
Maros Marsalek [Mon, 8 Jun 2015 15:22:45 +0000 (17:22 +0200)]
Improve performance of notification emitting in netconf testtool
- pre-parse all notifications beforehand
- remove unwanted outputs
Change-Id: I6dd823786fd0d5f9ab04943633f8aa3b61a540e8
Signed-off-by: Maros Marsalek <[email protected]>
(cherry picked from commit
7392728edfe0b150833c7af47c3bc8d4b0ce101a)
Jan Hajnar [Wed, 1 Jul 2015 09:03:44 +0000 (11:03 +0200)]
Bug 3887 - Autogenerated API documentation doesn't show application/xml
as an option for RPC operations
* added xml input option for rpcs, put and post methods
Change-Id: I1f73bcb7d1127e4b4324d779aec40907ca627073
Signed-off-by: Jan Hajnar <[email protected]>
(cherry picked from commit
e57d9461b79dedd8ef9edf8f249b066540fd0e9d)
Maros Marsalek [Tue, 14 Jul 2015 08:56:59 +0000 (10:56 +0200)]
BUG-3963 Remove netconf-usermanager
This way of authentication relied on AD-SAL and thats deprecated/removed now
from ODL.
Change-Id: I0daeee09ff88b1c4677206c1b7216e972d34f01c
Signed-off-by: Maros Marsalek <[email protected]>
Jan Hajnar [Tue, 7 Jul 2015 09:38:33 +0000 (11:38 +0200)]
Bug 1500 - Null pointer exception when using mounted resources tab to
see the operations on mount point
* added check for when revision is null in modules comparator
Change-Id: I3bdc4ed798297d31ea25001d25918e298c8124bb
Signed-off-by: Jan Hajnar <[email protected]>
Tomas Cere [Tue, 23 Jun 2015 09:35:50 +0000 (11:35 +0200)]
Add netconf-mapping-api test for HandlingPriority
Change-Id: I29a6fdaab266acd42c5355101769bb82c14135fc
Signed-off-by: Tomas Cere <[email protected]>
Tomas Cere [Mon, 22 Jun 2015 12:57:09 +0000 (14:57 +0200)]
Add discardChanges branch to unit test
Add service instance deletion to NetconfMappingTest
Change-Id: I25d1ebefde86050c42a2d43ec445feaf8d5889de
Signed-off-by: Tomas Cere <[email protected]>
Maros Marsalek [Tue, 14 Jul 2015 08:41:56 +0000 (10:41 +0200)]
Remove yang-data-operations dependencies
Not used anymore
Change-Id: I692bdbc00efb38bb29d7f5c18ca042bc10eeb11f
Signed-off-by: Maros Marsalek <[email protected]>
Jan Hajnar [Wed, 10 Jun 2015 11:55:42 +0000 (13:55 +0200)]
Bug 868 - Continuous: remove deprecated APIs
* removed deprecated API from Bug3595Test
Change-Id: Ic8f987aeb000cfb150286ad44e478771e8a52384
Signed-off-by: Jan Hajnar <[email protected]>
(cherry picked from commit
e1b79358817f1202c50f7410b92746b0777d0642)
Jakub Toth [Wed, 20 May 2015 21:34:52 +0000 (23:34 +0200)]
Bug 2358 - Remove tests cnsn to json and add tests nn to json
Tests of codecs are included in codecs yangtools yang-data-codec-gson and yang-data-impl but
we test codec on input data and also with presentation of Rest path.
* add test NnToJsonLeafrefType to nn/to/json/test
* positive tests of leafref
* absolut path
* relative path
* leafref to not leaf
* from leaflist to leaf
* from leafref to leafref
* negative tests of leafref
* non existing Leaf
Change-Id: I652204071d874d6c7a2a65e100dd68c16a12af8f
Signed-off-by: Jakub Toth <[email protected]>
(cherry picked from commit
1f4b4062cbdd0cfadcf61e60bce9ee9e951c975c)
ary [Fri, 15 May 2015 13:25:08 +0000 (15:25 +0200)]
Bug 2358 - Remove tests cnsn to json and add tests nn to json
Tests of codecs are included in codecs yangtools yang-data-codec-gson and yang-data-impl but
we test codec on input data and also with presentation of Rest path.
* remove CnSnJsonChoiceCaseTest test
* add NnJsonChoiceCaseTest to nn/to/json/test/
* positive and negative tests for choice statement
Change-Id: I83d351bf0de9bb4a1c649c5851209ae472aaaa24
Signed-off-by: Jakub Toth <[email protected]>
(cherry picked from commit
33657892ea175d459184732b0fbc08eb7589e787)
Jakub Toth [Thu, 4 Jun 2015 12:45:53 +0000 (14:45 +0200)]
Bug 2358 - Fix resources for tests nn to json
yang's namespace fix
Change-Id: I4b31cde6d9dc56b8298877b50c21a551c39f645f
Signed-off-by: Jakub Toth <[email protected]>
(cherry picked from commit
de2844c54550a5a10f510e2c90fd14f8b8aa303c)
Jakub Toth [Mon, 1 Jun 2015 08:53:53 +0000 (10:53 +0200)]
Bug 2358 - Remove tests cnsn to xml and add tests nn to xml
Tests of codecs are included in codecs yangtools yang-data-codec-gson and yang-data-impl but
we test codec on input data and also with presentation of Rest path.
* remove CnSnToXmlWithDataFromSeveralModulesTest test
* add NnToXmlWithDataFromSeveralModulesTest to nn/to/xml/test/
* positive test for test more modules
Change-Id: I4f4eea89487e946b0a4a7edd75423d6bf551bd20
Signed-off-by: Jakub Toth <[email protected]>
(cherry picked from commit
adc820f5aaa84b67f08b76982b74c4f790c9ba7c)
Jakub Toth [Mon, 1 Jun 2015 07:34:50 +0000 (09:34 +0200)]
Bug 2358 - Remove tests cnsn to xml and add tests nn to xml
Tests of codecs are included in codecs yangtools yang-data-codec-gson and yang-data-impl but
we test codec on input data and also with presentation of Rest path.
* remove CnSnInstanceIdentifierToXmlTest test
* add NnInstanceIdentifierToXmlTest to nn/to/xml/test/
* positive test for instance identifier
Change-Id: Iceb73ed4d96f7686fca04047524716532297a2f8
Signed-off-by: Jakub Toth <[email protected]>
(cherry picked from commit
6c0c438071d2e85ef2f08070935cb310165f25cf)
Jakub Toth [Mon, 1 Jun 2015 08:15:54 +0000 (10:15 +0200)]
Bug 2358 - Remove tests cnsn to xml and add tests nn to xml
Tests of codecs are included in codecs yangtools yang-data-codec-gson and yang-data-impl but
we test codec on input data and also with presentation of Rest path.
* remove CnSnToXmlTest test
* add NnToXmlTest to nn/to/xml/test/
* positive tests for basic data types
Change-Id: Iac408dc8ce25c8d9c46a21863733b30390ea8c34
Signed-off-by: Jakub Toth <[email protected]>
(cherry picked from commit
bec0511bd378c069a2f51545736064a9821e44a7)
Jakub Toth [Mon, 1 Jun 2015 08:33:58 +0000 (10:33 +0200)]
Bug 2358 - Remove tests cnsn to xml and add tests nn to xml
Tests of codecs are included in codecs yangtools yang-data-codec-gson and yang-data-impl but
we test codec on input data and also with presentation of Rest path.
* remove CnSnToXmlWithChoiceTest test
* add NnToXmlWithChoiceTest to nn/to/xml/test/
* positive test for choice statement
Change-Id: Ie3fba1c51db57ef7621703812f7a98b6d417feca
Signed-off-by: Jakub Toth <[email protected]>
(cherry picked from commit
015b6436357637c6cbd29b72e931735ff2a34007)
Jakub Toth [Mon, 1 Jun 2015 08:24:40 +0000 (10:24 +0200)]
Bug 2358 - Remove tests cnsn to xml and add tests nn to xml
Tests of codecs are included in codecs yangtools yang-data-codec-gson and yang-data-impl but
we test codec on input data and also with presentation of Rest path.
* remove CnSnToXmlNotExistingLeafTypeTest test
* add NnToXmlNotExistingLeafTypeTest to nn/to/xml/test/
* negative test for not existing leaf type
Change-Id: I6f55fd82c40a03726aecb78cfc2ece9888cf9717
Signed-off-by: Jakub Toth <[email protected]>
(cherry picked from commit
0c957832fd6587f5cfe6fb8de215d97cd6fd9c24)
Tom Pantelis [Tue, 16 Jun 2015 21:15:51 +0000 (17:15 -0400)]
Bug 3782: Fix NPE in API doc explorer
Fixed NPE when a netconf mounted device has a yang file without a version.
Change-Id: Ie562c05772ecd5e9c7d82afc31d06aaf852308a5
Signed-off-by: Tom Pantelis <[email protected]>
(cherry picked from commit
d9cd9f52898f2705347fa9d6a30f054bdc751a98)
Maros Marsalek [Tue, 16 Jun 2015 11:36:30 +0000 (13:36 +0200)]
BUG-3625 Allow replace nested composite nodes in cfg-subsystem
Netconf-endpoint for config-subsystem now supports replace operation on nested
elements. Now it is possible to invoke PUT on nested composite attributes for
config-subsystem modules.
Change-Id: I5fde907c66c01a9c1bf58845daa868c7a141c998
Signed-off-by: Maros Marsalek <[email protected]>
(cherry picked from commit
eb4b35e5e1ea9fa86ec5277a95c0dc882c563862)
Jan Hajnar [Mon, 8 Jun 2015 15:28:12 +0000 (17:28 +0200)]
Bug 3595 - RESTCONF: GET operation on a node in a list, identified by
leaf-ref fails.
* added referenced type resolution for leafrefs in ControllerContext
Change-Id: Ic38b77038feb786a46a8bdd069448f006418d7bf
Signed-off-by: Jan Hajnar <[email protected]>
(cherry picked from commit
5af9027a8ce234f3dcc44ee0d1791036b7f0ed62)
Jan Hajnar [Tue, 2 Jun 2015 15:47:08 +0000 (17:47 +0200)]
BUG 2155 - depth parameter in URI
* added interface RestconfNormalizedNodeWriter
* added two implementations of RestconfNormalizedNodeWriter,
RestconfDelegatingNormalizedNodeWriter just calls normalized node
writer from yangtools and DepthAwareNormalizedNodeWriter is writer
implementation tha checks depth
* added CutDataToCorrectDepthTest (randomly failing, needs to be checked
or removed for now)
* added condition to xml and json normalized node writers to create
depth aware normalized node writer id depth is specified in writer parameters
Change-Id: I922942e24cbe505c2803644c25acd755fe4dfae7
Signed-off-by: Jozef Gloncak <[email protected]>
Signed-off-by: Jan Hajnar <[email protected]>
(cherry picked from commit
f94de91bba1210fa852aaab0490743f9f3553e99)
Thanh Ha [Wed, 24 Jun 2015 14:27:19 +0000 (10:27 -0400)]
Use Beryllium parent pom versions
- Sets poms to point to correct Beryllium parent pom version
- Also removes unnecessary <relativePath> declaration
Change-Id: I82315ce20dfe22bb7e67027dd5d93c3e0ab866b3
Signed-off-by: Thanh Ha <[email protected]>
Maros Marsalek [Fri, 19 Jun 2015 07:58:13 +0000 (09:58 +0200)]
Revert "BUG-2679 Workaround for wrong nagasena encode/decode with reused transmogrifier"
This reverts commit
8bedb6be52f21b52d6df08d1501cf46f8ddbdbdc.
Change-Id: I52d02ae6a980bae6798385636f9d779e3c80b72d
Signed-off-by: Maros Marsalek <[email protected]>
Signed-off-by: Tomas Cere <[email protected]>
Signed-off-by: Maros Marsalek <[email protected]>
Maros Marsalek [Fri, 19 Jun 2015 07:57:59 +0000 (09:57 +0200)]
BUG 2458: Bump nagasena version to 2.53.0
Change-Id: I77e21237355cee3973a05a37981ab49a05018bf9
Signed-off-by: Tomas Cere <[email protected]>
Signed-off-by: Maros Marsalek <[email protected]>
Tomas Cere [Thu, 18 Jun 2015 13:21:06 +0000 (15:21 +0200)]
Increase UnitTest coverage/refactor for MDsal Netconf.
Change-Id: I486565bec7bbce0a85ee2dfa389887ca0d3a2903
Signed-off-by: Tomas Cere <[email protected]>
Tomas Cere [Wed, 3 Jun 2015 14:22:00 +0000 (16:22 +0200)]
Remove commons-io dependency in netconf-ssh
Remove the replacement of File separators in key path,
windows can handle linux style paths, added a warning to config to use linux style paths.
Change-Id: I01d07fa65cd11dcc321cbf4d6f5aac0792922309
Signed-off-by: Tomas Cere <[email protected]>
Jan-Simon Möller [Wed, 3 Jun 2015 13:41:22 +0000 (15:41 +0200)]
[RFC][Fix] Fix for connection in pom.xml.
The connection value was wrong.
Apply values proposed by zxiiro.
Also fix sal-dom-xsql (wrong developerConnection).
This allows me to run mvn site
w/o failing due to the wrong entry.
Change-Id: I15d953647a40dde4b37246a78bae120552efb15b
Signed-off-by: Jan-Simon Möller <[email protected]>
Jan Hajnar [Thu, 21 May 2015 07:46:57 +0000 (09:46 +0200)]
Bug 2153 - pretty printer
NormalizedNodeJsonBodyWriter - added ability to create JsonWritter with
prettyPrint enabled
NormalizedNodeXmlBodyWriter - added IndentingXMLStreamWriter when
prettyPrint is enabled
NormalizedNodeContext - info about requirements on indentation (true |
false) was added
RestconfImpl - added pretty print parsing method and added pretty print
detection to GET methods and RPC call methods
Change-Id: I44cfa778279d67f7dc1bf1532cd7fc1087b492dc
Signed-off-by: Jozef Gloncak <[email protected]>
Signed-off-by: Jan Hajnar <[email protected]>
(cherry picked from commit
d40d77c862ece5276cee68073a13386bbc5a347a)
Maros Marsalek [Mon, 8 Jun 2015 15:20:40 +0000 (17:20 +0200)]
Set revisions for notification models in netconf
Change-Id: I83159f20250914c9e178b83dc526d9e9e14dce74
Signed-off-by: Maros Marsalek <[email protected]>
(cherry picked from commit
12d79e66e26bc7a521b0380e158dca5dd2b98abc)
ary [Wed, 29 Apr 2015 09:45:31 +0000 (11:45 +0200)]
Bug 2358 - Resources for tests json to nn
Tests of codecs are included in codecs yangtools yang-data-codec-gson and yang-data-impl but we test codec on input data and also with presentation of Rest path.
* fix and add yang files for tests
* fix json files
* rename base folder of json-to-cnsn to json-to-nn
Change-Id: Id0a23e655c3ddaaeb60f8652d57a7a5d1458063a
Signed-off-by: ary <[email protected]>
(cherry picked from commit
6047f7d9e4f6dbd22666718fcd2d62b91cd245d7)
Maros Marsalek [Tue, 9 Jun 2015 11:19:47 +0000 (13:19 +0200)]
Add a keepalive executor to controller config loopback connection.
Change-Id: Id4b93df4eb59a19dea2d00b348db3dd4866338cb
Signed-off-by: Tomas Cere <[email protected]>
Signed-off-by: Maros Marsalek <[email protected]>
Maros Marsalek [Thu, 11 Jun 2015 14:39:29 +0000 (16:39 +0200)]
BUG-3675 Support non-prefixed identityrefs in config subsystem
If a non prefixed but valid identityref was submitted as e.g. service type,
netconf connector for config subsystem failed.
Change-Id: I59dbb7dc83da9558db06118bdf1296f1ab9d782f
Signed-off-by: Maros Marsalek <[email protected]>
Moiz Raja [Thu, 11 Jun 2015 01:10:07 +0000 (18:10 -0700)]
BUG 3652 : GZip restconf response
Change-Id: I15161eb011185b3e477484ad15b90a701a2e08e7
Signed-off-by: Moiz Raja <[email protected]>
(cherry picked from commit
e267b7c507d570058b2feb488940cd3e89a78715)
Jan Hajnar [Tue, 9 Jun 2015 11:02:45 +0000 (13:02 +0200)]
Bug 3640 - RPC call error - impossible to call rpc
* disabled children search in post if request is rpc input
* fixed XmlNormalizedNodeBodyReader tests that were testing on wrong rpc
input data
Change-Id: I2602d34a4ab42169959b867acaffa988a11601f3
Signed-off-by: Jan Hajnar <[email protected]>
(cherry picked from commit
bc9579fb5cbb7db3b5ce071a9ce4a858c819caf7)