reloadOperatingSystem


SoftLayer_Virtual_Guest::reloadOperatingSystem

Reloads operating system configuration.

Description

Reloads current operating system configuration.

This service has a confirmation protocol for proceeding with the reload. To proceed with the reload without confirmation, simply pass in ‘FORCE’ as the token parameter. To proceed with the reload with confirmation, simply call the service with no parameter. A token string will be returned by this service. The token will remain active for 10 minutes. Use this token as the parameter to confirm that a reload is to be performed for the server.

As a precaution, we strongly recommend backing up all data before reloading the operating system. The reload will format the primary disk and will reconfigure the computing instance to the current specifications on record.

If reloading from an image template, we recommend first getting the list of valid private block device template groups, by calling the getOperatingSystemReloadImages method.


Parameters

Name Type Description
token string The token returned by this service as a confirmation to proceed with the reload.
config SoftLayer_Container_Hardware_Server_Configuration The new cloud configuration for the reload.

Required Headers

Optional Headers

  • None

Return Values

  • string

Error Handling

  • Throws the exception ‘You do not have permission to this service.’ when a user does not have permission to Issue OS Reloads.
  • Throws the exception ‘There is currently an outstanding transaction for this server.’ when a server has a currently running transaction.
  • Throws the exception ‘Invalid token provided.’ when a token that is either expired or invalid is provided.
  • Throws the exception ‘Couldn’t find BillingItem for this server.’ when there is no billing item that exists for a server.
  • Throws the exception ‘Unable to cancel current billing item. Please contact support.’ when a billing item for software that is not being reloaded can not be cancelled.
  • Throws the exception ‘Partitions provided are to large for the servers primary hard drive.’ when the partition configuration provided exceeds the size of the drive.

Associated Methods

curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [string, SoftLayer_Container_Hardware_Server_Configuration]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Virtual_Guest/{SoftLayer_Virtual_GuestID}/reloadOperatingSystem'