add instance stop/start

This commit is contained in:
Steve Pulec 2013-02-18 21:56:22 -05:00
commit 3a9c757e46
4 changed files with 85 additions and 9 deletions

View file

@ -15,13 +15,6 @@ def bucket_response(uri, body, headers):
hostname = uri.hostname
method = uri.method
# s3_base_url = "s3.amazonaws.com"
# if hostname == s3_base_url:
# # No bucket specified. Listing all buckets
# all_buckets = s3_backend.get_all_buckets()
# template = Template(S3_ALL_BUCKETS)
# return template.render(buckets=all_buckets)
bucket_name = bucket_name_from_hostname(hostname)
if method == 'GET':