Move the Openflow connections blueprint to OpenflowJava project
[openflowjava.git] / openflowjava-blueprint-config / src / main / resources / org / opendaylight / blueprint / openflowjava.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
3            xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0">
4
5   <reference id="switchConnectionProviderFactory" interface="org.opendaylight.openflowjava.protocol.spi.connection.SwitchConnectionProviderFactory"
6           odl:type="default"/>
7
8   <!-- Create OF switch connection provider on port 6633 -->
9   <odl:clustered-app-config id="defaultSwitchConnConfig" default-config-file-name="default-openflow-connection-config.xml"
10       binding-class="org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow._switch.connection.config.rev160506.SwitchConnectionConfig"
11       list-key-value="openflow-switch-connection-provider-default-impl">
12   </odl:clustered-app-config>
13
14   <bean id="defaultSwitchConnProvider" factory-ref="switchConnectionProviderFactory" factory-method="newInstance">
15     <argument ref="defaultSwitchConnConfig"/>
16   </bean>
17
18   <service ref="defaultSwitchConnProvider" interface="org.opendaylight.openflowjava.protocol.spi.connection.SwitchConnectionProvider"
19           odl:type="openflow-switch-connection-provider-default-impl"/>
20
21   <!-- Create OF switch connection provider on port 6653 -->
22   <odl:clustered-app-config id="legacySwitchConnConfig" default-config-file-name="legacy-openflow-connection-config.xml"
23       binding-class="org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow._switch.connection.config.rev160506.SwitchConnectionConfig"
24       list-key-value="openflow-switch-connection-provider-legacy-impl">
25   </odl:clustered-app-config>
26
27   <bean id="legacySwitchConnProvider" factory-ref="switchConnectionProviderFactory" factory-method="newInstance">
28     <argument ref="legacySwitchConnConfig"/>
29   </bean>
30
31   <service ref="legacySwitchConnProvider" interface="org.opendaylight.openflowjava.protocol.spi.connection.SwitchConnectionProvider"
32           odl:type="openflow-switch-connection-provider-legacy-impl"/>
33
34 </blueprint>