# File lib/deltacloud/drivers/condor/ip_agents/confserver.rb, line 25 def initialize(opts={}) @config = opts[:config] self.CondorAddress = ENV['CONFIG_SERVER_CondorAddress'] || @config[:ip_agent_CondorAddress] || "10.34.32.181:4444" @version = @config[:ip_agent_version] || '0.0.1' @client = RestClient::Resource::new(self.CondorAddress) # TODO: Manage MAC CondorAddresses through ConfServer @mappings = Nokogiri::XML(File.open(opts[:file] || File.join('config', 'CondorAddresses.xml'))) end