Vyatta 命令因 vlan 选择而失败
Vyatta order fails with vlan selection
我正在通过选择 Vlan 来执行命令 Vyatta,但是 returns 出现以下错误。
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 选择,它就会出现 returns 错误。我已经检查过所选的子网 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},{"complexType":"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":[]}]}]}
错误是因为您无法为网关指定子网(即使使用门户也不起作用。这是预期的行为),删除 "primarySubnetId": 610310
它应该可以工作
此致
我正在通过选择 Vlan 来执行命令 Vyatta,但是 returns 出现以下错误。
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 选择,它就会出现 returns 错误。我已经检查过所选的子网 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},{"complexType":"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":[]}]}]}
错误是因为您无法为网关指定子网(即使使用门户也不起作用。这是预期的行为),删除 "primarySubnetId": 610310
它应该可以工作
此致