【发布时间】:2016-06-16 01:33:36
【问题描述】:
我正在通过选择 Vlans 来执行 Vyatta 命令,但它返回以下错误。
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 是否正确。如果您发现任何疑问,请告诉我..
这是我试过的排序参数。
{"parameters":[{"complexType":"SoftLayer_Container_Product_Order","orderContainers":[{"complexType":"SoftLayer_Container_Product_Order_Hardware_Server_Gateway_Appliance","location":"352494","packageId":174,"quantity": 1,"hardware":[{"complexType":"SoftLayer_Hardware","primaryBackendNetworkComponent":{"complexType":"SoftLayer_Network_Component","networkVlan":{"complexType":"SoftLayer_Network_Vlan","id":1149695,"primarySubnetId ":610310}},"domain":"test.com","hostname":"ss"}],"useHourlyPricing":false,"primaryDiskPartitionId":1,"prices":[{"complexType":"SoftLayer_Product_Item_Price ","id":74871},{"complexType":"SoftLayer_Product_Item_Price","id":21010},{"complexType":"SoftLayer_Product_Item_Price","id":342},{"complexType":"SoftLayer_Product_Item_Price", "id":273},{"complexType":"SoftLayer_Product_Item_Price","id":55},{"complexType":"SoftLayer_Product_Item_Price","id":58},{"complexType":"SoftLayer_Product_Item_Price","id ":876},{"complexType":"SoftLayer_Product_Item_Price","id":1267},{"compl exType":"SoftLayer_Product_Item_Price","id":36044},{"complexType":"SoftLayer_Product_Item_Price","id":21},{"complexType":"SoftLayer_Product_Item_Price","id":17129},{"complexType" :"SoftLayer_Product_Item_Price","id":57},{"complexType":"SoftLayer_Product_Item_Price","id":418},{"complexType":"SoftLayer_Product_Item_Price","id":906},{"complexType":" SoftLayer_Product_Item_Price","id":420}],"storageGroups":[]}]}]}
【问题讨论】: