Adding a simple broadcast handler
[controller.git] / opendaylight / samples / simpleforwarding / src / main / java / org / opendaylight / controller / samples / simpleforwarding / IBroadcastPortSelector.java
diff --git a/opendaylight/samples/simpleforwarding/src/main/java/org/opendaylight/controller/samples/simpleforwarding/IBroadcastPortSelector.java b/opendaylight/samples/simpleforwarding/src/main/java/org/opendaylight/controller/samples/simpleforwarding/IBroadcastPortSelector.java
new file mode 100644 (file)
index 0000000..438c921
--- /dev/null
@@ -0,0 +1,17 @@
+/*
+ * Copyright (c) 2013 IBM and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
+package org.opendaylight.controller.samples.simpleforwarding;
+
+import java.util.Set;
+
+import org.opendaylight.controller.sal.core.NodeConnector;
+
+public interface IBroadcastPortSelector {
+    Set<NodeConnector> getBroadcastPorts();
+}