我想要得到的是如何理解一個VLAN是一個網關。如何識別SoftLayer的網絡網關VLAN
我試圖找到所有私人華盛頓4數據中心和API我可以得到4 vlans,但門戶允許選擇3 vlans之一。 看來這子網/ VLAN不能使用:
{"broadcastAddress"=>"10.170.23.127",
"cidr"=>26,
"gateway"=>"10.170.23.65",
"id"=>1087855,
"isCustomerOwned"=>false,
"isCustomerRoutable"=>false,
"modifyDate"=>"2016-02-03T14:51:45-05:00",
"netmask"=>"255.255.255.192",
"networkIdentifier"=>"10.170.23.64",
"networkVlanId"=>1158237,
"sortOrder"=>"4",
"subnetType"=>"PRIMARY",
"totalIpAddresses"=>"64",
"usableIpAddressCount"=>"61",
"version"=>4,
"addressSpace"=>"PRIVATE",
"datacenter"=>{"id"=>957095, "longName"=>"Washington 4", "name"=>"wdc04", "statusId"=>2},
"networkVlan"=>
{"accountId"=>872113,
"id"=>1158237,
"modifyDate"=>"2016-02-04T12:57:26-05:00",
"name"=>"RZ",
"primarySubnetId"=>1087855,
"attachedNetworkGatewayFlag"=>false,
"vlanNumber"=>844}}
如果我通過這個VLAN ID,請求判令,我收到此錯誤:
The backend VLAN #1158237 is a Network Gateway VLAN.
所以不能使用該VLAN和門戶將其過濾掉。沒關係,但問題是如何理解這個vlan不應該被使用?
最初我以爲連網networkGatewayFlag會有所幫助,但它總是假(見上文)。任何其他財產可以在這裏使用?
該死,「類型」 - 這是簡單的,爲什麼我沒看到? :)無論如何,謝謝你 –