Commit 0c121207 authored by Loic Baron's avatar Loic Baron
Browse files

r2lab has urn=fit in GetVersion

parent 0792a233
Pipeline #2140 failed with stage
...@@ -2,7 +2,7 @@ import xml.etree.ElementTree ...@@ -2,7 +2,7 @@ import xml.etree.ElementTree
type_ams = { type_ams = {
'omf' : ['nitos','omf','omf.nitos','omf.netmode','netmode','gaia','omf.gaia','snu','omf.snu','omf.kaist','faraday','omf.faraday','omf.etri', 'samant'], 'omf' : ['nitos','omf','omf.nitos','omf.netmode','netmode','gaia','omf.gaia','snu','omf.snu','omf.kaist','faraday','omf.faraday','omf.etri', 'samant'],
'r2lab': ['r2lab'], 'r2lab': ['fit'],
'iotlab' : ['iotlab','iii'], # IoT 'iotlab' : ['iotlab','iii'], # IoT
'ple' : ['ple'], # PlanetLab 'ple' : ['ple'], # PlanetLab
'fuseco' : ['fuseco.fokus.fraunhofer.de'], 'fuseco' : ['fuseco.fokus.fraunhofer.de'],
...@@ -40,6 +40,7 @@ class Parser(object): ...@@ -40,6 +40,7 @@ class Parser(object):
def parse(self, entity): def parse(self, entity):
try: try:
#print("class = {}".format(self.testbed.title()))
parser_module = __import__("myslicelib.util.sfaparser." + self.testbed, fromlist=['']) parser_module = __import__("myslicelib.util.sfaparser." + self.testbed, fromlist=[''])
class_ = getattr(parser_module, self.testbed.title()) class_ = getattr(parser_module, self.testbed.title())
instance_ = class_() instance_ = class_()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment