有这样的情况:
两台主机通过两条链路连接:一条是主链路,另一条是备用链路。
<link id="primary" bandwidth="10MBps" state_file="fail.txt"/>
<link id="backup" bandwidth="1MBps" latency="0us"/>主链路可能会在某个时刻出现故障。在这种情况下,主机必须使用第二个,这是不允许使用的,而第一个是可以的。
这种建模方式是错误的
<route src="Host1" dst="Host2">
<link_ctn id="primary"/>
<link_ctn id="primary"/>
</route>如何对其进行建模?
https://stackoverflow.com/questions/38311824
复制相似问题