def manage_host(info): #log.addFilter(ConnLogFilter()) sleep( 5 ) # prevent immediate waking after registration by backlogged in-flight ARP/TCP requests arp.handle(info['othermac'], info['addresses'], info['mymac'], info['myif']) #+1 Thread.start() #handle grat-arps first tcp.handle(info['othermac'], info['addresses'], info['myif']) #+1 Thread.start() #then L3 reqs mdns.handle(info['othermac'], info['records']) #advertise last
def manage_host(info): mdns.handle(info['othermac'], info['records']) arp.handle(info['othermac'], info['addresses'], info['mymac'], info['myif']) tcp.handle(info['othermac'], info['addresses'], info['myif'])
def manage_host(info): #log.addFilter(ConnLogFilter()) sleep(5) # prevent immediate waking after registration by backlogged in-flight ARP/TCP requests arp.handle(info['othermac'], info['addresses'], info['mymac'], info['myif']) #+1 Thread.start() #handle grat-arps first tcp.handle(info['othermac'], info['addresses'], info['myif']) #+1 Thread.start() #then L3 reqs mdns.handle(info['othermac'], info['records']) #advertise last