bottlenecks offiline support
[bottlenecks.git] / utils / infra_setup / runner / docker_env.py
index 6e9c78a..438d3d1 100644 (file)
@@ -45,12 +45,13 @@ def env_yardstick(docker_name):
     volume = get_self_volume()
     yardstick_tag = os.getenv("Yardstick_TAG")
     if yardstick_tag is None:
-        yardstick_tag = "danube.3.1"
-    env_docker = client.containers.run(image="yardstick_pmd",
+        yardstick_tag = "latest"
+    env_docker = client.containers.run(image="opnfv/yardstick:%s"
+                                             % yardstick_tag,
                                        privileged=True,
                                        tty=True,
                                        detach=True,
-                                       ports={'5000': '8888'},
+                                       ports={'5000': '8888'},
                                        volumes=volume,
                                        name=docker_name)
     yardstick_info["container"] = env_docker