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 <reference id="switchConnectionProviderFactory" interface="org.opendaylight.openflowjava.protocol.spi.connection.SwitchConnectionProviderFactory"/>
5 <!-- Create OF switch connection provider on port 6653 (default) -->
6 <odl:clustered-app-config id="defaultSwitchConnConfig" default-config-file-name="default-openflow-connection-config.xml"
7 binding-class="org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow._switch.connection.config.rev160506.SwitchConnectionConfig"
8 list-key-value="openflow-switch-connection-provider-default-impl">
9 </odl:clustered-app-config>
10 <bean id="defaultSwitchConnProvider" factory-ref="switchConnectionProviderFactory" factory-method="newInstance">
11 <argument ref="defaultSwitchConnConfig"/>
13 <service ref="defaultSwitchConnProvider" interface="org.opendaylight.openflowjava.protocol.spi.connection.SwitchConnectionProvider"
14 odl:type="openflow-switch-connection-provider-default-impl"/>
16 <!-- Create OF switch connection provider on port 6633 (legacy) -->
17 <odl:clustered-app-config id="legacySwitchConnConfig" default-config-file-name="legacy-openflow-connection-config.xml"
18 binding-class="org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow._switch.connection.config.rev160506.SwitchConnectionConfig"
19 list-key-value="openflow-switch-connection-provider-legacy-impl">
20 </odl:clustered-app-config>
21 <bean id="legacySwitchConnProvider" factory-ref="switchConnectionProviderFactory" factory-method="newInstance">
22 <argument ref="legacySwitchConnConfig"/>
24 <service ref="legacySwitchConnProvider" interface="org.opendaylight.openflowjava.protocol.spi.connection.SwitchConnectionProvider"
25 odl:type="openflow-switch-connection-provider-legacy-impl"/>