From 59ddcc618e901d14c47a8c1f97bb8589f6a4d5e0 Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Mon, 13 Feb 2017 15:00:07 +0100 Subject: testbeds, prototypes: Omit dir name from class name The directory name was always prepended to the class name, but since they are in distinct namespaces this could be easily removed. --- rumba/testbeds/emulab.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rumba/testbeds/emulab.py') diff --git a/rumba/testbeds/emulab.py b/rumba/testbeds/emulab.py index b7c0c51..cbaa730 100644 --- a/rumba/testbeds/emulab.py +++ b/rumba/testbeds/emulab.py @@ -25,7 +25,7 @@ import re from ast import literal_eval import rumba.ssh_support as ssh -from rumba.model import Testbed +import rumba.model as mod import warnings warnings.filterwarnings("ignore") @@ -35,11 +35,11 @@ warnings.filterwarnings("ignore") # @url [string] URL of the testbed # @image [string] specific image to use # -class EmulabTestbed(Testbed): +class Testbed(mod.Testbed): def __init__(self, exp_name, username, password = "", proj_name = "ARCFIRE", url = "wall1.ilabt.iminds.be", image = "UBUNTU14-64-STD"): - Testbed.__init__(self, exp_name, username, password, proj_name) + mod.Testbed.__init__(self, exp_name, username, password, proj_name) self.url = url self.image = image -- cgit v1.2.3