示例#1
0
 def new_eor(self, afi, safi):
     eor = EOR(afi, safi)
     for _ in self.write(eor):
         yield _NOP
     self.logger.debug('>> EOR %s %s' % (afi, safi),
                       self.connection.session())
     yield eor
示例#2
0
文件: protocol.py 项目: doddt/exabgp
 def new_eor(self, afi, safi):
     eor = EOR(afi, safi)
     for _ in self.write(eor):
         yield _NOP
     self.logger.message(self.me('>> EOR %s %s' % (afi, safi)))
     yield eor