Class Fog::Compute::Brightbox::Server
In: lib/fog/brightbox/models/compute/server.rb
Parent: Fog::Compute::Server

Methods

Included Modules

Fog::Brightbox::ModelHelper Fog::Brightbox::Compute::ResourceLocking

Public Class methods

Public Instance methods

Returns the public DNS name of the server

@return [String]

Replaces the server‘s identifier with it‘s interface‘s identifier for Cloud IP mapping

@return [String] the identifier to pass to a Cloud IP mapping request

Issues a hard reset to the server (or an OS level reboot command)

Default behaviour is a hard reboot because it is more reliable because the state of the server‘s OS is irrelevant.

@example Hard reset

  @server.reboot

@example Soft reset

  @server.reboot(false)

@param [Boolean] use_hard_reboot @return [Boolean]

[Validate]