incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sang-min.p...@eucalyptus.com
Subject [PATCH] Fix a bug in create_firewall_rule of Eucalyptus driver
Date Mon, 22 Aug 2011 19:44:33 GMT
From: Sang-Min Park <spark@eucalyptus.com>

---
 .../drivers/eucalyptus/eucalyptus_driver.rb        |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/lib/deltacloud/drivers/eucalyptus/eucalyptus_driver.rb b/server/lib/deltacloud/drivers/eucalyptus/eucalyptus_driver.rb
index 721defd..d4321ab 100644
--- a/server/lib/deltacloud/drivers/eucalyptus/eucalyptus_driver.rb
+++ b/server/lib/deltacloud/drivers/eucalyptus/eucalyptus_driver.rb
@@ -137,7 +137,7 @@ module Deltacloud
           elsif !(opts['addresses'].nil?) && opts['addresses'].length>0
             ec2 = new_client(credentials)
             opts['addresses'].each do |ip|
-              ec2.authorize_security_group_IP_ingress(opts['id'], opts['from_port'], opts['to_port'],
opts['protocol'], ip)
+              ec2.authorize_security_group_IP_ingress(opts['id'], opts['port_from'], opts['port_to'],
opts['protocol'], ip)
             end
           end
         end
-- 
1.7.4.1


Mime
View raw message