lib/fog/octocloud/models/compute/servers.rb
# default to the base, set on load
default to the base, set on load
default to the base set on load
def all()
          if service.local_mode
            servers = service.local_list_defined_vms().map do |i|
              {
                :id => i,
                :name => i,
                :running => service.local_vm_running(i),
                :private_ip_address => service.local_vm_ip(i)
              }
            end
            load(servers)
          else
            load(service.remote_list_vms())
          end
        end
def all ( ) if service . local_mode servers = service . local_list_defined_vms ( ) . map do | i | { :id => i , :name => i , :running => service . local_vm_running ( i ) , :private_ip_address => service . local_vm_ip ( i ) } end load ( servers ) else load ( service . remote_list_vms ( ) ) end end
default to the base, set on load
default to the base set on load