Jakub Toth [Tue, 17 May 2016 14:42:15 +0000 (16:42 +0200)]
Bug 5900 - Jenkins RaceContiditions - problem between Jersey and RestconfProvider
Change-Id: I2b87b53c0679eede0fdbdea9de69568c14367ea7
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Tomas Cere [Mon, 16 May 2016 13:25:47 +0000 (13:25 +0000)]
Merge "Implement getSessionListener in DummyMonitoringService"
Tomas Cere [Mon, 16 May 2016 12:30:54 +0000 (12:30 +0000)]
Merge "Refactor Logger in RestCodec"
Andrej Mak [Mon, 16 May 2016 12:26:24 +0000 (14:26 +0200)]
Implement getSessionListener in DummyMonitoringService
Returning null caused errors during connecting to testtool.
Change-Id: I62efccf5042c2e9084654c44262a19afbaeb1d3b
Signed-off-by: Andrej Mak <andmak@cisco.com>
Jakub Toth [Fri, 13 May 2016 15:01:06 +0000 (17:01 +0200)]
Bug 5526 - Hotfix - Fix to register provider of restconf after init
restconf application in Jersey
* moving load on startup of new restconf draft impl to 0
Change-Id: I394393d9ddaec6c935fcdd23e4eab6e47913c0f8
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Jakub Toth [Tue, 3 May 2016 05:30:58 +0000 (07:30 +0200)]
Bug 5527 - Re-implement ControllerContext.toInstanceIdentifier() method
* create YangInstanceIdentifier serializer and deserializer
* fix mount points
Change-Id: If97ced6cb14a11d9cd037f4b93a8f1c8fc984561
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Tomas Cere [Tue, 10 May 2016 11:10:35 +0000 (11:10 +0000)]
Merge "Bug 5526 - Added new servlet to the web.xml for new restconf implementation"
Tomas Cere [Tue, 10 May 2016 08:48:48 +0000 (08:48 +0000)]
Merge "Remove unused jersey dependencies in RESTCONF and yanglib features"
Ryan Goulding [Mon, 9 May 2016 17:31:09 +0000 (13:31 -0400)]
Remove unused jersey dependencies in RESTCONF and yanglib features
Cleans up jersey dependencies in RESTCONF and yanglib features.
Change-Id: I0f0846ce77f20155429327a3d87ec7882422e582
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
Ryan Goulding [Mon, 9 May 2016 11:36:27 +0000 (07:36 -0400)]
Add contextual logging to WebSocketServer and clean up formatting
Just adds some logging to WebSocketServer and cleans up formatting. Since
the port is assigned as part of createInstance(...), the DEFAULT_PORT public
constant was removed to further support encapsulation.
Change-Id: I7f6922fd08d54d982d267ed50c860b76a31d0014
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
Ryan Goulding [Sun, 8 May 2016 00:43:09 +0000 (20:43 -0400)]
Fix WebSocketServer allowed port range
Operating systems generally limit binding to ports below 1024 to
super users. However, 1024 is fine for normal users. This change
augments the precondition check to allow for port 1024 if it is
specified.
Change-Id: I876ff1694371e0c71b94806a6a1b7dbf3b27950f
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
Jakub Toth [Sat, 7 May 2016 22:31:20 +0000 (18:31 -0400)]
Bug 5526 - Added new servlet to the web.xml for new restconf
implementation
* application for new servlet
* register SchemaContextListener via SchemaContextHandler
Change-Id: Ifb42aed73f7524a07174c0c5e966ca44bcb228d8
Signed-off-by: Jakub Toth <jatoth@cisco.com>
miroslav.kovac [Tue, 19 Apr 2016 12:53:46 +0000 (14:53 +0200)]
Change naming in testtool payload template
Change-Id: Ib252a846645e6392222c8fe619cbe6bf0234d754
Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>
Tomas Cere [Fri, 6 May 2016 10:45:30 +0000 (10:45 +0000)]
Merge "Bug 3864: Notify netconf monitoring about changes in session"
Tomas Cere [Fri, 6 May 2016 10:26:49 +0000 (10:26 +0000)]
Merge "Update comment and remove unwanted FIXME in SchemaSetup"
Alexis de Talhouët [Mon, 2 May 2016 12:19:38 +0000 (08:19 -0400)]
Update comment and remove unwanted FIXME in SchemaSetup
I don't think there is anything to fix here as the API
is defined as is. So I believe it works as designed.
Change-Id: Id750be7a8e2cf2a8756f056623118a9eba7f9914
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
Jakub Toth [Thu, 31 Mar 2016 14:26:22 +0000 (16:26 +0200)]
Bug 5526 - Remove jersey from features for restconf
* Jersey initialization is in the AAA project
Change-Id: I52c9ee5c481fa843915821cd4d295363c5634ea9
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Jakub Toth [Wed, 27 Apr 2016 13:15:57 +0000 (15:15 +0200)]
Bug 5526 - Wrap providers of both implementations of restconf.
Change-Id: Ic90c49f50d63d6ca99b149e69de236ef3172cb59
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Jakub Toth [Thu, 28 Apr 2016 06:40:16 +0000 (08:40 +0200)]
Bug 5526 - Prepared provider for new implemantation
Change-Id: I8d89b01b39d32b9491c7c4293c20820720a47b5c
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Jakub Toth [Fri, 11 Mar 2016 10:20:39 +0000 (11:20 +0100)]
Bug 5526 - Supported MediaTypes from Draft11 in all writers from
old restconf(reusing them in new)
Change-Id: Ibbc34d8bdd3b057c0d344764d8bf5c6021bb2ae7
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Jakub Toth [Fri, 11 Mar 2016 09:59:06 +0000 (10:59 +0100)]
Bug 5526 - Implementation of SchemaContextHandler
Change-Id: I8575639228e498a16b350a4134b9928089091b4f
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Jakub Toth [Fri, 22 Apr 2016 09:49:40 +0000 (11:49 +0200)]
Bug 5526 - Implementations of services
* used soft reference for schema context for holding the current schema
* util classes for static methodes and constants for implementations
of services
Change-Id: I5ddccc91feaf3ebfd7f8b40c2f954c4506995622
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Jakub Morvay [Tue, 3 May 2016 09:16:47 +0000 (11:16 +0200)]
Bug 2343 - ODL remote YANG sources repository plugin
ODL plugin functioning as a remote YANG sources repository.
Plugin takes YANG schema sources from specified directory and provides
them through web service.
Change-Id: I93370af60e53dc0acafb844422adeea2abccf7a0
Signed-off-by: Jakub Morvay <jmorvay@cisco.com>
Maros Marsalek [Sun, 19 Jul 2015 11:19:47 +0000 (13:19 +0200)]
Bug 2343 - Sideload of models for nodes from remote yang sources repository
Add support for sideloading schemas for devices from remote yang
schemas sources repositories.
Remote repository is queried for list of provided models and URLs
representing their schemas resources. These schemas are preregistered
to device schema registry as fallback schemas.
Change-Id: Iba3d77dd1a868a89a2f260ed751e36250fa30a47
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Signed-off-by: Jakub Morvay <jmorvay@cisco.com>
Dileep [Thu, 5 May 2016 10:28:54 +0000 (03:28 -0700)]
Refactor Logger in RestCodec
Add missing static keyword to Logger objects.
Rename Logger constants to match naming conventions.
Change-Id: I86cb061496ea2d422be406a74ef259cf00020db6
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Tomas Cere [Wed, 4 May 2016 13:28:56 +0000 (13:28 +0000)]
Merge "Add NetconfDevice builder class"
Tomas Cere [Wed, 4 May 2016 13:02:54 +0000 (13:02 +0000)]
Merge "Find the most recent notification"
miroslav.kovac [Tue, 1 Mar 2016 15:11:06 +0000 (16:11 +0100)]
Add NetconfDevice builder class
Parameters in constructor are reduced by creating a builder class.
Now we can use a NetconfDeviceBuilder in constructor which checks
if all needed parameters are present and sets all the variables
as before.
Change-Id: I8bf2c40b80c26faa99b299b7b7f98e824a963f3a
Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>
Tomas Cere [Wed, 4 May 2016 12:48:59 +0000 (12:48 +0000)]
Merge "Add some validations and new arguments"
Tomas Cere [Wed, 4 May 2016 12:47:52 +0000 (12:47 +0000)]
Merge "Add a batching system in Netconf testtool"
miroslav.kovac [Thu, 3 Mar 2016 12:32:09 +0000 (13:32 +0100)]
Find the most recent notification
If multiple revisions for same notifications are present
it will pick the most recent one. It will iterate through
all of the notifications and it will pick the one with most
recent revision date. StripNotification function is also moved
to NetconfMessageTransformUtil class together with
EVENT_TIME_FORMAT which is needed for this function.
Change-Id: Ibd9fe800d75f877ead03162b42895b322288b62e
Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>
Jakub Toth [Fri, 22 Apr 2016 09:12:40 +0000 (11:12 +0200)]
Bug 5526 - Mark old services methods with @Deprecated
Change-Id: I8f65897d45327d2bf257f51fc541f9fc1210cc08
Signed-off-by: Jakub Toth <jatoth@cisco.com>
miroslav.kovac [Tue, 15 Mar 2016 14:09:24 +0000 (15:09 +0100)]
Add some validations and new arguments
It validates some new parameters.Also thread pool size
and Ip of socket address is configurable. We can set
them using program arguments.
Change-Id: I4af24500ca0650c0c5a922d41b292c573ac78400
Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>
miroslav.kovac [Tue, 22 Mar 2016 10:12:34 +0000 (11:12 +0100)]
Add a batching system in Netconf testtool
We can now set how many devices will be configured
in one request. It can be done asynchronously or
synchronously. It s configured using json file
instead of XML.
Change-Id: Ic4d666b21771e8cebdaaa1fabb246ac482bd8ef9
Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>
Andrej Mak [Tue, 29 Mar 2016 09:26:28 +0000 (11:26 +0200)]
Bug 3864: Notify netconf monitoring about changes in session
According to https://tools.ietf.org/html/rfc6022#section-2.1.4,
netconf-state/sessions should contain number of received rpcs, notifications etc.
Because of performance reasons, data tree is not updated after every message, but
NetconfSessionMonitoringService periodically publish updates with changed sessions
to its session listeners. MonitoringToMdsalWriter writes changes to datastore.
Change-Id: I5cdc2a18a036541fd23f430be6e19ba395ca62c9
Signed-off-by: Andrej Mak <andmak@cisco.com>
Tomas Cere [Mon, 2 May 2016 12:28:35 +0000 (12:28 +0000)]
Merge "Fix for Eclipse to not choke on this line of Java Generic (was red) "
Michael Vorburger [Mon, 2 May 2016 10:20:06 +0000 (12:20 +0200)]
Fixed 3 tests which were clearly put in wrong directory
Physical directory location and Java package declaration must match
Change-Id: Ie13abea34024aca40a0f47625d4ed2f6ad8a42ee
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Michael Vorburger [Mon, 2 May 2016 10:17:31 +0000 (12:17 +0200)]
Fix for Eclipse to not choke on this line of Java Generic (was red)
JDT has subtle differences to undocumented JLS re. generics vs javac
Change-Id: Ifd2f5c5e104d112026092ef9be8428271e2f1d91
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Jakub Toth [Thu, 21 Apr 2016 14:28:34 +0000 (16:28 +0200)]
Bug 5676 - Mark old restconf draft like depricated
Change-Id: Iba80160b2dec0af4af64d50dfae3ec35276bd70d
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Tony Tkacik [Tue, 26 Apr 2016 08:43:16 +0000 (08:43 +0000)]
Merge "Make rest-perf-client modify the {DEVICE_PORT} tag in payloads"
Tomas Cere [Mon, 25 Apr 2016 13:11:10 +0000 (13:11 +0000)]
Merge "Fix NetconfDevice schema setup"
Tomas Cere [Mon, 25 Apr 2016 13:02:42 +0000 (13:02 +0000)]
Merge changes Ia25fc20d,I0b2ff209,I33768fc9
* changes:
Bug 5526 - Handling schema context for restconf
Bug 5526 - Restconf services api + RestconfConstants
Bug 5676 - Base draft util class for media types and modules
Alexis de Talhouët [Fri, 22 Apr 2016 23:41:50 +0000 (19:41 -0400)]
Fix NetconfDevice schema setup
I don't know exactly where, but it seems like SchemaResolutionException
can wraps a MissingSchemaSourceException thus breaking the schema setup
mechanism.
Change-Id: I2fb20294e95d877598199b02d6e6474781addc0b
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
Tomas Cere [Mon, 25 Apr 2016 11:21:57 +0000 (11:21 +0000)]
Merge "Bug 3863: Add onSessionStart and onSessionEnd notification support"
Jakub Toth [Tue, 8 Mar 2016 15:13:23 +0000 (16:13 +0100)]
Bug 5526 - Handling schema context for restconf
Change-Id: Ia25fc20d73b844960fe5d9a6b845f73690390aac
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Jakub Toth [Mon, 7 Mar 2016 10:18:47 +0000 (11:18 +0100)]
Bug 5526 - Restconf services api + RestconfConstants
Change-Id: I0b2ff2099dfaa8e064893525c7ea4a56168bbcdb
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Jakub Toth [Mon, 7 Mar 2016 10:14:46 +0000 (11:14 +0100)]
Bug 5676 - Base draft util class for media types and modules
Change-Id: I33768fc91cedc55549e7e2ee62c74e58ece738ed
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Tom Pantelis [Sun, 24 Apr 2016 05:12:57 +0000 (01:12 -0400)]
Fix test failures in NetconfClientDispatcherModuleTest
The implementations of NettyThreadgroupModule and NettyThreadgroupModule
HashedWheelTimerModule in the controller were recently changed - they
now obtain the service instance via the OSGi service registry therefore
several BundleContext methods must be mocked appropriately.
Change-Id: I83c77b0e5199ba73f4fd9e9d3f5ae93a0222f7a7
Signed-off-by: Tom Pantelis <tpanteli@brocade.com>
Tomas Cere [Fri, 22 Apr 2016 10:21:27 +0000 (10:21 +0000)]
Merge "caching the same capabilities for devices using Interner."
Tomas Cere [Fri, 22 Apr 2016 10:20:10 +0000 (10:20 +0000)]
Merge "Use JAXB instead of DOM in updateFeatureFile"
Tomas Cere [Fri, 22 Apr 2016 10:19:33 +0000 (10:19 +0000)]
Merge "builder class for path creating"
Tomas Cere [Fri, 22 Apr 2016 10:19:06 +0000 (10:19 +0000)]
Merge "builder class for NetconfServerSessionNegotiatorFactory"
Andrej Mak [Tue, 15 Mar 2016 14:49:45 +0000 (15:49 +0100)]
Bug 3863: Add onSessionStart and onSessionEnd notification support
OnSessionStart and onSessionEnd support for md-sal netconf.
MonitoringToMdSalWriter is notified about changes in netconf state,
and writes this changes to datastore netconf-state tree.
CapabilityChangeNotificationProducer listens for changes in
netconf-state/capabilities subtree and publishesnotifications
about changes.
SessionNotificationProducer does the same for
netconf-state/sessions/session subtree.
Change-Id: Id40c62b6725bb745413d52078da4a2f0cad0aae1
Signed-off-by: Andrej Mak <andmak@cisco.com>
matus.kubica [Thu, 14 Apr 2016 10:55:36 +0000 (12:55 +0200)]
Use JAXB instead of DOM in updateFeatureFile
Make updateFeatureFile parse xml with JAXB and update configfile.
Use JaxbUtil to get rid of namespace version compatibility error.
Change-Id: I780fe17f14dff7a1586b9f7982078cfb593c4d83
Signed-off-by: matus.kubica <Matus.Kubica@pantheon.tech>
Tomas Cere [Thu, 21 Apr 2016 11:49:19 +0000 (11:49 +0000)]
Merge "configure logback.xml file"
Tomas Cere [Thu, 21 Apr 2016 11:48:09 +0000 (11:48 +0000)]
Merge "Use mounted device schema context when resolving mounted device rpc path"
Andrej Mak [Thu, 21 Apr 2016 09:28:07 +0000 (11:28 +0200)]
Use mounted device schema context when resolving mounted device rpc path
It wasn't possible to invoke rpcs on device, which were not present
also in controller schema context, so only rpcs like get-schema and
create-subscription worked. Now, device schema context is used to
lookup rpc definition during parsing path, so rpcs defined by device works.
Change-Id: I1046bad566260c804ce0f786c56c74afe3d7f723
Signed-off-by: Andrej Mak <andmak@cisco.com>
miroslav.kovac [Tue, 29 Mar 2016 10:31:44 +0000 (12:31 +0200)]
configure logback.xml file
log file is created only when scale-util class
generates some logs.
Change-Id: Id3c43bcfed7503e2e611c593c392ec1a11e27d89
Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>
Tomas Cere [Wed, 20 Apr 2016 09:45:26 +0000 (09:45 +0000)]
Merge "Remove inventory related code from netconf connector"
Andrej Mak [Tue, 12 Apr 2016 10:56:06 +0000 (12:56 +0200)]
Bug 2244: Remove rpc-reply reread when applying subtree filter
Change-Id: Idfa62d39e855b36bd41bc8b6753efa98a6b9b15f
Signed-off-by: Andrej Mak <andmak@cisco.com>
matus.kubica [Tue, 19 Apr 2016 14:07:31 +0000 (16:07 +0200)]
Remove inventory related code from netconf connector
also removed tests from MountInstanceTests due to deleted deprecated methods from NetconfDeviceSalProvider
Change-Id: I2f78db4b37447fa9c4808122107759523cb9dd40
Signed-off-by: matus.kubica <Matus.Kubica@pantheon.tech>
miroslav.kovac [Fri, 15 Apr 2016 07:07:47 +0000 (09:07 +0200)]
caching the same capabilities for devices using Interner.
Change-Id: I70ad61ad714e679b237ab01778690ab4fd1391f1
Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>
Tomas Cere [Tue, 19 Apr 2016 13:03:16 +0000 (13:03 +0000)]
Merge "Edit todo comments"
Tomas Cere [Tue, 19 Apr 2016 13:01:57 +0000 (13:01 +0000)]
Merge "Remove blocking checkedGet call"
adetalhouet [Mon, 29 Feb 2016 21:58:33 +0000 (13:58 -0800)]
Bug 4577 Allow specification of a distinct schema cache directory per netconf device
First iteration done here https://git.opendaylight.org/gerrit/#/c/30163 introduce a BUG:
sideloaded schemas, manually added in cache/schema, and specified in the netconf connector,
where not being taking in account in the specified cache folder.
Change-Id: I6a5a6b23fc56bcc507734a99e48de88597b7ae2a
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
Ryan Goulding [Thu, 14 Apr 2016 15:30:33 +0000 (11:30 -0400)]
Bug 3708 - APIdoc explorer URLs contain extra 'node' in REST calls
* fixed mount point path builder that added each list qname twice
Manually cherry picked from controller patch to netconf patch:
https://git.opendaylight.org/gerrit/#/c/25531
Change-Id: I631961f3b0d791c6e8ab2921ef6eb163e68e7753
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
Andrej Mak [Tue, 12 Apr 2016 11:34:50 +0000 (13:34 +0200)]
Edit todo comments
AbstractNetconfSessionNegotiator - remove, constructor is used
only once
NetconfEventSource - class is called YangModeledAnyXmlNode
NetconfServerSessionListener - not a fixme but ordinary comment
NetconfDeviceRpc - not needed
NetconfMonitoringServiceImpl - same capabilities are simply replaced
AbstractGet - method in restconf has different behavior
RuntimeRpc - not same as NetconfUtil.writeNormalizedNode()
Change-Id: I6ef69b7045bafaff2baf3cb2ee175ab020fbfb26
Signed-off-by: Andrej Mak <andmak@cisco.com>
Tomas Cere [Tue, 12 Apr 2016 16:02:29 +0000 (18:02 +0200)]
Use the moved ConcurrentDOMDataBroker
ConcurrentDOMDataBroker has moved packages in controller
update the test that uses this class.
Change-Id: I083d584afda66db4e0d0bd6ce168a20ab0a6ab46
Signed-off-by: Tomas Cere <tcere@cisco.com>
Tony Tkacik [Tue, 12 Apr 2016 14:27:16 +0000 (14:27 +0000)]
Merge "Replace mdsal model bundles with feature"
Tomas Cere [Tue, 12 Apr 2016 12:26:29 +0000 (12:26 +0000)]
Merge "Add IPv6 to NetconfHelloMessageAdditionalHeader"
Tomas Cere [Tue, 12 Apr 2016 12:22:16 +0000 (12:22 +0000)]
Merge "Use keyed list as a selection node in filter"
Tomas Cere [Tue, 12 Apr 2016 12:13:49 +0000 (12:13 +0000)]
Merge "add partial match for non-module capabilities - to enable deviations in base capabilities"
Tomas Cere [Mon, 11 Apr 2016 11:21:02 +0000 (11:21 +0000)]
Merge "Bug 3866: Support for Restconf HTTP Patch"
Tomas Cere [Fri, 11 Mar 2016 12:10:07 +0000 (13:10 +0100)]
Make rest-perf-client modify the {DEVICE_PORT} tag in payloads
Change-Id: I8d5a5c6d0e9262a6c854d2e84dad0e6dd42f1141
Signed-off-by: Tomas Cere <tcere@cisco.com>
Tomas Cere [Mon, 11 Apr 2016 10:38:56 +0000 (10:38 +0000)]
Merge "Bug 5580 - RestPerfClient: Invalid requests rate reported when a thread times out"
Tomas Cere [Wed, 9 Mar 2016 14:58:37 +0000 (15:58 +0100)]
Replace mdsal model bundles with feature
Change-Id: I118a5adef486ba652f293c4bfbad09de6ab63080
Signed-off-by: Tomas Cere <tcere@cisco.com>
Tomas Cere [Fri, 8 Apr 2016 09:26:51 +0000 (09:26 +0000)]
Merge "Call CreateSubscription close method on session end"
Tomas Cere [Fri, 8 Apr 2016 09:24:59 +0000 (09:24 +0000)]
Merge "Removed embedding on javanet stax-utils"
Tomas Cere [Thu, 7 Apr 2016 11:46:42 +0000 (11:46 +0000)]
Merge "Remove deprecated NetconfMessageHeader class"
Tomas Cere [Thu, 7 Apr 2016 11:01:17 +0000 (11:01 +0000)]
Merge "Bug 4940 - correctly implement default-request-timeout-millis"
Giles Heron [Thu, 7 Apr 2016 08:49:41 +0000 (09:49 +0100)]
add partial match for non-module capabilities - to enable deviations in base capabilities
Change-Id: I06fbeaeb63cca9ad8b2e7b9aa8c75b3a1ce40334
Signed-off-by: Giles Heron <giheron@cisco.com>
Andrej Mak [Wed, 6 Apr 2016 12:56:06 +0000 (14:56 +0200)]
Call CreateSubscription close method on session end
Change-Id: I5dc9138ef74f2b683bdde800f3aec0a3a291c621
Signed-off-by: Andrej Mak <andmak@cisco.com>
Andrej Mak [Wed, 6 Apr 2016 09:14:45 +0000 (11:14 +0200)]
Add IPv6 to NetconfHelloMessageAdditionalHeader
Address is no longer validated via regex.
Instead, InetAddresses.isInetAddress(address) is used.
Change-Id: I54438405125c1c4fa411a741eab6b3e2d3d13e22
Signed-off-by: Andrej Mak <andmak@cisco.com>
Alexis de Talhouët [Mon, 4 Apr 2016 21:51:41 +0000 (17:51 -0400)]
Bug 4940 - correctly implement default-request-timeout-millis
This is a follow up patch of this one https://git.opendaylight.org/gerrit/#/c/33206/
This revert
09343d18f43b408b830aa563d94e5b203692a02e
The implementation made in previous patch was blocking transaction for a given timeout,
but the blocking wasn't handled at the right place, ending up blocking restconf/user thread.
Change-Id: I0804376256bde3fbfc3fe7ae91c5166cf21ee4d3
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
miroslav.kovac [Tue, 15 Mar 2016 14:50:03 +0000 (15:50 +0100)]
builder class for NetconfServerSessionNegotiatorFactory
-Constructor parameters are reduced. It has only one parameter,
which is builder class NetconfServerSessionNegotiatorFactoryBuilder.
NetconfServerSessionNegotiatorFactory also validates in constructor
if every required parameter is present.
Change-Id: I887d58c710808c1299baacf9ebc22345efeff113
Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>
miroslav.kovac [Thu, 10 Mar 2016 14:30:10 +0000 (15:30 +0100)]
builder class for path creating
Paths can be created with new path creator class
instead of using constant strings.
Change-Id: Icae8b65fc43f2a12f044f075279fd3ccb009074e
Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>
Robert Varga [Mon, 4 Apr 2016 17:28:14 +0000 (19:28 +0200)]
Do not pull yang-jmx-generator in
This plugin is used only during compile-time (and is pulled in via
plugin configuration), do not declare it as a dependency.
Change-Id: I3fd666e5f96ed77f89d22f3d4ff70bfe737cfffa
Signed-off-by: Robert Varga <rovarga@cisco.com>
Andrej Mak [Mon, 4 Apr 2016 12:58:43 +0000 (14:58 +0200)]
Remove deprecated NetconfMessageHeader class
Change-Id: Ia4a99e56f936bf7d52f343a1e38935b4b5eaad51
Signed-off-by: Andrej Mak <andmak@cisco.com>
Andrej Mak [Mon, 4 Apr 2016 10:56:58 +0000 (12:56 +0200)]
Use keyed list as a selection node in filter
Keyed list couldn't be used as selection node in filter
before, because filter node was parsed to normalized nodes
and yang codecs don't allow keyed list without key.
Filter content is not transformed to normalized nodes now,
only validated against schema context.
Change-Id: I5a81b268131e737d67cd3443f4f0ee4f124dd8bb
Signed-off-by: Andrej Mak <andmak@cisco.com>
Tom Pantelis [Mon, 4 Apr 2016 00:19:44 +0000 (20:19 -0400)]
Removed embedding on javanet stax-utils
javanet stax-utils is now installed as a bundle via a feature so no
longer needs to be embedded in sal-rest-connector.
Change-Id: I7e787e0484c07eee9940b5d7b7e4470b64d36f22
Signed-off-by: Tom Pantelis <tpanteli@brocade.com>
Jakub Morvay [Fri, 1 Apr 2016 08:57:25 +0000 (10:57 +0200)]
Bug 5580 - RestPerfClient: Invalid requests rate reported when a thread times out
If some threads sending requests fail or time out, skip calculation of
requests per second value and do not log it.
Change-Id: Icec9cec729999d82671f47f383a6839aeaef6444
Signed-off-by: Jakub Morvay <jmorvay@cisco.com>
Tomas Cere [Fri, 1 Apr 2016 08:17:59 +0000 (08:17 +0000)]
Merge "Remove unused aaa dependency from netconf-connector feature pom.xml"
Ryan Goulding [Thu, 31 Mar 2016 15:16:22 +0000 (11:16 -0400)]
Remove unused aaa dependency from netconf-connector feature pom.xml
Removes the features-aaa dependency as it is not needed.
Change-Id: Ia6892bc8b6ae03ca9d648dfae340cf185b1c9c8a
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
Ryan Goulding [Thu, 31 Mar 2016 14:13:09 +0000 (10:13 -0400)]
Bug 5638 switch netconf to use odl-aaa-shiro isntead of odl-aaa-authn
odl-aaa-authn has very limited uses now, since odl-aaa-shiro has
included most of its features by default. Switch netconf to use
odl-aaa-shiro instead of odl-aaa-authn, to get most up to date
aaa implementation. odl-aaa-authn should be deprecated in a
separate patch.
Change-Id: I3ca039efb607bef6c657937d0471e0b63a01b35b
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
Tomas Cere [Tue, 29 Mar 2016 14:32:06 +0000 (14:32 +0000)]
Merge "Optimize NetconfMonitoringServiceImpl getSchemaForCapability"
Tomas Cere [Tue, 29 Mar 2016 13:46:11 +0000 (13:46 +0000)]
Merge "Add support for notification subtree filter"
Tomas Cere [Tue, 29 Mar 2016 13:22:53 +0000 (13:22 +0000)]
Merge "Add support to RESTCONF to dynamically specify Filters"
Tomas Cere [Tue, 29 Mar 2016 13:00:37 +0000 (13:00 +0000)]
Merge "Reimplement NetconfDevice schema setup without recursion"
Tomas Cere [Tue, 29 Mar 2016 12:12:33 +0000 (12:12 +0000)]
Merge "change to static function"
Martin Ciglan [Thu, 3 Dec 2015 13:58:17 +0000 (14:58 +0100)]
Bug 3866: Support for Restconf HTTP Patch
- JSON body reader/writer in place
- XML body reader/writer in place
- refactored BrokerFacade and RestconfImpl code to apply HTTP Patch within transaction
in order to be able to rollback in case of error(s)
- review comments implemented
Change-Id: I974c88fc846dfa6fd9b1672d431c0f246c904877
Signed-off-by: Martin Ciglan <mciglan@cisco.com>