summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.travis.yml1
-rw-r--r--ryu/tests/docker/mininet/Dockerfile21
-rw-r--r--ryu/tests/docker/mininet/ENTRYPOINT.sh7
-rw-r--r--ryu/tests/unit/lib/ovs/test_vsctl.py2
4 files changed, 1 insertions, 30 deletions
diff --git a/.travis.yml b/.travis.yml
index b98a6e25..67e9f8be 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,7 +15,6 @@ services:
sudo: required # Required to enable Docker service
install:
- - docker build -t ut_mininet ryu/tests/docker/mininet/
- pip install tox coveralls
script:
diff --git a/ryu/tests/docker/mininet/Dockerfile b/ryu/tests/docker/mininet/Dockerfile
deleted file mode 100644
index 6e048bc3..00000000
--- a/ryu/tests/docker/mininet/Dockerfile
+++ /dev/null
@@ -1,21 +0,0 @@
-FROM ubuntu:16.04
-
-MAINTAINER IWASE Yusuke <iwase.yusuke0@gmail.com>
-
-USER root
-WORKDIR /root
-
-COPY ENTRYPOINT.sh /
-
-RUN apt-get update && apt-get install -y --no-install-recommends \
- iproute2 \
- mininet \
- net-tools \
- && rm -rf /var/lib/apt/lists/* \
- && sed -i -e "s/datapath='kernel'/datapath='user'/" \
- /usr/lib/python2.7/dist-packages/mininet/node.py \
- && chmod +x /ENTRYPOINT.sh
-
-EXPOSE 6640
-
-ENTRYPOINT ["/ENTRYPOINT.sh"]
diff --git a/ryu/tests/docker/mininet/ENTRYPOINT.sh b/ryu/tests/docker/mininet/ENTRYPOINT.sh
deleted file mode 100644
index 2b7e3180..00000000
--- a/ryu/tests/docker/mininet/ENTRYPOINT.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/usr/bin/env bash
-
-service openvswitch-switch start
-
-bash
-
-service openvswitch-switch stop
diff --git a/ryu/tests/unit/lib/ovs/test_vsctl.py b/ryu/tests/unit/lib/ovs/test_vsctl.py
index c7fe8355..d32a536b 100644
--- a/ryu/tests/unit/lib/ovs/test_vsctl.py
+++ b/ryu/tests/unit/lib/ovs/test_vsctl.py
@@ -27,7 +27,7 @@ from ryu.lib.ovs import vsctl
LOG = logging.getLogger(__name__)
-DOCKER_IMAGE_MININET = 'ut_mininet'
+DOCKER_IMAGE_MININET = 'osrg/ryu-book'
OVSDB_MANAGER_ADDR = 'ptcp:6640'
OVSDB_SWITCH_ADDR = 'tcp:%s:6640'