Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Albert
myslicelib
Commits
0c121207
Commit
0c121207
authored
Mar 18, 2018
by
Loic Baron
Browse files
r2lab has urn=fit in GetVersion
parent
0792a233
Pipeline
#2202
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
myslicelib/util/parser.py
View file @
0c121207
...
...
@@ -2,7 +2,7 @@ import xml.etree.ElementTree
type_ams
=
{
'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
'ple'
:
[
'ple'
],
# PlanetLab
'fuseco'
:
[
'fuseco.fokus.fraunhofer.de'
],
...
...
@@ -40,6 +40,7 @@ class Parser(object):
def
parse
(
self
,
entity
):
try
:
#print("class = {}".format(self.testbed.title()))
parser_module
=
__import__
(
"myslicelib.util.sfaparser."
+
self
.
testbed
,
fromlist
=
[
''
])
class_
=
getattr
(
parser_module
,
self
.
testbed
.
title
())
instance_
=
class_
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment