Exemple #1
0
    def __init__(self, manager, ryuapp):
        super(PacketIPv4, self).__init__(manager, ryuapp)
        self.hashport = HashPort()
        self.static_ports = CONF.static_ports

        self.tg = threadgroup.ThreadGroup(CONF.threads)
        self.tg.add_thread(self._port_clean)