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

OSGI-INF.blueprint.lldp-speaker.xml Maven / Gradle / Ivy

There is a newer version: 0.19.1
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"
           odl:use-default-for-reference-types="true">

  <reference id="dataBroker" interface="org.opendaylight.mdsal.binding.api.DataBroker"/>
  <reference id="deviceOwnershipService" interface="org.opendaylight.openflowplugin.applications.deviceownershipservice.DeviceOwnershipService"/>

  <odl:clustered-app-config id="lldpSpeakerConfig"
      binding-class="org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflow.applications.lldp.speaker.config.rev160512.LldpSpeakerConfig">
    <odl:default-config><![CDATA[
      <lldp-speaker-config xmlns="urn:opendaylight:params:xml:ns:yang:openflow:applications:lldp-speaker:config">
        <address-destination>01:23:00:00:00:01</address-destination>
      </lldp-speaker-config>
    ]]></odl:default-config>
  </odl:clustered-app-config>

  <odl:action-service id="packetProcessingService"
      interface="org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketProcessingService"/>

  <bean id="lldpSpeaker" class="org.opendaylight.openflowplugin.applications.lldpspeaker.LLDPSpeaker"
          destroy-method="close">
    <argument ref="packetProcessingService"/>
    <argument ref="lldpSpeakerConfig"/>
    <argument ref="deviceOwnershipService"/>
  </bean>

  <bean id="nodeConnectorEventTranslator" class="org.opendaylight.openflowplugin.applications.lldpspeaker.NodeConnectorInventoryEventTranslator"
          destroy-method="close">
    <argument ref="dataBroker"/>
    <argument>
      <array>
        <ref component-id="lldpSpeaker"/>
      </array>
    </argument>
  </bean>

  <bean id="operationalStatusChangeService" class="org.opendaylight.openflowplugin.applications.lldpspeaker.OperationalStatusChangeService">
    <argument ref="lldpSpeaker"/>
  </bean>

  <odl:rpc-implementation ref="operationalStatusChangeService"/>
</blueprint>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy