1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

Merge branch 'feature-696' of git.opennebula.org:one into feature-696

This commit is contained in:
Jaime Melis 2011-07-07 18:01:16 +02:00
commit 7265eca027
4 changed files with 3 additions and 4 deletions

View File

@ -32,7 +32,6 @@ $: << RUBY_LIB_LOCATION+"/acct"
require 'yaml'
require 'OpenNebula'
require 'sequel'
require 'watch_helper'
CONF = YAML.load_file(ACCTD_CONF)
@ -115,7 +114,6 @@ if CONF[:ACCOUNTING_STEPS] > 0
watcher.add(accounting, CONF[:ACCOUNTING_STEPS], vm_pool)
end
step = 0
loop do
start_time = Time.now

View File

@ -1,5 +1,5 @@
module OneWatchClient
require 'watch_helper'
require 'acct/watch_helper'
class WatchClient
def vm_monitoring(id, opts=[])

View File

@ -1,4 +1,5 @@
module WatchHelper
require 'sequel'
require 'yaml'
ONE_LOCATION=ENV["ONE_LOCATION"]

View File

@ -17,7 +17,7 @@
require 'OpenNebulaJSON'
include OpenNebulaJSON
require 'acct/WatchClient'
require 'acct/watch_client'
class SunstoneServer
def initialize(username, password)