setVlanSpan


SoftLayer_Account::setVlanSpan

Set the flag that enables or disables automatic private network VLAN spanning for a SoftLayer customer account.

Description

Set the flag that enables or disables automatic private network VLAN spanning for a SoftLayer customer account. Enabling VLAN spanning allows an account’s servers to talk on the same broadcast domain even if they reside within different private vlans.

Parameters

Name Type Description
enabled boolean Whether or not to enable private VLAN spanning on an account.

Required Headers

Optional Headers

  • None

Return Values

  • boolean

Error Handling

  • Throw the exception if the user does not have permission to modify VLAN spanning
  • Throw the exception if VLAN spanning cannot be enabled at this time
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [boolean]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Account/setVlanSpan'