Softlayer REST API:路由 globalip 失败
Softlayer REST API: route a globalip fails
我使用以下 REST API 将全局 ip 路由到目标,响应代码为 200,但响应正文错误,我不确定这里发生了什么。
2016/11/21 15:19:40 [DEBUG] 路径:https://api.softlayer.com/rest/v3.1/SoftLayer_Network_Subnet_IpAddress_Global/52703/route.json
2016/11/21 15:19:40 [DEBUG] 参数:{"parameters":["169.55.61.222"]}
2016/11/21 15:19:42 [DEBUG] 响应:{"error":"Internal Error","code":"SoftLayer_Exception_Public"}
状态代码 200 和带有 "Internal Error" 的响应正文是一个错误。已经举报了。
然而,为了成功应用route 方法与全球IP,例如“169.55.61.222”,首先你需要为其分配一个地址,换句话说,destinationIpAddressId 属性不应为空。
我使用以下 REST API 将全局 ip 路由到目标,响应代码为 200,但响应正文错误,我不确定这里发生了什么。
2016/11/21 15:19:40 [DEBUG] 路径:https://api.softlayer.com/rest/v3.1/SoftLayer_Network_Subnet_IpAddress_Global/52703/route.json
2016/11/21 15:19:40 [DEBUG] 参数:{"parameters":["169.55.61.222"]}
2016/11/21 15:19:42 [DEBUG] 响应:{"error":"Internal Error","code":"SoftLayer_Exception_Public"}
状态代码 200 和带有 "Internal Error" 的响应正文是一个错误。已经举报了。
然而,为了成功应用route 方法与全球IP,例如“169.55.61.222”,首先你需要为其分配一个地址,换句话说,destinationIpAddressId 属性不应为空。