BUG-2242: LLDP speaker as separate application. 40/11740/8
authorAnton Frolov <anton.frolov@pacnet.com>
Sat, 4 Oct 2014 15:02:12 +0000 (19:02 +0400)
committerAnton Frolov <anton.frolov@pacnet.com>
Fri, 31 Oct 2014 13:47:54 +0000 (16:47 +0300)
commite647cb87a2c2c10a86d7ec8897637ce08a392415
treeaf17bcfc7ebb4d40f6a0572c89489b408da73e7f
parent7638770ff950fd0e62e625e778bda3007a021a23
BUG-2242: LLDP speaker as separate application.

 * Remove LLDPSpeaker and all related classes and methods from openflowplugin
 * Create separate LLDPSpeaker application
 * Replace usage of Timer with ScheduledExecutorService which use monotonic
   timer for delays instead of system time.
 * Decomposed LLDPSpeaker into several classes to improve unit testabilty
 * added lldp app to base distro

Change-Id: I997c74203af7461840c1c711355120b415995c06
Signed-off-by: Anton Frolov <anton.frolov@pacnet.com>
Signed-off-by: Michal Rehak <mirehak@cisco.com>
22 files changed:
applications/lldp-speaker/pom.xml [new file with mode: 0644]
applications/lldp-speaker/src/main/java/org/opendaylight/openflowplugin/applications/lldpspeaker/LLDPSpeaker.java [new file with mode: 0644]
applications/lldp-speaker/src/main/java/org/opendaylight/openflowplugin/applications/lldpspeaker/LLDPUtil.java [new file with mode: 0644]
applications/lldp-speaker/src/main/java/org/opendaylight/openflowplugin/applications/lldpspeaker/NodeConnectorEventsObserver.java [new file with mode: 0644]
applications/lldp-speaker/src/main/java/org/opendaylight/openflowplugin/applications/lldpspeaker/NodeConnectorInventoryEventTranslator.java [new file with mode: 0644]
applications/lldp-speaker/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/openflow/applications/lldp/speaker/rev141023/LLDPSpeakerModule.java [new file with mode: 0644]
applications/lldp-speaker/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/openflow/applications/lldp/speaker/rev141023/LLDPSpeakerModuleFactory.java [new file with mode: 0644]
applications/lldp-speaker/src/main/resources/initial/71-lldp-speaker.xml [new file with mode: 0644]
applications/lldp-speaker/src/main/yang/lldp-speaker.yang [new file with mode: 0644]
applications/lldp-speaker/src/test/java/org/opendaylight/openflowplugin/applications/lldpspeaker/LLDPSpeakerTest.java [new file with mode: 0644]
applications/lldp-speaker/src/test/java/org/opendaylight/openflowplugin/applications/lldpspeaker/NodeConnectorInventoryEventTranslatorTest.java [new file with mode: 0644]
applications/lldp-speaker/src/test/java/org/opendaylight/openflowplugin/applications/lldpspeaker/TestUtils.java [new file with mode: 0644]
applications/pom.xml
distribution/base/pom.xml
features/src/main/resources/features.xml
openflowplugin-it/src/test/java/org/opendaylight/openflowplugin/openflow/md/it/OFPaxOptionsAssistant.java
openflowplugin/pom.xml
openflowplugin/src/main/java/org/opendaylight/openflowplugin/openflow/md/core/MDController.java
openflowplugin/src/main/java/org/opendaylight/openflowplugin/openflow/md/core/sal/SalRegistrationManager.java
openflowplugin/src/main/java/org/opendaylight/openflowplugin/openflow/md/lldp/LLDPSpeaker.java [deleted file]
openflowplugin/src/main/java/org/opendaylight/openflowplugin/openflow/md/lldp/LLDPSpeakerPopListener.java [deleted file]
openflowplugin/src/test/java/org/opendaylight/openflowplugin/openflow/md/lldp/LLDPSpeakerPopListenerTest.java [deleted file]