All Downloads are FREE. Search and download functionalities are using the official Maven repository.

OSGI-INF.blueprint.openflowjava-extension-nicira.xml Maven / Gradle / Ivy

There is a newer version: 0.19.0
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
           xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
           xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
           odl:use-default-for-reference-types="true">


    <reference id="defaultSwitchConnProvider"
               interface="org.opendaylight.openflowjava.protocol.spi.connection.SwitchConnectionProvider"
               odl:type="openflow-switch-connection-provider-default-impl"/>

    <reference id="legacySwitchConnProvider"
               interface="org.opendaylight.openflowjava.protocol.spi.connection.SwitchConnectionProvider"
               odl:type="openflow-switch-connection-provider-legacy-impl"/>

    <bean id="niciraExtensionCodecRegistrator"
          class="org.opendaylight.openflowjava.nx.NiciraExtensionCodecRegistratorImpl"
          destroy-method="close">
        <argument>
            <list>
                <ref component-id="defaultSwitchConnProvider"/>
                <ref component-id="legacySwitchConnProvider"/>
            </list>
        </argument>
    </bean>

    <bean id="niciraExtensionsRegistrator"
          class="org.opendaylight.openflowjava.nx.NiciraExtensionsRegistrator"
          destroy-method="close">
        <argument ref="niciraExtensionCodecRegistrator"/>
    </bean>

    <service ref="niciraExtensionCodecRegistrator"
             interface="org.opendaylight.openflowjava.nx.api.NiciraExtensionCodecRegistrator"/>
</blueprint>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy