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 <tcere@cisco.com> Signed-off-by: Maros Marsalek <mmarsale@cisco.com> Signed-off-by: Ed Warnicke <hagbard@gmail.com>
BUG-3095 Add EventTime attribute to DOMNotification from netconf Introduced new interface DOMEvent and DOMNotifications from sal-netconf-connector implement this interaface. The eventTime is parsed from the the notification xml. Change-Id: I833d86d91f752be55fef3e641a6c8654d2f65a28 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Fix compilation with JDK8 Direct cast was not working, so restructure it a bit. Change-Id: I58bb6ab2d636cdfe15d1a7ed9c47c393ff6a6920 Signed-off-by: Robert Varga <rovarga@cisco.com>
BUG 2889 : migration of netconf-cli to NormalizedNode api's Change-Id: I5311a5c37ed5b5be214ab9aa4e7328df3470fde1 Signed-off-by: Tomas Cere <tcere@cisco.com>
BUG-1513: migrate users to ChoiceSchemaNode This migrates all users to the new interface name, cleaning them up as the data.api and model.api name clash is resolved. Change-Id: Ibdc317d5ff86c6a895cccdacf6dfea1fb005d9b6 Signed-off-by: Robert Varga <rovarga@cisco.com>
Fixed compilation breakage in Netconf CLI Change-Id: I59380b25f50304c18e724ca435a290cba1ddc3c0 Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
BUG-2310 - widen yang model for netconf-node. Netconf datastore is now in topology, added connection state, resolved/unresolved schemas with failure reasons and host to netconf node. Deprecated old netconf node in inventory. Change-Id: Id34a17b82420eaf69d03d72b9a1523210cc87cc2 Signed-off-by: Tomas Cere <tcere@cisco.com>
Netconf-cli compilable and included in project Change-Id: Ia08396f52c98ea2661e13f60a3787b18c4ae50d6 Signed-off-by: Marian Dubai <mdubai@cisco.com>
Fix checkstyle warnings in netconf-cli Change-Id: Ic434bf4aac666c312e41781588aa9fca94acca4e Signed-off-by: Marian Dubai <mdubai@cisco.com>
BUG-997 Use shared schema context factory in netconf-connector + Fix disconnect by netconf-connector. Until now, the connection to remote device was still open even if initialization failed. Change-Id: I23ee999c7898665498519abf19610deef3d410a3 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Remove old dependencies - Remove stale dependencies that prevent releasing of artifacts - Remove unused flow-management-compatibility and inventory-topology-compatibility modules - Make sure that if a dependency is on module with a version defined by a variable, lets specify the version in the dependency management in common pom - Replace in netconf-cli the reference from yang-data-json to yang-data-composite-node because yang-data-json has been removed - Removed whitespaces in config-netty-config that would cause checkstyle issues downstream otherwise Change-Id: I866e4b36e71c004b925bd181412ff4df91b3091f Signed-off-by: Giovanni Meo <gmeo@cisco.com>
broken build - missing implementation of method getAnyXmlNodeSerializer Change-Id: Ib7f22015462cb224e11c3c267cfbac7627eeb800 Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
Serialization/Deserialization and a host of other fixes - Hande Cluster MemberUp and MemberRemoved events in ShardManager - Cohort messages and close listener messages switched to use protobuff - Distributed Datastore switch messages to use protobuff CreateTransaction CreateTransactionReply CreateTransactionChain CreateTransactionChainReply distributed datastore messages switched to protobuff - ShardManager messages switch to protobuff - DataChanged and other messages switch to protobuf in distributed datastore - Fixed few things found during testing 1. ShardStrategy - setting of configuration 2. NodeToNormalizedNodeBuilder - leaf node/leafsetentry node checks 3. DataChanged event - passing of scope instanceidentifier used during deserialization - Introducing JMX MBeans for distributed datastore -Fixed issues which were preventing remote Shards from talking to each other - Fixed a number of issues related to deserialization - Add distributed datastore to the build - Switch from InstanceIdentifier to YangInstanceIdentifier Change-Id: I0d15dc482cb2b0fb2170b1344bad9fa3b421e8e0 Signed-off-by: Moiz Raja <moraja@cisco.com>
BUG-1092: adjust to YangInstanceIdentifier This is a compation to I1e30a0df93d8bfb891d047c58abcb117d4006c76, adjusting the components to use the new name. Change-Id: I615763240581e850f7752f82e44d752c8fceb169 Signed-off-by: Robert Varga <rovarga@cisco.com>
Allow getChildNodes() to become a Collection Preparatory patch for yangtools change -- getChildNodes() will start returning a Collection, not a Set. Change-Id: Ie7255757e3f48465e3acd9e65764f1b79a3a9511 Signed-off-by: Robert Varga <rovarga@cisco.com>
Fixed incorrect XML test suites & Usage of removed API Change in underlying YANG Tools codec, unvereded that there were test-suites which did string comparison for testing of XML responses and any change in XML serialization (valid from XML point-of-view) triggered this tests to fail. Reworked offending tests to use XML W3C Document for testing instead of string comparison and regexes. Change-Id: Ib6e35e8d2fe79275666235370d1dda461277a59f Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
BUG-1041 cli proposal #1 Generic model based cli for netconf servers. Command are defined with yang language. Change-Id: I9da0c764a92707d6ede3853bae021d9df01755d7 Signed-off-by: Maros Marsalek <mmarsale@cisco.com> Signed-off-by: Jozef Gloncak <jgloncak@cisco.com> Signed-off-by: Robert Varga <rovarga@cisco.com>