mininet-sample/src/mpNetemAt.py

10 lines
212 B
Python
Raw Normal View History

class MpNetemAt:
def __init__(self, at, cmd):
self.at = at
self.cmd = cmd
self.delta = 0
def __str__(self):
return "Netem... at " + str(self.at) + "(" + str(self.delta) + \
") will be " + self.cmd