Revision a4715110 src/sunstone/models/OpenNebulaJSON.rb

View differences:

src/sunstone/models/OpenNebulaJSON.rb
18 18

  
19 19
if !ONE_LOCATION
20 20
    RUBY_LIB_LOCATION = "/usr/lib/one/ruby"
21
    VAR_LOCATION      = "/var/lib/one"
22 21
else
23 22
    RUBY_LIB_LOCATION = ONE_LOCATION+"/lib/ruby"
24
    VAR_LOCATION      = ONE_LOCATION+"/var"
25 23
end
26 24

  
27 25
$: << RUBY_LIB_LOCATION
26
$: << File.dirname(__FILE__)
28 27

  
29 28
require 'OpenNebula'
30 29
include OpenNebula
31 30

  
32
# TBD Change path for intallation tree
33
#require 'OpenNebulaJSON/PoolJSON'
34
#require 'OpenNebulaJSON/HostJSON'
35
#require 'OpenNebulaJSON/JSONUtils'
36
require 'models/OpenNebulaJSON/ClusterJSON'
37
require 'models/OpenNebulaJSON/HostJSON'
38
require 'models/OpenNebulaJSON/ImageJSON'
39
require 'models/OpenNebulaJSON/JSONUtils'
40
require 'models/OpenNebulaJSON/PoolJSON'
41
require 'models/OpenNebulaJSON/UserJSON'
42
require 'models/OpenNebulaJSON/VirtualMachineJSON'
43
require 'models/OpenNebulaJSON/VirtualNetworkJSON'
31
require 'OpenNebulaJSON/ClusterJSON'
32
require 'OpenNebulaJSON/HostJSON'
33
require 'OpenNebulaJSON/ImageJSON'
34
require 'OpenNebulaJSON/JSONUtils'
35
require 'OpenNebulaJSON/PoolJSON'
36
require 'OpenNebulaJSON/UserJSON'
37
require 'OpenNebulaJSON/VirtualMachineJSON'
38
require 'OpenNebulaJSON/VirtualNetworkJSON'
44 39

  
45 40
module OpenNebula
46 41
    class Error

Also available in: Unified diff