Add import for netconf-node-optional
[netconf.git] / netconf / sal-netconf-connector / src / main / resources / OSGI-INF / blueprint / sal-netconf-connector.xml
index 6916c588fefc3de837991b03e5b040209e1d851d..423664c4e1cc32f95a9098e1401f908eb643241a 100644 (file)
@@ -11,6 +11,9 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
            xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
            odl:use-default-for-reference-types="true">
 
+    <reference id="parserFactory"
+               interface="org.opendaylight.yangtools.yang.model.parser.api.YangParserFactory"/>
+
     <bean id="deviceActionFactory"
           class="org.opendaylight.netconf.sal.connect.netconf.DeviceActionFactoryImpl">
     </bean>
@@ -18,4 +21,20 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
     <service ref="deviceActionFactory"
              interface="org.opendaylight.netconf.sal.connect.api.DeviceActionFactory"
              odl:type="default"/>
-</blueprint>
\ No newline at end of file
+
+    <bean id="schemaResourceManager"
+          class="org.opendaylight.netconf.sal.connect.impl.DefaultSchemaResourceManager">
+        <argument ref="parserFactory"/>
+    </bean>
+
+    <service ref="schemaResourceManager"
+             interface="org.opendaylight.netconf.sal.connect.api.SchemaResourceManager"/>
+
+    <bean id="baseNetconfSchemas"
+          class="org.opendaylight.netconf.sal.connect.netconf.schema.mapping.DefaultBaseNetconfSchemas">
+        <argument ref="parserFactory"/>
+    </bean>
+
+    <service ref="baseNetconfSchemas"
+             interface="org.opendaylight.netconf.sal.connect.netconf.schema.mapping.BaseNetconfSchemas"/>
+</blueprint>