import logging # from hacking.Hacking import Hacking from elife.OfpayHelper import OfpayHelper class Main: def __init__(self): self.num = 0; def request(self, flow): self.num = self.num + 1; logging.info("flows[%d]" % self.num); addons = [Main(), OfpayHelper()]