+ <!-- "clustered-app-config" is an ODL extension that obtains an application configuration yang container
+ from the MD-SAL data store and makes the binding DataObject available as a bean that can be injected
+ into other beans. Here we obtain the ToasterAppConfig container DataObject. This also shows how to
+ specify default data via the "default-config" child element. While default leaf values defined in the
+ yang are returned, one may have more complex data, eg lists, that require default data. The
+ "default-config" must contain the XML representation of the yang data, including namespace, wrapped
+ in a CDATA section to prevent the blueprint container from treating it as markup.
+ -->
+ <odl:clustered-app-config id="toasterAppConfig"
+ binding-class="org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.toaster.app.config.rev160503.ToasterAppConfig">
+ <odl:default-config><![CDATA[
+ <toaster-app-config xmlns="urn:opendaylight:params:xml:ns:yang:controller:toaster-app-config">
+ <max-make-toast-tries>3</max-make-toast-tries>
+ </toaster-app-config>
+ ]]></odl:default-config>
+ </odl:clustered-app-config>
+