Commit 14db0d3e authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

experiments: support for including additional meta data in output files

parent 275d0b52
...@@ -16,6 +16,7 @@ class Experiment(object): ...@@ -16,6 +16,7 @@ class Experiment(object):
self.hosts = [] self.hosts = []
self.nics = [] self.nics = []
self.networks = [] self.networks = []
self.metadata = {}
def add_host(self, sim): def add_host(self, sim):
for h in self.hosts: for h in self.hosts:
...@@ -201,6 +202,7 @@ class ExpEnv(object): ...@@ -201,6 +202,7 @@ class ExpEnv(object):
class ExpOutput(object): class ExpOutput(object):
def __init__(self, exp): def __init__(self, exp):
self.exp_name = exp.name self.exp_name = exp.name
self.metadata = exp.metadata
self.start_time = None self.start_time = None
self.end_time = None self.end_time = None
self.sims = {} self.sims = {}
......
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