|
730 |
// |
730 |
// |
731 |
// Walk the list of nodes in the system. |
731 |
// Walk the list of nodes in the system. |
732 |
// |
732 |
// |
|
|
733 |
NS_LOG_INFO ("About to start SPF calculation"); |
733 |
for (NodeList::Iterator i = NodeList::Begin (); i != NodeList::End (); i++) |
734 |
for (NodeList::Iterator i = NodeList::Begin (); i != NodeList::End (); i++) |
734 |
{ |
735 |
{ |
735 |
Ptr<Node> node = *i; |
736 |
Ptr<Node> node = *i; |
|
744 |
// algorithms. |
745 |
// algorithms. |
745 |
// |
746 |
// |
746 |
if (rtr && rtr->GetNumLSAs () ) |
747 |
if (rtr && rtr->GetNumLSAs () ) |
747 |
{ |
748 |
{ |
748 |
SPFCalculate (rtr->GetRouterId ()); |
749 |
SPFCalculate (rtr->GetRouterId ()); |
749 |
} |
750 |
} |
750 |
} |
751 |
} |
|
|
752 |
NS_LOG_INFO ("Finished SPF calculation"); |
751 |
} |
753 |
} |
752 |
|
754 |
|
753 |
// |
755 |
// |