From: Maros Marsalek Date: Thu, 27 Feb 2014 08:05:16 +0000 (+0100) Subject: Add toaster sample consumer/provider modules to initial configuration. X-Git-Tag: autorelease-tag-v20140601202136_82eb3f9~365^2 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=2ebd187ec1801b62c459033a77293cb8c5892c8b Add toaster sample consumer/provider modules to initial configuration. Toaster modules are now part of configuration subsystem, but were not started by default so far. Toaster consumer/provider are now started by default and behave just like before. In addition, now you can access toaster modules via netconf endpoint started by the controller (port 8383). Toasts-made count for toaster-consumer is now reported as operational data and can be accessed using get rpc. Change-Id: Ia649ed4f0255de22aae35d4362e51ba1bc53936e Signed-off-by: Maros Marsalek --- diff --git a/opendaylight/distribution/opendaylight/src/main/resources/configuration/initial/02-toaster-sample.xml b/opendaylight/distribution/opendaylight/src/main/resources/configuration/initial/02-toaster-sample.xml new file mode 100644 index 0000000000..c481485c92 --- /dev/null +++ b/opendaylight/distribution/opendaylight/src/main/resources/configuration/initial/02-toaster-sample.xml @@ -0,0 +1,73 @@ + + + + + + + prefix:toaster-provider-impl + + toaster-provider-impl + + + binding:binding-rpc-registry + binding-rpc-broker + + + + + binding:binding-notification-service + + binding-notification-broker + + + + + + prefix:toaster-consumer-impl + + toaster-consumer-impl + + + binding:binding-rpc-registry + binding-rpc-broker + + + + + binding:binding-notification-service + + binding-notification-broker + + + + + + + toaster:toaster-provider + + toaster-provider + /modules/module[type='toaster-provider-impl'][name='toaster-provider-impl'] + + + + toaster:toaster-consumer + + toaster-consumer + /modules/module[type='toaster-consumer-impl'][name='toaster-consumer-impl'] + + + + + + + + + urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding?module=opendaylight-md-sal-binding&revision=2013-10-28 + urn:opendaylight:params:xml:ns:yang:controller:config:toaster-consumer?module=toaster-consumer&revision=2014-01-31 + urn:opendaylight:params:xml:ns:yang:controller:config:toaster-consumer:impl?module=toaster-consumer-impl&revision=2014-01-31 + urn:opendaylight:params:xml:ns:yang:controller:config:toaster-provider?module=toaster-provider&revision=2014-01-31 + urn:opendaylight:params:xml:ns:yang:controller:config:toaster-provider:impl?module=toaster-provider-impl&revision=2014-01-31 + + + +