vavavr00m / boto

Automatically exported from code.google.com/p/boto
1 stars 0 forks source link

connect_ec2 doesn't respect its host argument #416

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try using the connect_ec2 with a specific host (say a private cloud)
2. See boto trying to connect to Amazon

Patch attached.

Original issue reported on code.google.com by Pierre.R...@irisa.fr on 15 Jul 2010 at 8:13

Attachments:

GoogleCodeExporter commented 9 years ago
Currently, the host is ignored because the name of the host is expected to be 
defined in the RegionInfo data structure passed in.  I think that's the correct 
way to handle it but I should really remove "host" from the list of parameters 
to the EC2Connection object.

Original comment by Mitch.Ga...@gmail.com on 19 Jul 2010 at 1:44

GoogleCodeExporter commented 9 years ago
I understand. I was successfully able to contact a Nimbus 
(http://www.nimbusproject.org) cloud by creating a RegionInfo object and 
passing it to the connect_ec2 function. You're right, host should be removed to 
avoid any confusion.

Original comment by Pierre.R...@irisa.fr on 19 Jul 2010 at 2:50