"calculatePolicy": 1,
"routeCalPolicy": 0,
"calculateType": 1,
"calculateMode": 0,
"bandwidth": 0,
"leftNeIds": [
16(控制器上的ID号)
],
"rightNeIds": [
15
],
"workCalConstraint": {
"explicitIncludeNe": [
14
]
}
}
效果:
{
"success": true,
"routeCalResult": [
{
"ingressNeId": 16,
"role": "Master",
"egressNeId": 15,
"maxAvailbleBandwidth": 10000,
"latency": 2,
"xcs": [
{
"neId": 16,
"egressLtpId": 5
},
{
"neId": 14,
"ingressLtpId": 5,
"egressLtpId": 4
},
{
"neId": 15,
"ingressLtpId": 3
}
],
"groupNo": 0
},
{
"ingressNeId": 16,
"role": "Slave",
"egressNeId": 15,
"maxAvailbleBandwidth": 10000,
"latency": 2,
"xcs": [
{
"neId": 16,
"egressLtpId": 4
},
{
"neId": 17,
"ingressLtpId": 4,
"egressLtpId": 5
},
{
"neId": 15,
"ingressLtpId": 5
}
],
"groupNo": 0
}
]
}