1
0
Fork 0
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:
Maurice Schreiber 2015-08-05 15:16:28 +02:00
parent ccc5555fa9
commit e4ce9804de

View file

@ -38,9 +38,9 @@ module Fog
'cidr' => cidr,
'ip_version' => ip_version,
'gateway_ip' => options[:gateway_ip],
'allocation_pools' => options[:allocation_pools],
'dns_nameservers' => options[:dns_nameservers],
'host_routes' => options[:host_routes],
'allocation_pools' => options[:allocation_pools] || [],
'dns_nameservers' => options[:dns_nameservers] || [],
'host_routes' => options[:host_routes] || [],
'enable_dhcp' => options[:enable_dhcp],
'tenant_id' => options[:tenant_id]
}