mininet-sample/experiences/none.py

18 lines
473 B
Python
Raw Normal View History

2020-06-24 14:11:54 +00:00
from core.experience import Experience, ExperienceParameter
class NoneExperience(Experience):
NAME = "none"
def __init__(self, experience_parameter, topo, topo_config):
super(NoneExperience, self).__init__(experience_parameter, topo, topo_config)
super(NoneExperience, self).classic_run()
2020-06-24 14:11:54 +00:00
def prepare(self):
Experience.prepare(self)
def clean(self):
Experience.clean(self)
def run(self):
self.topo.get_cli()