Module OpenNebula

  1. OpenNebula/Cluster.rb
  2. OpenNebula.rb
  3. OpenNebula/ClusterPool.rb
  4. OpenNebula/Host.rb
  5. OpenNebula/HostPool.rb
  6. OpenNebula/ImagePool.rb
  7. OpenNebula/Image.rb
  8. OpenNebula/ImageRepository.rb
  9. OpenNebula/Pool.rb
  10. OpenNebula/User.rb
  11. OpenNebula/UserPool.rb
  12. OpenNebula/VirtualMachinePool.rb
  13. OpenNebula/VirtualMachine.rb
  14. OpenNebula/VirtualNetwork.rb
  15. OpenNebula/VirtualNetworkPool.rb
  16. OpenNebula/XMLUtils.rb
  17. show all
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
-------------------------------------------------------------------------- #
Copyright 2002-2011, OpenNebula Project Leads (OpenNebula.org)             #
                                                                           #
Licensed under the Apache License, Version 2.0 (the "License"); you may    #
not use this file except in compliance with the License. You may obtain    #
a copy of the License at                                                   #
                                                                           #
http://www.apache.org/licenses/LICENSE-2.0                                 #
                                                                           #
Unless required by applicable law or agreed to in writing, software        #
distributed under the License is distributed on an "AS IS" BASIS,          #
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   #
See the License for the specific language governing permissions and        #
limitations under the License.                                             #

————————————————————————— #

---
-------------------------------------------------------------------------- #
Copyright 2002-2011, OpenNebula Project Leads (OpenNebula.org)             #
                                                                           #
Licensed under the Apache License, Version 2.0 (the "License"); you may    #
not use this file except in compliance with the License. You may obtain    #
a copy of the License at                                                   #
                                                                           #
http://www.apache.org/licenses/LICENSE-2.0                                 #
                                                                           #
Unless required by applicable law or agreed to in writing, software        #
distributed under the License is distributed on an "AS IS" BASIS,          #
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   #
See the License for the specific language governing permissions and        #
limitations under the License.                                             #

————————————————————————— #

Methods

public class

  1. is_error?

Constants

NOKOGIRI = true
NOKOGIRI = false
REXML_FORMATTERS = true
REXML_FORMATTERS = false

Public class methods

is_error? (value)

Returns true if the object returned by a method of the OpenNebula library is an Error


[show source]
    # File OpenNebula.rb, line 67
67:     def self.is_error?(value)
68:         value.class==OpenNebula::Error
69:     end