summary |
shortlog | log |
commit |
commitdiff |
review |
tree
first ⋅ prev ⋅ next
Ed Warnicke [Wed, 20 Nov 2013 16:07:25 +0000 (16:07 +0000)]
Merge "tests for empty leaf, namespace changing, multi simple node"
Ed Warnicke [Wed, 20 Nov 2013 16:05:11 +0000 (16:05 +0000)]
Merge "Dispose HashedWheelTimer instances properly in netconf client and server"
Maros Marsalek [Wed, 20 Nov 2013 09:46:49 +0000 (10:46 +0100)]
Dispose HashedWheelTimer instances properly in netconf client and server
Prevents resource leak exception from netty
Change-Id: I1c12806382ee5d5edf394c2ad5f81c5b0f282fdd
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Jozef Gloncak [Wed, 20 Nov 2013 12:26:53 +0000 (13:26 +0100)]
tests for empty leaf, namespace changing, multi simple node
following tests were added
- N elements in leaf list are red as N simple node instances
- Json [null] value is translated to simple node with null value
- for composite node for which were updated namespaces of its childs
can't be namespaces changed again
Change-Id: Ibfb28b1b6fdaff49a7cf38531b058f8b0a79c524
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
Ed Warnicke [Tue, 19 Nov 2013 19:05:58 +0000 (19:05 +0000)]
Merge changes Ibc19654a,I17a345ea,Id0377e20
* changes:
test of namespace suplement (from xml)
test of namespace supplement
Xml -> Composite node test
Ed Warnicke [Tue, 19 Nov 2013 18:02:53 +0000 (18:02 +0000)]
Merge "Json to composite node test"
Jozef Gloncak [Tue, 19 Nov 2013 10:44:23 +0000 (11:44 +0100)]
test of namespace suplement (from xml)
Change-Id: Ibc19654ab3decb6d9eb6a093cf0a00304503690b
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
Jozef Gloncak [Tue, 19 Nov 2013 08:47:40 +0000 (09:47 +0100)]
test of namespace supplement
test suplement of namespace when data are red from json file. to obtain
correct namespace the corresponding yang file is loaded and to supplement
it to composite node the method createConfigurationData of RestconfImpl
class is used
Change-Id: I17a345eabe1d4b9e5fd86693a96b6bfdceda25f2
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
Jozef Gloncak [Mon, 18 Nov 2013 13:25:14 +0000 (14:25 +0100)]
Xml -> Composite node test
Test for empty xml elements (for leaf, leaf list), for container(list)
which contains as subnodes leaf, leaflist, container, list.
Change-Id: Id0377e20b77761ad7af15cacc641459483ecef8b
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
Jozef Gloncak [Mon, 18 Nov 2013 09:12:32 +0000 (10:12 +0100)]
Json to composite node test
contains tests for:
- elements leaf, leaf list, list, container under list or container
- json top level elements check
- check of read empty simple data like leaf, leaf list
Change-Id: I6826cb32415fc135eb7f966f7325c5d15e21ac1a
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
Ed Warnicke [Tue, 19 Nov 2013 14:16:32 +0000 (14:16 +0000)]
Merge "fix of Bug 149"
Ed Warnicke [Tue, 19 Nov 2013 14:14:58 +0000 (14:14 +0000)]
Merge "added own XML to Composite node translation"
Ed Warnicke [Tue, 19 Nov 2013 14:08:00 +0000 (14:08 +0000)]
Merge "fix of Bug 145"
msunal [Mon, 18 Nov 2013 10:05:35 +0000 (11:05 +0100)]
fix of Bug 145
- https://bugs.opendaylight.org/show_bug.cgi?id=145
- Broker service is tracked by ServiceTracker
Change-Id: I32358e13fa5b356ed77b842c96127a51c29bc018
Signed-off-by: Martin Sunal <msunal@cisco.com>
msunal [Mon, 18 Nov 2013 16:05:40 +0000 (17:05 +0100)]
fix of Bug 149
- added missing providers
Change-Id: I2024ddc371b8e079e770c8e7700c9124ddb411b0
Signed-off-by: Martin Sunal <msunal@cisco.com>
msunal [Mon, 18 Nov 2013 13:55:07 +0000 (14:55 +0100)]
added own XML to Composite node translation
- JsonReader is used for translation of XML to CompositeNode.
It creates CompositeNode and its structure with CompositeNodeWrapper and SimpleNodeWrapper
implementations. It allows to add namespaces after translation.
Change-Id: Ib0d8fef54befe791f53901785688c2dc2bd5bb8a
Signed-off-by: Martin Sunal <msunal@cisco.com>
Ed Warnicke [Sat, 16 Nov 2013 05:11:49 +0000 (05:11 +0000)]
Merge "Added parsing of namespace in Json"
Ed Warnicke [Sat, 16 Nov 2013 05:10:21 +0000 (05:10 +0000)]
Merge "Config-netconf: Remove unnecessary capability advertistments from hello message"
msunal [Fri, 15 Nov 2013 15:16:11 +0000 (16:16 +0100)]
Added parsing of namespace in Json
- if Json element contains namespace ( namespace:elementName ) then it is added to Node
- added test for status 404 in XML part
Change-Id: I376e1d997bb0e74b64545c8099fab13ceb12d7d1
Signed-off-by: Martin Sunal <msunal@cisco.com>
Tomas Olvecky [Fri, 15 Nov 2013 14:33:05 +0000 (15:33 +0100)]
Config-netconf: Remove unnecessary capability advertistments from hello message
Change-Id: I207f6c7ae57b983f8fdca39512da0ef917d5dfe6
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
Ed Warnicke [Fri, 15 Nov 2013 12:45:43 +0000 (12:45 +0000)]
Merge "Test composite node with empty conts and lists to Json"
Jozef Gloncak [Thu, 14 Nov 2013 07:24:19 +0000 (08:24 +0100)]
Test composite node with empty conts and lists to Json
Method for building composite node with empty elements (containers, lists)
was added.
Change-Id: I153fdba11b379d5cc7bd35907e530ff54c2d4a30
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
Ed Warnicke [Thu, 14 Nov 2013 16:50:44 +0000 (16:50 +0000)]
Merge "Added Json to CompositeNode translation"
msunal [Thu, 14 Nov 2013 13:50:51 +0000 (14:50 +0100)]
Added Json to CompositeNode translation
- added JsonReader.java to provide translation from Json (InputStream) to CompositeNode
- Json has to be in one of these two formats:
{"foo":{....}} for Container foo
{"foo":[{....}]} for List foo
- added preconditions to translation from Node to Json:
Data of Container and List has to be represented as CompositeNode
Data of LeafList and Leaf has to be represented as SimpleNode
- request for unexisting data has response - not found 404
Change-Id: I9f2a07a0d333b09803606e0e4275bdf39d2cdce5
Signed-off-by: Martin Sunal <msunal@cisco.com>
Jozef Gloncak [Mon, 11 Nov 2013 10:55:07 +0000 (11:55 +0100)]
Yang and XML conversion to Json test with equals
Remove of tests for Yang + XML to Json conversion.
- Test with uses equals method do compare and which read json
data to specific structures (test of list, leaves, leaflists, container)
- Test for testing conversion of yang data types (boolean, uint8...) to json
Change-Id: I672964ec8042d1ed5d7b0dfade76f5c7224d045c
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
Ed Warnicke [Tue, 12 Nov 2013 16:46:08 +0000 (16:46 +0000)]
Merge "Write first CompositeNode into Json"
Ed Warnicke [Tue, 12 Nov 2013 16:10:16 +0000 (16:10 +0000)]
Merge "Enabling notification from netconf client"
Ed Warnicke [Tue, 12 Nov 2013 16:09:09 +0000 (16:09 +0000)]
Merge "Exctract EventLoopGroup instances to constructorparameters for netconf client and server dispatcher"
msunal [Mon, 11 Nov 2013 14:45:31 +0000 (15:45 +0100)]
Write first CompositeNode into Json
- Json format is include first CompositeNode in object
- resolved bug: translation of EmptyTypeDefinition type to Json
Change-Id: I3c9041a5c4444d9e3e15eca7d9ca3e1ef3121a22
Signed-off-by: Martin Sunal <msunal@cisco.com>
Maros Marsalek [Tue, 12 Nov 2013 13:09:08 +0000 (14:09 +0100)]
Exctract EventLoopGroup instances to constructorparameters for netconf client and server dispatcher
Change-Id: I6edd9d3eda371bc427fae178bc445dee2dc3169b
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Ed Warnicke [Tue, 12 Nov 2013 14:05:41 +0000 (14:05 +0000)]
Merge "Channel initializer class hierarchy refactor"
Robert Gallas [Tue, 12 Nov 2013 11:07:18 +0000 (12:07 +0100)]
Enabling notification from netconf client
Extending NetconfClientSessionListener to enable notifications
Change-Id: I6190afef686cb51aea9961fbd5cb43ebf1669a0d
Signed-off-by: Robert Gallas <rgallas@cisco.com>
Alessandro Boch [Mon, 11 Nov 2013 20:59:58 +0000 (20:59 +0000)]
Merge "Reduce logged messages during build and concentrate only on the ones needed for debugging build errors"
Giovanni Meo [Mon, 11 Nov 2013 17:39:11 +0000 (18:39 +0100)]
Reduce logged messages during build and concentrate only on the ones
needed for debugging build errors
- Create a maven artifact that contains a default settings for
logback.xml so it can be reused as dependency to make sure some
plugins don't generate too much verbose output
- Use the artifact
org.opendaylight.controller:commons.logback_settings as UT dependency
so to make sure only in case of errors the follow UT spit messages:
+ netconf-impl
+ config-netconf-connector
- Remove duplicated logback.xml where not needed
- Remove logback.xml and space_and_tabs_checks.xml where no longer needed
- Added logback.xml as a file on the integration tests using pax-exam,
there a local file seems to be required (unfortunately). Make sure the
pax-exam uses it for the tests where not using it.
- Made sure the sanitytest in distribution only runs when
integrationstests profile is selected
- Fixed an issue in importing in eclipse zeromq module
- Excluded all tests from mdsal unless the integrationtests profile is
selected
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
Change-Id: I9c12965bb3de5c8cba1039992cadbe27026bca2a
Robert Gallas [Mon, 11 Nov 2013 14:56:29 +0000 (15:56 +0100)]
Channel initializer class hierarchy refactor
Refactored netconf channel initializer class
hierarchy to enable SSH and other transport
implementation.
Change-Id: Ibf7567ab47adf46ec3bfdca352a7188d465f699e
Signed-off-by: Robert Gallas <rgallas@cisco.com>
Ed Warnicke [Mon, 11 Nov 2013 14:09:05 +0000 (14:09 +0000)]
Merge changes Ifdaf681e,Ifc13df7c
* changes:
Fixed merge of entries in mock data store
Added paths and mediatypes from Restconf draft 02
Tony Tkacik [Mon, 11 Nov 2013 10:16:00 +0000 (11:16 +0100)]
Added paths and mediatypes from Restconf draft 02
Change-Id: Ifc13df7c2fd9881668dd8c7cc47a4783fac440f0
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Ed Warnicke [Fri, 8 Nov 2013 21:02:48 +0000 (21:02 +0000)]
Merge "Bump versions of config-subsystem and netconf-subsystem to 0.2.3-SNAPSHOT. Remove ConfigProvider."
Ed Warnicke [Fri, 8 Nov 2013 15:28:52 +0000 (15:28 +0000)]
Merge "Improved translation from XML to Json"
Ed Warnicke [Fri, 8 Nov 2013 15:26:19 +0000 (15:26 +0000)]
Merge "Fixed RESTCONF integration, added IT skeleton"
msunal [Fri, 8 Nov 2013 14:37:41 +0000 (15:37 +0100)]
Improved translation from XML to Json
- Fixed bugs in translation
Change-Id: I68bfea382ab46f69e7c34b161ce7f972060b33e4
Signed-off-by: Martin Sunal <msunal@cisco.com>
Maros Marsalek [Fri, 8 Nov 2013 12:15:23 +0000 (13:15 +0100)]
Bump versions of config-subsystem and netconf-subsystem to 0.2.3-SNAPSHOT.
Remove ConfigProvider.
Change-Id: I6d578f5c3b934456cf37a0893e816cfc8d6340f1
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Tony Tkacik [Fri, 8 Nov 2013 00:37:56 +0000 (01:37 +0100)]
Fixed RESTCONF integration, added IT skeleton
Change-Id: I5fa91649afd6568362f5cc69dfbc142b0b95bd0c
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Ed Warnicke [Fri, 8 Nov 2013 10:57:06 +0000 (10:57 +0000)]
Merge "- Added exi capability utilities, handlers and necessary modifications - Exi parameters decomposition - Introduced HandlerManipulator class in netconf-api to be used for handlers management on channel pipeline - Exi encoding/decoding test added - exi returns NetconfMessage - added DOM attributes - exi encode decode test to expect NetconfMessage instead of Document - XmlElement.getName() returns localName first and tagName if localName not present, incorporated notes from Robert - NetconfSession implements all common methods - added copyright where needed - ProtocolMessageEncoder/Decoder stored in session and replaced with Exi enc/dec - exi encoder/decoder interface become comaptible with ProtocoleMessageEncoder/Decoder and no longer needs to be taken care of this handlers - created thirdParty bundle for exi - incorporation of Maros's notes"
Ed Warnicke [Fri, 8 Nov 2013 10:47:40 +0000 (10:47 +0000)]
Merge "Test of conversing of yang + xml files to json 2."
Martin Bobak [Wed, 30 Oct 2013 10:19:12 +0000 (11:19 +0100)]
- Added exi capability utilities, handlers and necessary modifications
- Exi parameters decomposition
- Introduced HandlerManipulator class in netconf-api to be used for
handlers management on channel pipeline
- Exi encoding/decoding test added
- exi returns NetconfMessage
- added DOM attributes
- exi encode decode test to expect NetconfMessage instead of Document
- XmlElement.getName() returns localName first and tagName if localName not present, incorporated notes from Robert
- NetconfSession implements all common methods
- added copyright where needed
- ProtocolMessageEncoder/Decoder stored in session and replaced with Exi
enc/dec
- exi encoder/decoder interface become comaptible with
ProtocoleMessageEncoder/Decoder and no longer needs to be taken care of
this handlers
- created thirdParty bundle for exi
- incorporation of Maros's notes
Author: Martin Bobak <mbobak@cisco.com>
Signed-off-by: Martin Bobak <mbobak@cisco.com>
Change-Id: If9f20cef34ec05495eb212f6a584dd65a401dc0a
Signed-off-by: Martin Bobak <mbobak@cisco.com>
Jozef Gloncak [Fri, 8 Nov 2013 09:21:29 +0000 (10:21 +0100)]
Test of conversing of yang + xml files to json 2.
Test was broken to two test. First one uses regular expression. Second one
uses JsonReader class.
Change-Id: Iaeae471c9e93b873b37236926197dec439ea3611
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
Giovanni Meo [Thu, 7 Nov 2013 15:38:56 +0000 (15:38 +0000)]
Merge "SSH netty handler"
Robert Gallas [Thu, 7 Nov 2013 14:04:53 +0000 (15:04 +0100)]
SSH netty handler
Added Netty SSH handler and
underlying virtual socket infrasctructure
Change-Id: I119494835e61820d23789125b70bb70c1299ae31
Signed-off-by: Robert Gallas <rgallas@cisco.com>
Jozef Gloncak [Thu, 7 Nov 2013 08:14:49 +0000 (09:14 +0100)]
Test of conversion of yang + xml file to json
Change-Id: I24447e25ffc245d6557a8aedf9b32302a00ad385
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
Maros Marsalek [Wed, 6 Nov 2013 15:24:32 +0000 (16:24 +0100)]
Make default strategy for edit-config netconf operation MERGE in config-persister-impl
Replace strategy, deletes default modules
Change-Id: Ie6e09dbdeb12aa4201af09852d4a4c6eee4e29a2
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Alissa Bonas [Wed, 6 Nov 2013 11:49:52 +0000 (13:49 +0200)]
Create mvn profile for integrationtests
Change-Id: I119cb15f184523201cb190f2dfe8b0639995f704
Signed-off-by: Alissa Bonas <abonas@redhat.com>
Maros Marsalek [Mon, 4 Nov 2013 09:14:02 +0000 (10:14 +0100)]
Improved exception handling thrown by client threads in ConcurrentClientsTest
Change-Id: Iabb655c4bf6f03e80c7822cbbc19e79d8f1db30e
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Maros Marsalek [Tue, 5 Nov 2013 09:19:58 +0000 (10:19 +0100)]
NetconfClientDispatcher moved to constructor arguments in NetconfClient
This way NioEventLoopGroup instance can be reused by multiple clients.
Dispatcher created in NetconfCLient's constructor spawned an instance of NioEventLoopGroup (in AbstractDispatcher in bgpcep repo).
Instance of NioEventLoopGroup spawns new threads and with multiple concurrent clients system could get out of resources e.g. Too many open files, Unable to create new native thread.
Change-Id: I7dffed243d62ea0be4786d067a16d4e58ab1530c
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
msunal [Tue, 5 Nov 2013 14:45:55 +0000 (15:45 +0100)]
Added serializer/deserializer for JSON/XML
- exceptions are translated to rest call response with state code 400 or 500
- imporoved singleton pattern
- tests
- added providers for serialization/deserialization of JSON/XML
- supported rest methods: readData, invokeRpc
Change-Id: I3a888fc1ad9c0ae2364d050e5c67875f9e075337
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Signed-off-by: Martin Sunal <msunal@cisco.com>
Alissa Bonas [Thu, 31 Oct 2013 15:58:16 +0000 (17:58 +0200)]
Fix star import and enable checkstyle rule to prevent it.
Change-Id: I62a1b8e3e85c2575939c3710524a98c91227648d
Signed-off-by: Alissa Bonas <abonas@redhat.com>
Alissa Bonas [Wed, 30 Oct 2013 13:43:08 +0000 (15:43 +0200)]
Clean all unused and redundant imports in controller.
Enable verification of unused and redundant imports via checkstyle.
Rename checkstyle configuration file because it no longer checks only
for tabs.
Change-Id: Id94a92fbc8a79aba01a4177aec3d80a2b3394508
Signed-off-by: Alissa Bonas <abonas@redhat.com>
msunal [Tue, 29 Oct 2013 16:11:49 +0000 (17:11 +0100)]
Added case with Choice-case to instance identifier building
- Choice-case is resolved when instance identifier is builded
- added tests for creating instance identifier from uri
Change-Id: Ic61820d0d73cae43db50e0d1434e20b51ea54aa8
Signed-off-by: Martin Sunal <msunal@cisco.com>
Maros Marsalek [Mon, 28 Oct 2013 10:37:25 +0000 (11:37 +0100)]
Added support for list, leaf-list and container in output under rpc node in yang definition.
Added support for leaf-list in state data definition.
Updated config subsystem as well as netconf mapping.
Change-Id: I4bdfbed352e29d6d3dc569f38c07022383d565c8
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Alissa Bonas [Tue, 29 Oct 2013 16:15:37 +0000 (18:15 +0200)]
Use same maven-compiler-plugin version 2.5.1 in all poms.
Also declare it in commons pom in pluginsManagement section.
Bump java version to 1.7 in release pom for maven-compiler-plugin
Change-Id: I8844a65029edf99db9eb97db594ef960fff68ba4
Signed-off-by: Alissa Bonas <abonas@redhat.com>
msunal [Fri, 25 Oct 2013 09:18:30 +0000 (11:18 +0200)]
Solved bugs and added tests in sal-rest-connector
- solved bugs in ControllerContext
- added tests
- formatting
Change-Id: Ia552ec3aa6a8e4949aedfc01f8386dbc6875a73f
Signed-off-by: Martin Sunal <msunal@cisco.com>
Maros Marsalek [Fri, 25 Oct 2013 12:48:59 +0000 (14:48 +0200)]
Added unit test to demonstrate netconf-client
Change-Id: Ia159a2ebbd30493611189e3ae932c754d0010627
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Martin Bobak [Wed, 23 Oct 2013 13:14:46 +0000 (15:14 +0200)]
added implementation of Identifier and Identifiable from yangtools.concepts
Change-Id: I33a106e3c7b7db8ea74921409b931c3eea06a548
Signed-off-by: Martin Bobak <mbobak@cisco.com>
Milos Fabian [Wed, 23 Oct 2013 09:09:59 +0000 (11:09 +0200)]
Netconf message related constants moved to one place.
Change-Id: Idcbf63f51d152779804aa54432366874088db332
Signed-off-by: Milos Fabian <milfabia@cisco.com>
Tomas Olvecky [Mon, 21 Oct 2013 16:00:05 +0000 (18:00 +0200)]
Add ModuleFactory#getDefaultModules method to config-api.
Add method to populate pre-existing state. Modify code generator to generate
a blank implementation. Calling of the method is done by config-manager
every time new ModuleFactory is discovered in OSGi service registry, each time in a separate transaction.
Implement default module functionality in config-manager.
Add DependencyResolverFactory for default modules to be able to lookup dependencies.
Implement new service tracker tracking ModuleFactory instances in order to commit blank transactions
every time ModuleFactory service appears or disappears.
Clean up pom versions: merge config.yangstore.version into config.version.
Change-Id: I47229c9e403b817b24740c8f77ad43abcc720094
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
msunal [Wed, 23 Oct 2013 11:26:40 +0000 (13:26 +0200)]
Adding resources for a testing
- added xml, yang, json resources for a testing
- created JsonMapper class - there will be conversion to json based on yang schema
Change-Id: I71b13018f9e9e1ed20279f79a0a6e07a0ecef89a
Signed-off-by: Martin Sunal <msunal@cisco.com>
Tomas Olvecky [Tue, 22 Oct 2013 12:11:09 +0000 (14:11 +0200)]
Add change notification functionality to yang-store.
Add ability to listen for change notifications to yang-store. Listeners get notified when
new yang files are found in bundles and also when bundle with yang files is stopped.
Change-Id: I7c665a57ba7face18bf128d6a7db17c1a23526ce
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
Ed Warnicke [Wed, 23 Oct 2013 03:03:55 +0000 (22:03 -0500)]
Fix for $[netconf.version} issues.
Change-Id: I39bc581dbb09f5f145fd5d9b08c6872b58f29184
Signed-off-by: Ed Warnicke <eaw@cisco.com>
Tomas Olvecky [Tue, 22 Oct 2013 18:13:10 +0000 (20:13 +0200)]
Bump version of netconf-subsystem to 0.2.2-SNAPSHOT.
Also clean up poms in netconf subsystem.
Change-Id: I419700edbdf4051ea4fed6cbffc1a558635a5548
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
Martin Bobak [Mon, 21 Oct 2013 14:18:41 +0000 (16:18 +0200)]
bump netty to version 4.0.10.Final
Change-Id: Ia3cd0b6a0443d252971cfd0beb59bd5ccc800116
Signed-off-by: Martin Bobak <mbobak@cisco.com>
Alissa Bonas [Mon, 21 Oct 2013 12:47:36 +0000 (15:47 +0300)]
Declare commons-io version
Change-Id: I5493d8144199af7127b7fe5c8b94d2c4c59ef1ab
Signed-off-by: Alissa Bonas <abonas@redhat.com>
Milos Fabian [Tue, 15 Oct 2013 07:35:43 +0000 (09:35 +0200)]
Reworked Netconf framing mechanism, added chunked framing mechanism.
Chunked framing mechanism http://tools.ietf.org/html/rfc6242#section-4.2
Change-Id: I00c44560836a8df66c33f6c90fa460984c4581fa
Signed-off-by: Milos Fabian <milfabia@cisco.com>
Maros Marsalek [Fri, 18 Oct 2013 08:18:37 +0000 (10:18 +0200)]
Make netconf client throw checked Interrupted exception instead of unchecked
Change-Id: Id49cc22fc463c754aca98fb03e53afe38b6c9ac4
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Alissa Bonas [Wed, 16 Oct 2013 14:12:51 +0000 (17:12 +0300)]
Fix warnings in poms - duplicate and incorrect dependencies
Change-Id: Ia8978555a51ae9be02782b8c70d8867fe2052c7a
Signed-off-by: Alissa Bonas <abonas@redhat.com>
Ed Warnicke [Mon, 14 Oct 2013 21:41:48 +0000 (16:41 -0500)]
Candidate fix for "NoSuchAlgorithm SunX509 KeyManager" error.
Used KeyManagerFactory.getDefaultAlgorithm() instead.
Change-Id: Ib1cff94c5f33cb82b004b995802878ed8a75e87c
Signed-off-by: Ed Warnicke <eaw@cisco.com>
Tony Tkacik [Mon, 14 Oct 2013 12:43:05 +0000 (14:43 +0200)]
Updated RESTCONF implementation
- Restconf implementation now implements new SAL readign contracts
in form of <String,CompositeNode> where String is Restconf version
of instance identifier.
Translation of Restconf InstanceIdentifier into Binding-Independent
Restconf Instance-Identifier is done by ControllerContext class
which implements stateful translation of identifier based on schema
context.
After translation of instence-identifier most of actions maps
directly to Binding-Independent APIs.
Change-Id: I248470e282826a3f04f6e99f54aae8fd14ea2eb3
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Maros Marsalek [Tue, 8 Oct 2013 16:26:35 +0000 (18:26 +0200)]
Initial code drop of netconf protocol implementation
This implementation is based on infrastructure provided by the framework artifact
and contains server as well as client side code.
Netconf subsystem structure:
Netconf-api:
Api definition for client and server.
Netconf-impl:
Netconf server implementation. Server handles basic communication
and delegates handling of rpcs to an implementation of netconf-mapping-api.
Netconf-mapping-api:
Api definition for pluggable rpcs handler. Implementations of this api
are plugged dynamically into netconf-impl using OSGi apis.
Config-netconf-connector:
Implementation of netconf-mapping-api that handles netconf rpcs and delegates
requests to configuration subsystem
Netconf-util:
Utility classes used by client and server code.
Netconf-client:
Netconf client implementation.
Netconf-it:
Integration tests for netconf. These tests verify correct cooperation of netconf server,
config-netconf-connector, config subsystem and netconf client.
Config-persister-api:
Api definition for config persister. Config persister is a component that is responsible
for storing configuration snapshots after every change to the configuration via netconf rpcs.
(Pushed to config-subsystem)
Config-persister-impl:
Implementation of config persister that receives notifications from netconf-impl about changes
to the configuration and uses pluggable adapters to store received snapshots.
Config-persister-file-adapter:
Implementation of config persister adapter that stores and restores config snapshots from a file.
(Pushed to config-subsystem)
In order to run netconf in OSGi, some configuration issues had to be resolved
in config-subsystem bundles.
Change-Id: I8e0421c924b0714a4d49962c4bb5ca01ef68ac78
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Tony Tkacik [Wed, 25 Sep 2013 16:52:19 +0000 (18:52 +0200)]
Added sal-connector-* skeletons (REST connector, MB, Netconf).
FIxed version of YANG Tools to 0.5.8 release
Change-Id: Id20c9cd8798948f79c655b4d7f8ecad0d1dd392c
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>