mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[openstack] mock create subnet array options
This commit is contained in:
parent
ccc5555fa9
commit
e4ce9804de
1 changed files with 3 additions and 3 deletions
|
@ -38,9 +38,9 @@ module Fog
|
||||||
'cidr' => cidr,
|
'cidr' => cidr,
|
||||||
'ip_version' => ip_version,
|
'ip_version' => ip_version,
|
||||||
'gateway_ip' => options[:gateway_ip],
|
'gateway_ip' => options[:gateway_ip],
|
||||||
'allocation_pools' => options[:allocation_pools],
|
'allocation_pools' => options[:allocation_pools] || [],
|
||||||
'dns_nameservers' => options[:dns_nameservers],
|
'dns_nameservers' => options[:dns_nameservers] || [],
|
||||||
'host_routes' => options[:host_routes],
|
'host_routes' => options[:host_routes] || [],
|
||||||
'enable_dhcp' => options[:enable_dhcp],
|
'enable_dhcp' => options[:enable_dhcp],
|
||||||
'tenant_id' => options[:tenant_id]
|
'tenant_id' => options[:tenant_id]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue