Fix IT failure when not running DockerOvs docker 27/41927/1
authorJosh <jhershbe@redhat.com>
Sun, 17 Jul 2016 14:53:27 +0000 (16:53 +0200)
committerJosh <jhershbe@redhat.com>
Sun, 17 Jul 2016 14:53:27 +0000 (16:53 +0200)
Change-Id: If94a12f0ace958609bf135aa639128423a513228
Signed-off-by: Josh <jhershbe@redhat.com>
utils/ovsdb-it-utils/src/main/java/org/opendaylight/ovsdb/utils/ovsdb/it/utils/DockerOvs.java

index 1d456de4b15cb06474e56dbc76abee15c1c05ecf..982e75589599ab926f48f18b12d8b3619a5484da 100644 (file)
@@ -246,6 +246,14 @@ public class DockerOvs implements AutoCloseable {
         }
     }
 
+    /**
+     * Are we using some other OVS, not a docker we spin up?
+     * @return true if we are *not* running a docker image to test against
+     */
+    public boolean usingExternalDocker() {
+        return !runDocker;
+    }
+
     /**
      * Get the IP address of the n'th OVS.
      * @param ovsNumber which OVS?