From: Robert Varga Date: Fri, 4 Apr 2014 13:25:41 +0000 (+0200) Subject: Bug 510: Updated initial configuration to easily enable new datastore X-Git-Tag: autorelease-tag-v20140601202136_82eb3f9~279 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=043856746f66822e2fec6e006a4bea87f897ac6d;ds=sidebyside Bug 510: Updated initial configuration to easily enable new datastore In order to enable new in-memory datastore (and to wire it with clients) initial configuration of md-sal (01-md-sal.xml) needs to be updated to unwire old services and wire new one to the actual MD-SAL brokers. This could be done by commenting out all DATA-BROKER sections and uncommenting NEW-DATA-BROKER sections. Change-Id: I072a65785593b82ec4b1ff6e3dae4c0af7497659 Signed-off-by: Tony Tkacik Signed-off-by: Martin Sunal Signed-off-by: Robert Varga --- diff --git a/opendaylight/distribution/opendaylight/src/main/resources/configuration/initial/01-md-sal.xml b/opendaylight/distribution/opendaylight/src/main/resources/configuration/initial/01-md-sal.xml index de9ac232e8..619ab06d8d 100644 --- a/opendaylight/distribution/opendaylight/src/main/resources/configuration/initial/01-md-sal.xml +++ b/opendaylight/distribution/opendaylight/src/main/resources/configuration/initial/01-md-sal.xml @@ -1,26 +1,62 @@ - + + + + - prefix:schema-service-singleton yang-schema-service + + prefix:hash-map-data-store hash-map-data-store + + + + prefix:dom-broker-impl dom-broker + dom:dom-data-store hash-map-data-store + + + + prefix:binding-broker-impl @@ -42,6 +78,7 @@ prefix:binding-notification-broker binding-notification-broker + prefix:binding-data-broker binding-data-broker @@ -54,72 +91,106 @@ runtime-mapping-singleton - + + + + - - - dom:schema-service - - yang-schema-service - /modules/module[type='schema-service-singleton'][name='yang-schema-service'] - - - - binding:binding-notification-service - - binding-notification-broker - /modules/module[type='binding-notification-broker'][name='binding-notification-broker'] - - - - dom:dom-data-store - - hash-map-data-store - /modules/module[type='hash-map-data-store'][name='hash-map-data-store'] - - - - binding:binding-broker-osgi-registry - - binding-osgi-broker - /modules/module[type='binding-broker-impl'][name='binding-broker-impl'] - - - - binding:binding-rpc-registry - - binding-rpc-broker - /modules/module[type='binding-broker-impl'][name='binding-broker-impl'] - - - - binding-impl:binding-dom-mapping-service - - runtime-mapping-singleton - /modules/module[type='runtime-generated-mapping'][name='runtime-mapping-singleton'] - - - - dom:dom-broker-osgi-registry - - dom-broker - /modules/module[type='dom-broker-impl'][name='dom-broker'] - - - - binding:binding-data-broker - - binding-data-broker - /modules/module[type='binding-data-broker'][name='binding-data-broker'] - - + + dom:schema-service + + yang-schema-service + /modules/module[type='schema-service-singleton'][name='yang-schema-service'] + + + + binding:binding-notification-service + + binding-notification-broker + /modules/module[type='binding-notification-broker'][name='binding-notification-broker'] + + + + + dom:dom-data-store + + hash-map-data-store + /modules/module[type='hash-map-data-store'][name='hash-map-data-store'] + + + + + + + + binding:binding-broker-osgi-registry + + binding-osgi-broker + /modules/module[type='binding-broker-impl'][name='binding-broker-impl'] + + + + binding:binding-rpc-registry + + binding-rpc-broker + /modules/module[type='binding-broker-impl'][name='binding-broker-impl'] + + + + binding-impl:binding-dom-mapping-service + + runtime-mapping-singleton + /modules/module[type='runtime-generated-mapping'][name='runtime-mapping-singleton'] + + + + dom:dom-broker-osgi-registry + + dom-broker + /modules/module[type='dom-broker-impl'][name='dom-broker'] + + + + + binding:binding-data-broker + + binding-data-broker + + /modules/module[type='binding-data-broker'][name='binding-data-broker'] + + + + + + - - urn:opendaylight:params:xml:ns:yang:controller:netty:eventexecutor?module=netty-event-executor&revision=2013-11-12 urn:opendaylight:params:xml:ns:yang:controller:threadpool?module=threadpool&revision=2013-04-09 @@ -129,6 +200,4 @@ urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:impl?module=opendaylight-sal-dom-broker-impl&revision=2013-10-28 urn:opendaylight:params:xml:ns:yang:controller:md:sal:common?module=opendaylight-md-sal-common&revision=2013-10-28 - -