hpimdm/InterfaceHPIM.py
def remove(self):
        """
        Remove this interface
        Clear all state
        """
        self.hello_timer.cancel()
        self.hello_timer = None

        # send pim_hello timeout message
        pim_payload = PacketHPIMHello()
        pim_payload.add_option(PacketHPIMHelloHoldtime(holdtime=HELLO_HOLD_TIME_TIMEOUT))
        ph = PacketHPIMHeader(pim_payload, boot_time=self.time_of_boot)
        packet = Packet(payload=ph)
        self.send(packet)

        super().remove()
        for n in self.neighbors.values():
            n.remove_neighbor_state()
        self.neighbors.clear()
        self.clear_reliable_transmission()

        Remove this interface
        Clear all state
        
Remove this interface
Clear all state
Remove this interface Clear all state
def remove(self):
        self.hello_timer.cancel()
        self.hello_timer = None
        pim_payload = PacketHPIMHello()
        pim_payload.add_option(PacketHPIMHelloHoldtime(holdtime=HELLO_HOLD_TIME_TIMEOUT))
        ph = PacketHPIMHeader(pim_payload, boot_time=self.time_of_boot)
        packet = Packet(payload=ph)
        self.send(packet)
        super().remove()
        for n in self.neighbors.values():
            n.remove_neighbor_state()
        self.neighbors.clear()
        self.clear_reliable_transmission()
def remove ( self ) : self . hello_timer . cancel ( ) self . hello_timer = None pim_payload = PacketHPIMHello ( ) pim_payload . add_option ( PacketHPIMHelloHoldtime ( holdtime = HELLO_HOLD_TIME_TIMEOUT ) ) ph = PacketHPIMHeader ( pim_payload , boot_time = self . time_of_boot ) packet = Packet ( payload = ph ) self . send ( packet ) super ( ) . remove ( ) for n in self . neighbors . values ( ) : n . remove_neighbor_state ( ) self . neighbors . clear ( ) self . clear_reliable_transmission ( )
Remove this interface
Clear all state
Remove this interface Clear all state
"""
        Remove this interface
        Clear all state
        """ # send pim_hello timeout message
self