1
0
Fork 0
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:
Hemant Kumar 2012-04-11 15:47:26 +05:30
parent 09115e6174
commit 62f1757ead
2 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -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