1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

add ipv6_only support to blue box

This commit is contained in:
Josh Kalderimis 2013-04-18 11:04:59 +02:00
parent e1cfca8f20
commit f5592dca02

View file

@ -21,6 +21,7 @@ module Fog
attribute :state, :aliases => "status"
attribute :storage
attribute :template
attribute :ipv6_only
attr_accessor :hostname, :password, :lb_applications, :lb_services, :lb_backends
@ -91,6 +92,7 @@ module Fog
options['username'] = username
options['hostname'] = hostname if @hostname
options['ipv6_only'] = ipv6_only if @ipv6_only
data = service.create_block(flavor_id, image_id, location_id, options)
merge_attributes(data.body)
true