~gundlach/nova/servers_api

Viewing all changes in revision 310.

  • Committer: Michael Gundlach
  • Date: 2010-10-01 01:59:52 UTC
  • Revision ID: michael.gundlach@rackspace.com-20101001015952-synd8b7d3pzvqu0m
Convert EC2 cloud.py from assuming that EC2 IDs are stored directly in the database, to assuming that EC2 IDs should be converted to internal IDs.

The conversion between the internal ID and the EC2 ID is imperfect -- right now it turns internal IDs like 408 into EC2 IDs like i-408, and vice versa.  Instead, EC2 IDs are supposed to be i-[base 36 of the integer].

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: