summaryrefslogtreecommitdiffhomepage
path: root/test/lib/gobgp.py
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-04-18 23:03:36 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-04-18 23:28:00 +0900
commitc2e7632397c2e49fdfb0f2b8e42d0321bf00c38d (patch)
tree61f9ab1f6fb2c6ea01d09089d958fe020cf57fdc /test/lib/gobgp.py
parentc8cb20e75bb830f1a9fe1037356a4007faaba04d (diff)
Revert "test/lib/gobgp: Use local GoBGP executables in contaier"
This reverts commit 47ab84e34caeb7c89b26271bf84959011bc8ed19. using the same binaries on a host and inside a container isn't always feasible (by default, not statically linked binary). Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'test/lib/gobgp.py')
-rw-r--r--test/lib/gobgp.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/test/lib/gobgp.py b/test/lib/gobgp.py
index 0251a807..14fbfe1f 100644
--- a/test/lib/gobgp.py
+++ b/test/lib/gobgp.py
@@ -47,8 +47,7 @@ def extract_path_attribute(path, typ):
class GoBGPContainer(BGPContainer):
- LOCAL_GOPATH = os.environ['GOPATH']
- CONTAINER_GOPATH = '/go'
+
SHARED_VOLUME = '/root/shared_volume'
QUAGGA_VOLUME = '/etc/quagga'
@@ -57,11 +56,6 @@ class GoBGPContainer(BGPContainer):
zapi_version=2, ospfd_config=None):
super(GoBGPContainer, self).__init__(name, asn, router_id,
ctn_image_name)
- # Add volume to export local GoBGP executables into container.
- self.shared_volumes.append(
- (self.LOCAL_GOPATH + '/bin/', self.CONTAINER_GOPATH + '/bin/'))
-
- # Add volume to export config files into container.
self.shared_volumes.append((self.config_dir, self.SHARED_VOLUME))
self.log_level = log_level