Merge "Quickfix - TableMod message (now correct config)"
authorDaniel Bartos <daniel.bartos@pantheon.sk>
Thu, 28 Nov 2013 08:00:47 +0000 (08:00 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 28 Nov 2013 08:00:47 +0000 (08:00 +0000)
openflow-protocol-api/src/main/java/org/opendaylight/openflowjava/protocol/api/connection/ConnectionReadyListener.java
openflow-protocol-api/src/main/java/org/opendaylight/openflowjava/protocol/api/connection/ListeningStatusProvider.java [new file with mode: 0644]
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/connection/Activator.java

index 44afca0eb564748c2c2fa6e8026caffb2cdef08b..215acef6d166fed502c03cea778ec1300682cd50 100644 (file)
@@ -1,10 +1,4 @@
-/**
- * Copyright (c) 2013 Cisco Systems, Inc. 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
- */
+/* Copyright (C)2013 Pantheon Technologies, s.r.o. All rights reserved. */
 package org.opendaylight.openflowjava.protocol.api.connection;
 
 /**
diff --git a/openflow-protocol-api/src/main/java/org/opendaylight/openflowjava/protocol/api/connection/ListeningStatusProvider.java b/openflow-protocol-api/src/main/java/org/opendaylight/openflowjava/protocol/api/connection/ListeningStatusProvider.java
new file mode 100644 (file)
index 0000000..761a74e
--- /dev/null
@@ -0,0 +1,24 @@
+/**
+ * Copyright (c) 2013 Cisco Systems, Inc. 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.openflowjava.protocol.api.connection;
+
+import java.util.concurrent.Future;
+
+/**
+ * for testing purposed
+ * @author mirehak
+ */
+public interface ListeningStatusProvider {
+
+    /**
+     * @return future holding startup result of all library instances under plugin's control 
+     */
+    Future<Boolean> isOnline();
+
+}
index 59d4a85c6fc55627a1ae0ceff8ad0f85e6936589..5bd98c6e62963be6116bb51ae2d60c05ef4dd67e 100644 (file)
@@ -30,6 +30,7 @@ public class Activator implements BundleActivator {
         context.registerService(
                 SwitchConnectionProvider.class.getName(), 
                 new SwitchConnectionProviderImpl(), props);
+        LOG.debug("started OF Library");
     }
 
     @Override