mininet-sample/experiences/none.py

18 lines
453 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, xpParamFile, mpTopo, mpConfig):
super(NoneExperience, self).__init__(xpParamFile, mpTopo, mpConfig)
super(NoneExperience, self).classicRun()
def prepare(self):
Experience.prepare(self)
def clean(self):
Experience.clean(self)
def run(self):
self.mpTopo.getCLI()