hpimdm/tree/root_state_machine.py
def interfaces_roles_change_and_tree_remains_unsure_and_best_upstream_neighbor_not_null(interface: 'TreeInterfaceRoot'):
        """
        Interfaces roles change (NonRoot->Root) AND
        Tree was Unsure and remains Unsure AND
        BestUpstreamNeighbor is not null (possible loop detected)
        """
        interface.logger.debug('interfaces_roles_change_and_tree_remains_unsure_and_best_upstream_neighbor_not_null')
        interface.send_my_interest()

        Interfaces roles change (NonRoot->Root) AND
        Tree was Unsure and remains Unsure AND
        BestUpstreamNeighbor is not null (possible loop detected)
        
Interfaces roles change (NonRoot->Root) AND
Tree was Unsure and remains Unsure AND
BestUpstreamNeighbor is not null (possible loop detected)
Interfaces roles change ( NonRoot - > Root ) AND Tree was Unsure and remains Unsure AND BestUpstreamNeighbor is not null ( possible loop detected )
def interfaces_roles_change_and_tree_remains_unsure_and_best_upstream_neighbor_not_null(interface: 'TreeInterfaceRoot'):
        interface.logger.debug('interfaces_roles_change_and_tree_remains_unsure_and_best_upstream_neighbor_not_null')
        interface.send_my_interest()
def interfaces_roles_change_and_tree_remains_unsure_and_best_upstream_neighbor_not_null ( interface : 'TreeInterfaceRoot' ) : interface . logger . debug ( 'interfaces_roles_change_and_tree_remains_unsure_and_best_upstream_neighbor_not_null' ) interface . send_my_interest ( )
Interfaces roles change (NonRoot->Root) AND
Tree was Unsure and remains Unsure AND
BestUpstreamNeighbor is not null (possible loop detected)
Interfaces roles change ( NonRoot - > Root ) AND Tree was Unsure and remains Unsure AND BestUpstreamNeighbor is not null ( possible loop detected )
"""
        Interfaces roles change (NonRoot->Root) AND
        Tree was Unsure and remains Unsure AND
        BestUpstreamNeighbor is not null (possible loop detected)
        """
interface
'TreeInterfaceRoot'