hpimdm/tree/tree_if_non_root.py
def tree_transition_to_unsure(self):
        """
        The tree of this interface detected that the tree transitioned to Unsure state
        The interface must react to this change in order to send some control messages
        """
        if self.is_tree_active() and self._best_upstream_router is None:
            SFMRNonRootState.tree_transitions_from_active_to_unsure_and_best_upstream_neighbor_is_null(self)
        elif self.is_tree_active() and self._best_upstream_router is not None:
            SFMRNonRootState.interface_roles_dont_change_and_tree_transitions_from_active_to_unsure_and_best_upstream_neighbor_is_not_null(self)
        elif self.is_tree_inactive() and self._best_upstream_router is not None:
            SFMRNonRootState.tree_transitions_from_inactive_to_unsure_and_best_upstream_is_not_null(self)

        if not self.is_tree_unsure():
            super().tree_transition_to_unsure()
            self.calculate_assert_winner()

        The tree of this interface detected that the tree transitioned to Unsure state
        The interface must react to this change in order to send some control messages
        
The tree of this interface detected that the tree transitioned to Unsure state
The interface must react to this change in order to send some control messages
The tree of this interface detected that the tree transitioned to Unsure state The interface must react to this change in order to send some control messages
def tree_transition_to_unsure(self):
        if self.is_tree_active() and self._best_upstream_router is None:
            SFMRNonRootState.tree_transitions_from_active_to_unsure_and_best_upstream_neighbor_is_null(self)
        elif self.is_tree_active() and self._best_upstream_router is not None:
            SFMRNonRootState.interface_roles_dont_change_and_tree_transitions_from_active_to_unsure_and_best_upstream_neighbor_is_not_null(self)
        elif self.is_tree_inactive() and self._best_upstream_router is not None:
            SFMRNonRootState.tree_transitions_from_inactive_to_unsure_and_best_upstream_is_not_null(self)
        if not self.is_tree_unsure():
            super().tree_transition_to_unsure()
            self.calculate_assert_winner()
def tree_transition_to_unsure ( self ) : if self . is_tree_active ( ) and self . _best_upstream_router is None : SFMRNonRootState . tree_transitions_from_active_to_unsure_and_best_upstream_neighbor_is_null ( self ) elif self . is_tree_active ( ) and self . _best_upstream_router is not None : SFMRNonRootState . interface_roles_dont_change_and_tree_transitions_from_active_to_unsure_and_best_upstream_neighbor_is_not_null ( self ) elif self . is_tree_inactive ( ) and self . _best_upstream_router is not None : SFMRNonRootState . tree_transitions_from_inactive_to_unsure_and_best_upstream_is_not_null ( self ) if not self . is_tree_unsure ( ) : super ( ) . tree_transition_to_unsure ( ) self . calculate_assert_winner ( )
The tree of this interface detected that the tree transitioned to Unsure state
The interface must react to this change in order to send some control messages
The tree of this interface detected that the tree transitioned to Unsure state The interface must react to this change in order to send some control messages
"""
        The tree of this interface detected that the tree transitioned to Unsure state
        The interface must react to this change in order to send some control messages
        """
self