Vyatta订单因vlan选择而失败

时间:2016-06-15 09:15:40

标签: ibm-cloud-infrastructure

我通过选择Vlans来实现订单Vyat,但它返回以下错误。

Got 500 on https://api.softlayer.com/rest/v3.1/SoftLayer_Product_Order/verifyOrder.json with body: {"error":"Subnets may not be specified for gateway orders.","code":"SoftLayer_Exception_Public"}

如果将Vlan选项设置为自动分配,则购买过程正常。一旦我设置了vlan选择,它就会返回错误。我已经检查过所选的子网ID是否正确。如果您发现任何疑问,请告诉我..

这是我试过的订购参数。

{ “参数”:[{ “的complexType”: “SoftLayer_Container_Product_Order”, “orderContainers”:[{ “的complexType”: “SoftLayer_Container_Product_Order_Hardware_Server_Gateway_Appliance”, “位置”: “352494”, “包ID” 174, “量”: 1, “硬件”:[{ “的complexType”: “SoftLayer_Hardware”, “primaryBackendNetworkComponent”:{ “的complexType”: “SoftLayer_Network_Component”, “networkVlan”:{ “的complexType”: “SoftLayer_Network_Vlan”, “标识”:1149695,“primarySubnetId “:610310}},” 域 “:” test.com “ ”主机名“: ”SS“}], ”useHourlyPricing“:假 ”primaryDiskPartitionId“:1, ”价格“:[{ ”的complexType“:” SoftLayer_Product_Item_Price ”, “标识”:74871},{ “的complexType”: “SoftLayer_Product_Item_Price”, “标识”:21010},{ “的complexType”: “SoftLayer_Product_Item_Price”, “标识”:342},{ “的complexType”: “SoftLayer_Product_Item_Price”, “ID”:273},{ “的complexType”: “SoftLayer_Product_Item_Price”, “标识”:55},{ “的complexType”: “SoftLayer_Product_Item_Price”, “标识”:58},{ “的complexType”: “SoftLayer_Product_Item_Price”,“ID “:876},{” 复杂类型 “:” SoftLayer_Product_Item_Price “ ”ID“:1267},{” 并发症exType “:” SoftLayer_Product_Item_Price”, “标识”:36044},{ “的complexType”: “SoftLayer_Product_Item_Price”, “ID”:21},{ “的complexType”: “SoftLayer_Product_Item_Price”, “标识”:17129},{ “的complexType” : “SoftLayer_Product_Item_Price”, “ID”:57},{ “复杂类型”: “SoftLayer_Product_Item_Price”, “ID”:418},{ “复杂类型”: “SoftLayer_Product_Item_Price”, “ID”:906},{ “复杂类型”:” SoftLayer_Product_Item_Price”, “ID”:420}], “storageGroups”:[]}]}]}

1 个答案:

答案 0 :(得分:1)

错误是因为你无法为网关指定子网(即使使用它不起作用的门户网站。这是预期的行为),删除"primarySubnetId": 610310它应该可以工作

此致