Hardware Manager/helpers
copyright: |
|
---|---|
license: | BSD, see LICENSE for more details. |
Manages hardware devices.
Cancels the specified dedicated server.
Parameters: |
|
---|
Cancels the specified bare metal instance.
Parameters: |
|
---|
Allows you to change the port speed of a server’s NICs.
Parameters: |
|
---|
Edit hostname, domain name, notes, and/or the user data of the hardware
Parameters set to None will be ignored and not attempted to be updated.
Parameters: |
|
---|
Retrieves a list of packages that are available for ordering dedicated servers.
Note - This currently returns a hard coded list until the API is updated to allow filtering on packages to just those for ordering servers.
Retrieves the available options for creating a bare metal server.
The information for ordering bare metal instances comes from multiple API calls. In order to make the process easier, this function will make those calls and reformat the results into a dictionary that’s easier to manage. It’s recommended that you cache these results with a reasonable lifetime for performance reasons.
Retrieves the available options for creating a dedicated server in a specific chassis (based on package ID).
The information for ordering dedicated servers comes from multiple API calls. In order to make the process easier, this function will make those calls and reformat the results into a dictionary that’s easier to manage. It’s recommended that you cache these results with a reasonable lifetime for performance reasons.
Get details about a hardware device
Parameters: | id (integer) – the hardware ID |
---|
List all hardware.
Parameters: |
|
---|
Places an order for a piece of hardware. See _generate_create_dict for a list of available options.
Perform an OS reload of a server with its current configuration.
Parameters: |
|
---|
Takes a string and tries to resolve to a list of matching ids. What exactly ‘identifier’ can be depends on the resolvers
Parameters: | identifier (string) – identifying string |
---|---|
Returns list: |