Bug 4202: Migration to use mdsal project Migrated controller to use MD-SAL provided Java Binding instead of YANG-Tools provided JAVA Binding. This migration deals only with compile time and in runtime. Updated following features - features-config - features-config-netty - features-config-persister - features-mdsal - features-extras - features-protocol-framework to use - Java Binding hosted in MD-SAL project - features-parent from odlparent Change-Id: Iba40d74d118e212c9a57fa28711bbbe339fe1bbd Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
BUG 4291 : odl-clustering-test-app feature must depend on odl-mdsal-broker When odl-clustering-test-app feature depends on odl-mdsal-broker-local the distributed-entity-ownership service does not get resolved. Change-Id: I0240ea6b210ec5966f680f786a706365b4f6502c Signed-off-by: Moiz Raja <moraja@cisco.com> (cherry picked from commit b079e20e9a9f3ac133f4b5871d6c9158d016ab6a)
Bug 4105: Added DistributedEntityOwnershipService and wiring Added a skeleton DistributedEntityOwnershipService impl class and config system wiring. I initially tried to instantiate it in the operational store module but it needs to be its own service and AFAIK you can only provide one service per module as createInstance returns a single AutoCloseable. So I created a new config yang and xml for distributed-entity-ownership-service. We also need a separate config yang service identity to allow for multiple impls - I put this in sal-common-api where the EntityOwnershipService is defined. Change-Id: I4883af2e749bca5c9dfdac69cf943017294435a3 Signed-off-by: Tom Pantelis <tpanteli@brocade.com>
Bug 4035: Removed sal-common which is unused since Helium. Change-Id: Ia6e15cc1e94fcf5794a56fbf61d260644dcb457b Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Bug 4035: Extract dom-config from core-api and broker-impl This patch introduces two new artefacts sal-dom-config and sal-dom-broker-config which hosts all config subsystem related MD-SAL DOM Broker implementation. This patch is required for MD-SAL split in order to not have cyclic dependency between controller and md-sal project. Change-Id: Ic93c583c07ae3e088dcf0e74cbdaaf627a8e79f6 Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Decouple message bus from netconf connector Change-Id: I6a143e868adc1e5c7a9b114798e7009bb6ef8675 Signed-off-by: Maros Marsalek <mmarsale@cisco.com> Signed-off-by: Tomas Cere <tcere@cisco.com>
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>
Make TCP netconf endpoint configurable Allow users to configure netconf endpoint for md-sal to use pure TCP instead/or along with SSH. Change-Id: I03d067322b0c02ba335d554da51c56db77c22bfb Signed-off-by: Maros Marsalek <mmarsale@cisco.com> Signed-off-by: Tomas Cere <tcere@cisco.com>
Use ImmutableNodes.fromInstanceId in netconf Build normalized node strcuture from Yang Instance Id using new utilities from yang-data-impl. Change-Id: I1862d17e2356b965d4875ce5e715891cf94b17fb Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Bug 2903: Turning on clustering by default See Weather event: https://wiki.opendaylight.org/view/Weather#Clustered_Data_Store_Switch_over Change-Id: I36b64d7eb657641bacfe2fd6e53a595baf2ad4a0 Signed-off-by: Ed Warnicke <eaw@cisco.com>
BUG-2801: Added filtering for get and getConfig in netconf mdsal northbound. Change-Id: I37db2b21712c7b3d16c6b9dafa193a3fb9df4430 Signed-off-by: Tomas Cere <tcere@cisco.com>
BUG 2799: Migration of Message Bus from deprecated Helium MD-SAL APIs to Lithium API (copyrights corrected) Change-Id: I2206b4b532e4feead26c166b793966b077f0f26f Signed-off-by: Igor Bartak <ibartak@cisco.com>
Use Config Admin to overlay datastore properties Added functionality to configure DatastoreContext settings via a properties file, org.opendaylight.controller.cluster.datastore.cfg, in the karaf etc dir. The properties are overlayed onto the DatastoreContext that is initialized via the config yang XML file. This allows for separation of the wiring in the config yang XML from the user-facing config settings to facilitate preserving the user-facing config settings on upgrade while applying wiring changes. The DatastoreContextIntrospector class is responsible for applying the property key/values obtained from the Config Admin Configuration to the current DatastoreContext. The DatastoreContextConfigAdminOverlay class interfaces with the ConfigurationAdmin OSGi service to obtain the configuration and calls into the DatastoreContextIntrospector. Modified DatastoreContext.Builder to support loading from an existing DatastoreContext instance and applying changes to it to yield a new instance on build. Added a DatastoreConfigurationMXBean that reports the DatastoreContext settings via JXM. This is useful to see what settings are currently applied. Most of the other changes were to wire the new classes from the Module class to the DistributedDatastore. Added new unit tests to cover the new code. Change-Id: I9427907dac576bd416bad677a56fa8259af59a09 Signed-off-by: Tom Pantelis <tpanteli@brocade.com>
BUG-2635 Netconf monitoring for md-sal netconf northbound Monitoring for mdsal's netconf stores all available monitoring data in the datastore and provides get-schema operation Change-Id: I573c5d57e5cf25d7688f3355b602327c7af75c65 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
BUG-2634 Config binding for netconf server MD-SAL based netconf northbound is activated using feature: odl-netconf-mdsal Change-Id: I6b0ae0db30bb239fcd073883ffe76ff7c5fc0143 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
BUG-2288: implement DOMNotificationRouter Implements DOMNotification(Publish)Service using LMAX Disruptor. The disruptor is used internallly to transfer requests from publishers to two-stage notification dispatch, where the frist stage takes care of delivering events to subscribers and the second stage notifies the futures. Change-Id: I654d9d044e80b2a2ff6fd5b05ddceed4e79a4ebc Signed-off-by: Robert Varga <rovarga@cisco.com>
Move feature odl-mdsal-common from features-config to features-mdsal. Change-Id: I42f6840c5bc3c271dc5b9edde4bf266f8b718946 Signed-off-by: Ed Warnicke <eaw@cisco.com>
BUG 2302 : odl-clustering-test-app should not be part of the odl-restconf-all feature set This patch does the following, 1. It removes odl-clustering-test-app from the restconf features 2. Move odl-clustering-test-app to the md-sal feature (just like odl-toaster) 3. Removes all unneccessary dependencies from odl-clustering-test-app 4. Removes all the clustering configuration files from the odl-clustering-test-app feature This now allows the odl-clustering-test-app to be used with/without clustering. It also eliminates the problem is inadvertently installing the odl-clustering-test-app when installing odl-restconf-all. Change-Id: I8021f88c967576aa8cf8da54dbfa8f4464233bc3 Signed-off-by: Moiz Raja <moraja@cisco.com>
Bug 1948: Finish separating out restconf features In order to avoid a maven project cycle in solving Bug 1948, we needed to separate restconf features. Note, this is the second step, removing the suffix -new. Change-Id: I3cad2e72141bd78a212dda71b4ef81ba6ab6555a Signed-off-by: Ed Warnicke <eaw@cisco.com>
Bug 1963: Fix missing bundle in xsql feature Change-Id: Ieedf3f07bc85110c8c0e4be2d73612311ed5074c Signed-off-by: Ed Warnicke <eaw@cisco.com>