diff options
Diffstat (limited to 'test/lib')
-rw-r--r-- | test/lib/bagpipe.py | 6 | ||||
-rw-r--r-- | test/lib/base.py | 15 |
2 files changed, 0 insertions, 21 deletions
diff --git a/test/lib/bagpipe.py b/test/lib/bagpipe.py index 43e1dcc0..02c29ac1 100644 --- a/test/lib/bagpipe.py +++ b/test/lib/bagpipe.py @@ -71,9 +71,3 @@ class BagpipeContainer(BGPContainer): local(str(cmd), capture=True) cmd = 'docker exec {0} service bagpipe-bgp restart'.format(self.name) local(cmd, capture=True) - - def pipework(self, bridge, ip_addr, intf_name=""): - super(BagpipeContainer, self).pipework(bridge, ip_addr, intf_name) - self.create_config() - if self.is_running: - self.reload_config() diff --git a/test/lib/base.py b/test/lib/base.py index da0ff489..30799aaa 100644 --- a/test/lib/base.py +++ b/test/lib/base.py @@ -292,21 +292,6 @@ class Container(object): self.is_running = False return ret - def pipework(self, bridge, ip_addr, intf_name=""): - if not self.is_running: - print(yellow('call run() before pipeworking')) - return - c = CmdBuffer(' ') - c << "pipework {0}".format(bridge.name) - - if intf_name != "": - c << "-i {0}".format(intf_name) - else: - intf_name = "eth1" - c << "{0} {1}".format(self.docker_name(), ip_addr) - self.ip_addrs.append((intf_name, ip_addr, bridge.name)) - try_several_times(lambda: local(str(c))) - def local(self, cmd, capture=False, stream=False, detach=False, tty=True): if stream: dckr = Client(timeout=120, version='auto') |