错误代码:
assert failed. cond=“m_ecmpRootExits.size () <= 1”, msg=“Assumed there is at most one exit from the root to this vertex”, file=…/src/internet/model/global-route-manager-impl.cc, line=316
terminate called without an active exception
解决办法:
注释掉源码中断言行
SPFVertex::GetRootExitDirection () const
{
NS_LOG_FUNCTION (this);
//将下面这行代码注释掉,即可运行了
// NS_ASSERT_MSG (m_ecmpRootExits.size () <= 1, "Assumed there is at most one exit from the root to this vertex");
return GetRootExitDirection (0);
}
参考链接:
https://github.com/EricJeffrey/DataCenterNetworkSimulate