Revision 1a807497
Added by Ewoud Kohl van Wijngaarden over 5 years ago
spec/classes/foreman_proxy__plugin__dhcp__infoblox_spec.rb | ||
---|---|---|
':password: "infoblox"',
|
||
':record_type: "fixedaddress"',
|
||
':use_ranges: false',
|
||
':dns_view: "default"',
|
||
':network_view: "default"',
|
||
])
|
||
end
|
||
end
|
||
... | ... | |
context 'all parameters' do
|
||
let :params do
|
||
{
|
||
:username => 'admin',
|
||
:password => 'infoblox',
|
||
:use_ranges => true,
|
||
:record_type => 'host'
|
||
:username => 'admin',
|
||
:password => 'infoblox',
|
||
:use_ranges => true,
|
||
:record_type => 'host',
|
||
:dns_view => 'non-default',
|
||
:network_view => 'another-non-default',
|
||
}
|
||
end
|
||
|
||
... | ... | |
':password: "infoblox"',
|
||
':record_type: "host"',
|
||
':use_ranges: true',
|
||
':dns_view: "non-default"',
|
||
':network_view: "another-non-default"',
|
||
])
|
||
end
|
||
end
|
Also available in: Unified diff
Add {dns,network}_view parameters to infoblox
These are supported since smart_proxy_dhcp_infoblox 0.0.8. The defaults
are copied from what the plugin uses and makes the implementation
easier.