mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Add support for port translators
This commit is contained in:
parent
09115e6174
commit
62f1757ead
2 changed files with 4 additions and 2 deletions
|
@ -22,6 +22,8 @@ module Fog
|
|||
attribute :interface_id, :aliases => "interface", :squash => "id"
|
||||
attribute :server_id, :aliases => "server", :squash => "id"
|
||||
attribute :load_balancer, :alias => "load_balancer", :squash => "id"
|
||||
attribute :port_translators
|
||||
attribute :name
|
||||
|
||||
def map(destination)
|
||||
requires :identity
|
||||
|
|
|
@ -4,10 +4,10 @@ module Fog
|
|||
class Real
|
||||
|
||||
def create_cloud_ip
|
||||
request("post", "/1.0/cloud_ips", [201])
|
||||
request("post", "/1.0/cloud_ips", [201],options)
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue