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>
Get rid of netconf session preferences after connect Memory usage improvement for sal-netconf-connector: The preferences object was kept inside the data broker during the entire lifetime of a netconf connector. This is not necessary as it only needs 3 boolean values from it. + intern String representation of capabilities written into datastore. Change-Id: I46363a3dc079350ccb1db4840b31fdd5342798d3 Signed-off-by: Maros Marsalek <mmarsale@cisco.com> (cherry picked from commit ed824b6afc20ad44f0fc0f955747e715d1fc90a0)
Changed NetconfDeviceDatastoreAdapter and NetconfDeviceTopologyAdapter to use TransactionChains instead of Transactions to prevent race condition between init and update when a device is created. Change-Id: I8b7f507dd66d3bf95e15858c456f8905c9bbf4b9 Signed-off-by: Tomas Cere <tcere@cisco.com>
BUG-2314 Migrate netconf-connector to NormalizedNode CompositeNodes are wiped out from sal-netconf-connector. The inital operations performed on a remote netconf device (e.g. Schema download) is performed using a special schema context that contains base netconf, netconf monitoring and netconf notification schemas. With this schema context, it is possible to also use normalized nodes. YangInstanceIdentifier -> NormalizedNode filter structure is handled by a class named InstanceIdToFilter that was extracted from deprecated DataNormalizer. Change-Id: Ibcc399c3ef9413aa4f96dba5b4bb2611db7123a8 Signed-off-by: Maros Marsalek <mmarsale@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>