def __init__( self, net, *args, **kwargs ): self.iperfs = {} self.bw = '12k' self.mn = net self.lastbw = {} # last bandwidth reports self.start() quietRun( 'rm /tmp/*.iperf /tmp/*.client' ) CLI.__init__( self, net, *args, **kwargs )
def __init__(self, *args, **kwargs): self.conf_file = kwargs.get("conf_file", None) self.import_last_modifications = {} self.last_compilation_state = False if not self.conf_file: log.warn("No configuration given to the CLI. P4 functionalities are disabled.") else: self.config = load_conf(self.conf_file) # class CLI from mininet.cli does not have config parameter, thus remove it kwargs.__delitem__("conf_file") CLI.__init__(self, *args, **kwargs)
def __init__(self, FIE, stdin=sys.stdin, script=None): self._fie = FIE CLI.__init__(self, FIE, stdin, script) Cmd.__init__(self)
def __init__( self, _mininet, _env ): self.env = _env self.net = _mininet CLI.__init__( self, _mininet )
def __init__(self, mn_wifi, stdin=sys.stdin, script=None): MN_CLI.__init__(self, mn_wifi, stdin=sys.stdin, script=None)
def __init__ (self, net): """Init method for our custom CLI.""" self.net = net CLI.__init__(self, net)
def __init__(self, mininet, stdin=sys.stdin, script=None): CLI.__init__(self, mininet, stdin=sys.stdin, script=None)
def __init__( self, mininet ): self.mininet = mininet CLI.__init__( self, mininet )
def __init__(self, mininet): self.mininet = mininet CLI.__init__(self, mininet)
def __init__(self,minigenerator,*args,**kwargs): if minigenerator: self.minigenerator = minigenerator CLI.__init__(self,*args,**kwargs)
def __init__(self, mn_wifi, stdin=sys.stdin, script=None): CLI.__init__(self, mn_wifi, stdin=sys.stdin, script=None)
def __init__( self, *args, **kwargs ): "cnet: second network" self.cnet = kwargs.pop( 'cnet' ) CLI.__init__( self, *args, **kwargs )
def __init__(self, *args, **kwargs): "" CLI.__init__( self, *args, **kwargs )
def __init__(self, mininet): self.hostmap = {} for host in mininet.hosts: self.hostmap[host.name] = host CLI.__init__(self, mininet)
def __init__(self, *args, **kwargs): "cnet: second network" self.cnet = kwargs.pop('cnet') CLI.__init__(self, *args, **kwargs)