Adding a simple broadcast handler 00/1700/7
authorColin Dixon <ckd@us.ibm.com>
Mon, 10 Jun 2013 16:00:18 +0000 (11:00 -0500)
committerGerrit Code Review <gerrit@opendaylight.org>
Fri, 25 Oct 2013 03:37:51 +0000 (03:37 +0000)
commit867026efeb7046076e7e0cf34b5ac2d18c54618b
treeba05b5fc8d7f83bc412fc886e4b46551ab62cfce
parenta3dbf5335c352c7463674e31314ce2b5285cb6fe
Adding a simple broadcast handler

1.) An interface IBroadcastHandler for enabling/disabling and controlling
    the mode of operation for a module that provides broadcast handling and
    a function to broadcast a packet.
2.) An implementation of that interface, SimpleBroadcastHandler, that both
    handles broadcast traffic received from the DataPacketService and
    provides a way to braodcast a synthetically-generated packet.

There are four modes only two of which have currently been extensively
tested: DISABLED and BROADCAST_TO_HOSTS.

Change-Id: I6ab6042ad7ec08b819a8840e8518022c7805f4e2
Signed-off-by: Colin Dixon <ckd@us.ibm.com>
opendaylight/samples/simpleforwarding/pom.xml
opendaylight/samples/simpleforwarding/src/main/java/org/opendaylight/controller/samples/simpleforwarding/IBroadcastHandler.java [new file with mode: 0644]
opendaylight/samples/simpleforwarding/src/main/java/org/opendaylight/controller/samples/simpleforwarding/IBroadcastPortSelector.java [new file with mode: 0644]
opendaylight/samples/simpleforwarding/src/main/java/org/opendaylight/controller/samples/simpleforwarding/internal/Activator.java
opendaylight/samples/simpleforwarding/src/main/java/org/opendaylight/controller/samples/simpleforwarding/internal/SimpleBroadcastHandlerImpl.java [new file with mode: 0644]