module Role

Constants

SCHEDULE_ACTIONS

Actions that can be performed on the VMs of a given Role

STATE
STATE_STR

Public Class Methods

state_str(state_number) click to toggle source

Returns the string representation of the role state @param [String] state String number representing the state @return the state string

# File lib/opennebula/oneflow_client.rb, line 75
def self.state_str(state_number)
    return STATE_STR[state_number.to_i]
end