Class OpenNebula::UserPool

  1. OpenNebula/UserPool.rb
Pool VirtualNetworkPool ClusterPool ImagePool VirtualMachinePool HostPool UserPool XMLElement PoolElement XMLPool User VirtualNetwork Cluster Image VirtualMachine Host Enumerable Client ImageRepository Error OpenNebula dot/f_0.png

Methods

public class

  1. new

public instance

  1. factory
  2. info

Constants

USER_POOL_METHODS = { :info => "userpool.info" }  

Constants and Class attribute accessors


Public class methods

new (client)

client a Client object that represents a XML-RPC connection

[show source]
    # File OpenNebula/UserPool.rb, line 34
34:         def initialize(client)
35:             super('USER_POOL','USER',client)
36:         end

Public instance methods

factory (element_xml)

Factory method to create User objects

[show source]
    # File OpenNebula/UserPool.rb, line 39
39:         def factory(element_xml)
40:             OpenNebula::User.new(element_xml,@client)
41:         end
info ()

Retrieves all the Users in the pool.

[show source]
    # File OpenNebula/UserPool.rb, line 48
48:         def info()
49:             super(USER_POOL_METHODS[:info])
50:         end