Remove VLAN trunks from a network component
Remove one or more VLANs currently attached as trunks to this network component.
If any VLANs are given which are not attached as trunks, they will be ignored.
This method should be called on a network component of assigned hardware. A current list of VLAN trunks for a network component on a customer server can be found at ‘uplinkComponent->networkVlanTrunks’.
This method returns an array of SoftLayer_Network_Vlans which will be removed as trunks. Any requested VLANs which were not trunked will be ignored and will not be returned.
Affected VLANs will not yet be removed as trunks upon return of this call, but deactivation and removal will have been scheduled and should be considered imminent. The trunking records associated with the affected VLANs will maintain an ‘isUpdating’ value of ‘1’ so long as this is the case.
Note that in the event of a “pending API request” error some VLANs may still have been affected and scheduled for deactivation.
Name | Type | Description |
---|---|---|
networkVlans | SoftLayer_Network_Vlan[] | An array of Network_Vlan |
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [SoftLayer_Network_Vlan]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Network_Component/{SoftLayer_Network_ComponentID}/removeNetworkVlanTrunks'