I've done some searching on stackoverflow and looked through the API but can't seem to find an answer specifically.
I'm creating some automation scripts in python and wondering if there's a way to grab the primaryNetworkComponent
and the primaryBackendNetworkComponent
pairs and based on location? There's the getVlans()
method but not sure which vlans go together unless i go to the gui. Is there no limit to the number of machines that can be on a vlan pair? if there isn't would it just be acceptable to grab the router and just take the first 2 vlans?
相关问题
- Apache web server timeout after 60 seconds
- SoftLayer API : How to get NetScaler list in Softl
- Getting bandWidth data in SL
- Password Update in SL
- Impersonating another user in SoftLayer
相关文章
- Getting bandWidth data in SL
- Password Update in SL
- Impersonating another user in SoftLayer
- New items for SoftLayer virtual server order?
- No Data for IOPS while Selecting Storage Size 250G
- how to order SoftLayer_Virtual_ReservedCapacityGro
- How do you upgrade a Snapshot space on Endurance s
- ObjectFilter in SoftLayer doesn't work
The below script can help to retrieve vlans from specific location:
There is no limit for number of servers in a public vlan, but it depends from the available ip addresses , the same situation for private vlan. In case of private vlan has a limit of 256 ip addresses.
If the vlan has a hardware firewall, it has a limitation of 30 servers (VSIs or BMSs).
It's not possible to retrieve the first vlans from router, because this is something restricted, you only will be able to retrieve the vlans that you purchased.
References:
I have success with the following script:
You are right, the global identifiers are generated in the order receipt, but they are attached to the servers until the provision proccess finish. So, it's necessary to wait until the provision process from a server finishes, to search by this.
i have this code
in which i'm trying to get the global identifier but i keep getting a key error
Do global identifiers get generated after an order is completed and in the deploy status?
I tried searching a different key like domain and it works