def __init__(self): Eventful.__init__(self) self.hosts = {} self.add_event("host-update")
def __init__(self): Eventful.__init__(self) self.switches = {} self.add_event("port_up") self.add_event("port_down")