From 0e8936e55956813f7f7db633b1cb96241a78ea58 Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Tue, 28 Mar 2017 13:18:26 +0200 Subject: testbeds: Port to new API The new API passes the Experiment instance to the testbeds, so that the configs for the testbeds can be generated starting from the IPCPs. The classes Link, Interface, P2PLink have been deprecated. --- rumba/testbeds/qemu.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'rumba/testbeds/qemu.py') diff --git a/rumba/testbeds/qemu.py b/rumba/testbeds/qemu.py index d44bb3e..3f4cb4a 100644 --- a/rumba/testbeds/qemu.py +++ b/rumba/testbeds/qemu.py @@ -26,8 +26,7 @@ class Testbed(mod.Testbed): password = ""): mod.Testbed.__init__(self, exp_name, username, password, proj_name) - def create_experiment(self, nodes, links): - print(links) + def create_experiment(self, experiment): print("[QEMU testbed] experiment swapped in") def __del__(self): -- cgit v1.2.3