def teardown(): try: j.destroy() except Exception as e: logging.warning( "Setup went wrong. This is not necessarily a bad news, " "in particular, if it is the first time you run the " "experiment: %s" % e)
def init(): try: j.g5k(config=CONF) j.inventory() j.destroy() j.emulate(CONF['tc']) except Exception as e: logging.error("Setup goes wrong. This is not necessarily a bad news, " "in particular, if it is the first time you run the " "experiment: %s" % e)