Revision 69afd342
Added by Dmitri Dolguikh almost 8 years ago
modules/dns_libvirt/dns_libvirt_main.rb | ||
---|---|---|
require 'dns_libvirt/libvirt_dns_network'
|
||
require 'rexml/document'
|
||
require 'dns_common/dns_common'
|
||
|
||
module Proxy::Dns::Libvirt
|
||
class Record < ::Proxy::Dns::Record
|
||
... | ... | |
|
||
attr_reader :libvirt_network, :network
|
||
|
||
def initialize(options = {})
|
||
@network = options[:network] || Proxy::Dns::Libvirt::Plugin.settings.network
|
||
@libvirt_network = options[:libvirt_network] || ::Proxy::Dns::Libvirt::LibvirtDNSNetwork.new(
|
||
options[:url] || Proxy::Dns::Libvirt::Plugin.settings.url,
|
||
@network)
|
||
def initialize(network, libvirt_network)
|
||
@network = network
|
||
@libvirt_network = libvirt_network
|
||
super(@network)
|
||
end
|
||
|
Also available in: Unified diff
Fixes #15942 - dns module and providers use updated di config.