nephophobia 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. data/.autotest +29 -0
  2. data/.gitignore +2 -0
  3. data/.rvmrc +1 -0
  4. data/Gemfile +4 -0
  5. data/Gemfile.lock +35 -0
  6. data/README.md +23 -0
  7. data/Rakefile +11 -0
  8. data/lib/aws.rb +51 -0
  9. data/lib/hashify.rb +29 -0
  10. data/lib/nephophobia.rb +30 -0
  11. data/lib/nephophobia/client.rb +73 -0
  12. data/lib/nephophobia/compute.rb +150 -0
  13. data/lib/nephophobia/image.rb +78 -0
  14. data/lib/nephophobia/project.rb +113 -0
  15. data/lib/nephophobia/role.rb +5 -0
  16. data/lib/nephophobia/user.rb +86 -0
  17. data/lib/nephophobia/version.rb +3 -0
  18. data/nephophobia.gemspec +30 -0
  19. data/test/fixtures/cassettes/compute_all.yml +28 -0
  20. data/test/fixtures/cassettes/compute_all_with_filter.yml +30 -0
  21. data/test/fixtures/cassettes/compute_all_with_string_into_int_error.yml +28 -0
  22. data/test/fixtures/cassettes/compute_create.yml +28 -0
  23. data/test/fixtures/cassettes/compute_create_with_optional_params.yml +28 -0
  24. data/test/fixtures/cassettes/compute_destroy.yml +28 -0
  25. data/test/fixtures/cassettes/compute_find.yml +28 -0
  26. data/test/fixtures/cassettes/compute_reboot.yml +28 -0
  27. data/test/fixtures/cassettes/compute_start.yml +30 -0
  28. data/test/fixtures/cassettes/compute_stop.yml +30 -0
  29. data/test/fixtures/cassettes/image_all.yml +28 -0
  30. data/test/fixtures/cassettes/image_all_with_filter.yml +28 -0
  31. data/test/fixtures/cassettes/image_all_with_string_into_int_error.yml +28 -0
  32. data/test/fixtures/cassettes/image_find.yml +28 -0
  33. data/test/fixtures/cassettes/project_add_member.yml +28 -0
  34. data/test/fixtures/cassettes/project_all.yml +28 -0
  35. data/test/fixtures/cassettes/project_all_with_string_into_int_error.yml +28 -0
  36. data/test/fixtures/cassettes/project_create.yml +28 -0
  37. data/test/fixtures/cassettes/project_destroy.yml +28 -0
  38. data/test/fixtures/cassettes/project_find.yml +28 -0
  39. data/test/fixtures/cassettes/project_members.yml +28 -0
  40. data/test/fixtures/cassettes/project_remove_member.yml +28 -0
  41. data/test/fixtures/cassettes/user_add_role.yml +28 -0
  42. data/test/fixtures/cassettes/user_create.yml +28 -0
  43. data/test/fixtures/cassettes/user_destroy.yml +28 -0
  44. data/test/fixtures/cassettes/user_find.yml +28 -0
  45. data/test/fixtures/cassettes/user_remove_role.yml +28 -0
  46. data/test/lib/aws_test.rb +22 -0
  47. data/test/lib/hashify_test.rb +15 -0
  48. data/test/lib/nephophobia/compute_test.rb +144 -0
  49. data/test/lib/nephophobia/image_test.rb +76 -0
  50. data/test/lib/nephophobia/project_test.rb +104 -0
  51. data/test/lib/nephophobia/user_test.rb +71 -0
  52. data/test/lib/nephophobia_test.rb +17 -0
  53. data/test/test_helper.rb +47 -0
  54. metadata +221 -0
@@ -0,0 +1,28 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=9c01b833-3047-4f2e-bb2a-5c8dc7c8ae9c%3Aproduction&Action=TerminateInstances&InstanceId.1=i-000000c7&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=KMA1nOX%2BJMmZxUIQgrGkXOAHFyb9HSn3cqDIvT25ZNA%3D
6
+ body:
7
+ headers:
8
+ accept:
9
+ - application/xml
10
+ connection:
11
+ - keep-alive
12
+ keep-alive:
13
+ - 30
14
+ response: !ruby/struct:VCR::Response
15
+ status: !ruby/struct:VCR::ResponseStatus
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ content-type:
20
+ - text/xml
21
+ content-length:
22
+ - "192"
23
+ date:
24
+ - Tue, 22 Feb 2011 01:36:55 GMT
25
+ connection:
26
+ - keep-alive
27
+ body: <?xml version="1.0" ?><TerminateInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>QYCWQIGHP43Y-1GIGIIK</requestId><return>true</return></TerminateInstancesResponse>
28
+ http_version: "1.1"
@@ -0,0 +1,28 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=9c01b833-3047-4f2e-bb2a-5c8dc7c8ae9c%3Aproduction&Action=DescribeInstances&InstanceId.1=i-000000c7&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=Mpp%2FbraixBbn3Uf1qPkhZdsL7CfnB1IgmoL%2Fk9NvnHo%3D
6
+ body:
7
+ headers:
8
+ accept:
9
+ - application/xml
10
+ connection:
11
+ - keep-alive
12
+ keep-alive:
13
+ - 30
14
+ response: !ruby/struct:VCR::Response
15
+ status: !ruby/struct:VCR::ResponseStatus
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ content-type:
20
+ - text/xml
21
+ content-length:
22
+ - "904"
23
+ date:
24
+ - Tue, 22 Feb 2011 01:22:18 GMT
25
+ connection:
26
+ - keep-alive
27
+ body: <?xml version="1.0" ?><DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>4DYN5LJOIR7NMBGYRS2J</requestId><reservationSet><item><ownerId>production</ownerId><groupSet><item><groupId>default</groupId></item></groupSet><reservationId>r-6p9fdt2e</reservationId><instancesSet><item><displayDescription/><displayName>Server 199</displayName><keyName>None (production, e3ab3)</keyName><instanceId>i-000000c7</instanceId><instanceState><code>1</code><name>running</name></instanceState><publicDnsName/><imageId>ami-usc3oydl</imageId><productCodesSet/><privateDnsName>10.1.171.8</privateDnsName><dnsName>10.1.171.8</dnsName><launchTime>2011-02-21 17:54:35</launchTime><placement><availabilityZone>nova</availabilityZone></placement><amiLaunchIndex>0</amiLaunchIndex><instanceType>m1.small</instanceType></item></instancesSet></item></reservationSet></DescribeInstancesResponse>
28
+ http_version: "1.1"
@@ -0,0 +1,28 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=9c01b833-3047-4f2e-bb2a-5c8dc7c8ae9c%3Aproduction&Action=RebootInstances&InstanceId.1=i-00000471&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=Dpwffm9TiKJ0TmJhOPAxVZKpc9PkGgu2Sp6GdpJTPms%3D
6
+ body:
7
+ headers:
8
+ accept:
9
+ - application/xml
10
+ connection:
11
+ - keep-alive
12
+ keep-alive:
13
+ - 30
14
+ response: !ruby/struct:VCR::Response
15
+ status: !ruby/struct:VCR::ResponseStatus
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ content-type:
20
+ - text/xml
21
+ content-length:
22
+ - "186"
23
+ date:
24
+ - Sun, 27 Feb 2011 05:55:56 GMT
25
+ connection:
26
+ - keep-alive
27
+ body: <?xml version="1.0" ?><RebootInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>HCUIDG8ZQ63F-GHX4OFO</requestId><return>true</return></RebootInstancesResponse>
28
+ http_version: "1.1"
@@ -0,0 +1,30 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=9c01b833-3047-4f2e-bb2a-5c8dc7c8ae9c%3Aproduction&Action=StopInstances&InstanceId.1=i-00000471&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=f2ca4u3DErKzJVpi7zl49x4ePTYvUpLt1gSssEuGB%2B8%3D
6
+ body:
7
+ headers:
8
+ accept:
9
+ - application/xml
10
+ connection:
11
+ - keep-alive
12
+ keep-alive:
13
+ - 30
14
+ response: !ruby/struct:VCR::Response
15
+ status: !ruby/struct:VCR::ResponseStatus
16
+ code: 400
17
+ message: Bad Request
18
+ headers:
19
+ content-type:
20
+ - text/xml
21
+ content-length:
22
+ - "223"
23
+ date:
24
+ - Sun, 27 Feb 2011 05:55:56 GMT
25
+ connection:
26
+ - keep-alive
27
+ body: |-
28
+ <?xml version="1.0"?>
29
+ <Response><Errors><Error><Code>UnknownError</Code><Message>An unknown error has occurred. Please try your request again.</Message></Error></Errors><RequestID>J5RD33FVSRL2YKUWPU7Z</RequestID></Response>
30
+ http_version: "1.1"
@@ -0,0 +1,30 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=9c01b833-3047-4f2e-bb2a-5c8dc7c8ae9c%3Aproduction&Action=StartInstances&InstanceId.1=i-00000471&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=aoyZPkC2nBT%2BFLRlVxn5m%2F66N3TMFQg%2FU3n6UtKq%2BMY%3D
6
+ body:
7
+ headers:
8
+ accept:
9
+ - application/xml
10
+ connection:
11
+ - keep-alive
12
+ keep-alive:
13
+ - 30
14
+ response: !ruby/struct:VCR::Response
15
+ status: !ruby/struct:VCR::ResponseStatus
16
+ code: 400
17
+ message: Bad Request
18
+ headers:
19
+ content-type:
20
+ - text/xml
21
+ content-length:
22
+ - "223"
23
+ date:
24
+ - Sun, 27 Feb 2011 05:55:56 GMT
25
+ connection:
26
+ - keep-alive
27
+ body: |-
28
+ <?xml version="1.0"?>
29
+ <Response><Errors><Error><Code>UnknownError</Code><Message>An unknown error has occurred. Please try your request again.</Message></Error></Errors><RequestID>SCZZWFV5UOSSRFBOGAG4</RequestID></Response>
30
+ http_version: "1.1"
@@ -0,0 +1,28 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=9c01b833-3047-4f2e-bb2a-5c8dc7c8ae9c%3Aproduction&Action=DescribeImages&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=QbihqGQwLZqsx29xqzkVQeE46%2Bi77Cm7j6%2F%2BFn%2BBh0s%3D
6
+ body:
7
+ headers:
8
+ accept:
9
+ - application/xml
10
+ connection:
11
+ - keep-alive
12
+ keep-alive:
13
+ - 30
14
+ response: !ruby/struct:VCR::Response
15
+ status: !ruby/struct:VCR::ResponseStatus
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ content-type:
20
+ - text/xml
21
+ content-length:
22
+ - "3480"
23
+ date:
24
+ - Tue, 22 Feb 2011 05:12:13 GMT
25
+ connection:
26
+ - keep-alive
27
+ body: <?xml version="1.0" ?><DescribeImagesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>CWZUEKWF71DB79KMX790</requestId><imagesSet><item><displayName></displayName><imageOwnerId>production</imageOwnerId><isPublic>false</isPublic><imageId>ami-d0f0o14c</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>ttylinx-bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz.manifest.xml</imageLocation><kernelId>true</kernelId><type>kernel</type><id>ami-d0f0o14c</id><imageType>kernel</imageType></item><item><displayName></displayName><imageOwnerId>production</imageOwnerId><isPublic>true</isPublic><imageId>ami-usc3oydl</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>production-bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1.img.manifest.xml</imageLocation><kernelId>ami-41fp8j0l</kernelId><ramdiskId>ami-a7l0kmss</ramdiskId><type>machine</type><id>ami-usc3oydl</id><imageType>machine</imageType></item><item><displayName></displayName><imageOwnerId>production</imageOwnerId><isPublic>true</isPublic><imageId>ami-a7l0kmss</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>production-bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1-initrd.manifest.xml</imageLocation><ramdiskId>true</ramdiskId><type>ramdisk</type><id>ami-a7l0kmss</id><imageType>ramdisk</imageType></item><item><displayName></displayName><imageOwnerId>production</imageOwnerId><isPublic>false</isPublic><imageId>ami-l1u1pqfm</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>ttylinx-bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1.img.manifest.xml</imageLocation><kernelId>ami-d0f0o14c</kernelId><ramdiskId>ami-2znurxml</ramdiskId><type>machine</type><id>ami-l1u1pqfm</id><imageType>machine</imageType></item><item><displayName></displayName><imageOwnerId>non-production</imageOwnerId><isPublic>false</isPublic><imageId>ami-jj2v00sp</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>ubuntu-10.04/lucid-server-uec-amd64.img.manifest.xml</imageLocation><kernelId>ami-x404ppjb</kernelId><type>machine</type><id>ami-jj2v00sp</id><imageType>machine</imageType></item><item><displayName></displayName><imageOwnerId>production</imageOwnerId><isPublic>true</isPublic><imageId>ami-41fp8j0l</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>production-bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz.manifest.xml</imageLocation><kernelId>true</kernelId><type>kernel</type><id>ami-41fp8j0l</id><imageType>kernel</imageType></item><item><displayName></displayName><imageOwnerId>non-production</imageOwnerId><isPublic>false</isPublic><imageId>ami-x404ppjb</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>ubuntu-10.04/lucid-server-uec-amd64-vmlinuz-virtual.manifest.xml</imageLocation><kernelId>true</kernelId><type>kernel</type><id>ami-x404ppjb</id><imageType>kernel</imageType></item><item><displayName></displayName><imageOwnerId>production</imageOwnerId><isPublic>false</isPublic><imageId>ami-2znurxml</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>ttylinx-bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1-initrd.manifest.xml</imageLocation><ramdiskId>true</ramdiskId><type>ramdisk</type><id>ami-2znurxml</id><imageType>ramdisk</imageType></item></imagesSet></DescribeImagesResponse>
28
+ http_version: "1.1"
@@ -0,0 +1,28 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=9c01b833-3047-4f2e-bb2a-5c8dc7c8ae9c%3Aproduction&Action=DescribeImages&ExecutableBy.1=self&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=uYRkJaPSjx%2FxqeujLJLRfrIwuOdHwQMgKtS5QupnBDM%3D
6
+ body:
7
+ headers:
8
+ accept:
9
+ - application/xml
10
+ connection:
11
+ - keep-alive
12
+ keep-alive:
13
+ - 30
14
+ response: !ruby/struct:VCR::Response
15
+ status: !ruby/struct:VCR::ResponseStatus
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ content-type:
20
+ - text/xml
21
+ content-length:
22
+ - "3480"
23
+ date:
24
+ - Wed, 23 Feb 2011 22:25:24 GMT
25
+ connection:
26
+ - keep-alive
27
+ body: <?xml version="1.0" ?><DescribeImagesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>O5P4LIEYL58JRJ50T1XM</requestId><imagesSet><item><displayName></displayName><imageOwnerId>production</imageOwnerId><isPublic>false</isPublic><imageId>ami-d0f0o14c</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>ttylinx-bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz.manifest.xml</imageLocation><kernelId>true</kernelId><type>kernel</type><id>ami-d0f0o14c</id><imageType>kernel</imageType></item><item><displayName></displayName><imageOwnerId>production</imageOwnerId><isPublic>true</isPublic><imageId>ami-usc3oydl</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>production-bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1.img.manifest.xml</imageLocation><kernelId>ami-41fp8j0l</kernelId><ramdiskId>ami-a7l0kmss</ramdiskId><type>machine</type><id>ami-usc3oydl</id><imageType>machine</imageType></item><item><displayName></displayName><imageOwnerId>production</imageOwnerId><isPublic>true</isPublic><imageId>ami-a7l0kmss</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>production-bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1-initrd.manifest.xml</imageLocation><ramdiskId>true</ramdiskId><type>ramdisk</type><id>ami-a7l0kmss</id><imageType>ramdisk</imageType></item><item><displayName></displayName><imageOwnerId>production</imageOwnerId><isPublic>false</isPublic><imageId>ami-l1u1pqfm</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>ttylinx-bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1.img.manifest.xml</imageLocation><kernelId>ami-d0f0o14c</kernelId><ramdiskId>ami-2znurxml</ramdiskId><type>machine</type><id>ami-l1u1pqfm</id><imageType>machine</imageType></item><item><displayName></displayName><imageOwnerId>non-production</imageOwnerId><isPublic>false</isPublic><imageId>ami-jj2v00sp</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>ubuntu-10.04/lucid-server-uec-amd64.img.manifest.xml</imageLocation><kernelId>ami-x404ppjb</kernelId><type>machine</type><id>ami-jj2v00sp</id><imageType>machine</imageType></item><item><displayName></displayName><imageOwnerId>production</imageOwnerId><isPublic>true</isPublic><imageId>ami-41fp8j0l</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>production-bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz.manifest.xml</imageLocation><kernelId>true</kernelId><type>kernel</type><id>ami-41fp8j0l</id><imageType>kernel</imageType></item><item><displayName></displayName><imageOwnerId>non-production</imageOwnerId><isPublic>false</isPublic><imageId>ami-x404ppjb</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>ubuntu-10.04/lucid-server-uec-amd64-vmlinuz-virtual.manifest.xml</imageLocation><kernelId>true</kernelId><type>kernel</type><id>ami-x404ppjb</id><imageType>kernel</imageType></item><item><displayName></displayName><imageOwnerId>production</imageOwnerId><isPublic>false</isPublic><imageId>ami-2znurxml</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>ttylinx-bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1-initrd.manifest.xml</imageLocation><ramdiskId>true</ramdiskId><type>ramdisk</type><id>ami-2znurxml</id><imageType>ramdisk</imageType></item></imagesSet></DescribeImagesResponse>
28
+ http_version: "1.1"
@@ -0,0 +1,28 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=9c01b833-3047-4f2e-bb2a-5c8dc7c8ae9c%3Aproduction&Action=DescribeImages&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=QbihqGQwLZqsx29xqzkVQeE46%2Bi77Cm7j6%2F%2BFn%2BBh0s%3D
6
+ body:
7
+ headers:
8
+ accept:
9
+ - application/xml
10
+ connection:
11
+ - keep-alive
12
+ keep-alive:
13
+ - 30
14
+ response: !ruby/struct:VCR::Response
15
+ status: !ruby/struct:VCR::ResponseStatus
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ content-type:
20
+ - text/xml
21
+ content-length:
22
+ - "3480"
23
+ date:
24
+ - Tue, 22 Feb 2011 05:12:13 GMT
25
+ connection:
26
+ - keep-alive
27
+ body: <?xml version="1.0" ?><DescribeImagesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>CWZUEKWF71DB79KMX790</requestId><imagesSet><item><displayName></displayName><imageOwnerId>production</imageOwnerId><isPublic>false</isPublic><imageId>ami-d0f0o14c</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>ttylinx-bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz.manifest.xml</imageLocation><kernelId>true</kernelId><type>kernel</type><id>ami-d0f0o14c</id><imageType>kernel</imageType></item></imagesSet></DescribeImagesResponse>
28
+ http_version: "1.1"
@@ -0,0 +1,28 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=9c01b833-3047-4f2e-bb2a-5c8dc7c8ae9c%3Aproduction&Action=DescribeImages&ImageId.1=ami-l1u1pqfm&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=74pYIJWZzSW4SEBZQPqLLxNj8305DOP105XjbK8oFj0%3D
6
+ body:
7
+ headers:
8
+ accept:
9
+ - application/xml
10
+ connection:
11
+ - keep-alive
12
+ keep-alive:
13
+ - 30
14
+ response: !ruby/struct:VCR::Response
15
+ status: !ruby/struct:VCR::ResponseStatus
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ content-type:
20
+ - text/xml
21
+ content-length:
22
+ - "628"
23
+ date:
24
+ - Tue, 22 Feb 2011 05:15:35 GMT
25
+ connection:
26
+ - keep-alive
27
+ body: <?xml version="1.0" ?><DescribeImagesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>2XPMILF5KDL7SZ9G55HD</requestId><imagesSet><item><displayName></displayName><imageOwnerId>production</imageOwnerId><isPublic>false</isPublic><imageId>ami-l1u1pqfm</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>ttylinx-bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1.img.manifest.xml</imageLocation><kernelId>ami-d0f0o14c</kernelId><ramdiskId>ami-2znurxml</ramdiskId><type>machine</type><id>ami-l1u1pqfm</id><imageType>machine</imageType></item></imagesSet></DescribeImagesResponse>
28
+ http_version: "1.1"
@@ -0,0 +1,28 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: http://10.1.170.32:8773/services/Admin/?AWSAccessKeyId=1d7a687b-0065-44d6-9611-5bf6c6c72424%3Aproduction&Action=ModifyProjectMember&Operation=add&Project=foobar_project&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=foobar_user&Version=2010-11-15&Signature=57zOkYnaZ60fwBR1%2BdKVI4%2BHoXAsC7qM%2Burs10Qq5jM%3D
6
+ body:
7
+ headers:
8
+ accept:
9
+ - application/xml
10
+ connection:
11
+ - keep-alive
12
+ keep-alive:
13
+ - 30
14
+ response: !ruby/struct:VCR::Response
15
+ status: !ruby/struct:VCR::ResponseStatus
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ content-type:
20
+ - text/xml
21
+ content-length:
22
+ - "194"
23
+ date:
24
+ - Tue, 01 Mar 2011 00:08:49 GMT
25
+ connection:
26
+ - keep-alive
27
+ body: <?xml version="1.0" ?><ModifyProjectMemberResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>AB62FAYIP5WSO264QS-K</requestId><return>true</return></ModifyProjectMemberResponse>
28
+ http_version: "1.1"
@@ -0,0 +1,28 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: http://10.1.170.32:8773/services/Admin/?AWSAccessKeyId=1d7a687b-0065-44d6-9611-5bf6c6c72424%3Aproduction&Action=DescribeProjects&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=9X90VDxMZC4r85r5C3CuAAqIFkDNdwp7xW%2BMKybpbVo%3D
6
+ body:
7
+ headers:
8
+ accept:
9
+ - application/xml
10
+ connection:
11
+ - keep-alive
12
+ keep-alive:
13
+ - 30
14
+ response: !ruby/struct:VCR::Response
15
+ status: !ruby/struct:VCR::ResponseStatus
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ content-type:
20
+ - text/xml
21
+ content-length:
22
+ - "702"
23
+ date:
24
+ - Tue, 22 Feb 2011 06:43:10 GMT
25
+ connection:
26
+ - keep-alive
27
+ body: <?xml version="1.0" ?><DescribeProjectsResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>Z70PV9C4OC3EO6HWL86O</requestId><projectSet><item><projectname>production</projectname><projectManagerId>root</projectManagerId><description>production</description></item><item><projectname>non-production</projectname><projectManagerId>root</projectManagerId><description>non-production</description></item><item><projectname>openstack</projectname><projectManagerId>jtran</projectManagerId><description>openstack</description></item><item><projectname>jtran</projectname><projectManagerId>jtran</projectManagerId><description>jtran</description></item></projectSet></DescribeProjectsResponse>
28
+ http_version: "1.1"
@@ -0,0 +1,28 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: http://10.1.170.32:8773/services/Admin/?AWSAccessKeyId=1d7a687b-0065-44d6-9611-5bf6c6c72424%3Aproduction&Action=DescribeProjects&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=9X90VDxMZC4r85r5C3CuAAqIFkDNdwp7xW%2BMKybpbVo%3D
6
+ body:
7
+ headers:
8
+ accept:
9
+ - application/xml
10
+ connection:
11
+ - keep-alive
12
+ keep-alive:
13
+ - 30
14
+ response: !ruby/struct:VCR::Response
15
+ status: !ruby/struct:VCR::ResponseStatus
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ content-type:
20
+ - text/xml
21
+ content-length:
22
+ - "702"
23
+ date:
24
+ - Tue, 22 Feb 2011 06:43:10 GMT
25
+ connection:
26
+ - keep-alive
27
+ body: <?xml version="1.0" ?><DescribeProjectsResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>Z70PV9C4OC3EO6HWL86O</requestId><projectSet><item><projectname>production</projectname><projectManagerId>root</projectManagerId><description>production</description></item></projectSet></DescribeProjectsResponse>
28
+ http_version: "1.1"
@@ -0,0 +1,28 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: http://10.1.170.32:8773/services/Admin/?AWSAccessKeyId=1d7a687b-0065-44d6-9611-5bf6c6c72424%3Aproduction&Action=RegisterProject&ManagerUser=foobar_user&Name=foobar_project&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=%2BKIpQdHzxLFbf1zgbL8Y1NxZq9o8ahsJcTVElLzn5IY%3D
6
+ body:
7
+ headers:
8
+ accept:
9
+ - application/xml
10
+ connection:
11
+ - keep-alive
12
+ keep-alive:
13
+ - 30
14
+ response: !ruby/struct:VCR::Response
15
+ status: !ruby/struct:VCR::ResponseStatus
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ content-type:
20
+ - text/xml
21
+ content-length:
22
+ - "295"
23
+ date:
24
+ - Sun, 27 Feb 2011 06:05:55 GMT
25
+ connection:
26
+ - keep-alive
27
+ body: <?xml version="1.0" ?><RegisterProjectResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>NDJNFHGX-LKJ7EC-8-B9</requestId><projectname>foobar_project</projectname><projectManagerId>foobar_user</projectManagerId><description>foobar_project</description></RegisterProjectResponse>
28
+ http_version: "1.1"
@@ -0,0 +1,28 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: http://10.1.170.32:8773/services/Admin/?AWSAccessKeyId=1d7a687b-0065-44d6-9611-5bf6c6c72424%3Aproduction&Action=DeregisterProject&Name=foobar_project&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=1zBz5ubPCcCv4zNP8X%2Fr0v6%2B%2BuiQsy4yZFqtgjqhWhQ%3D
6
+ body:
7
+ headers:
8
+ accept:
9
+ - application/xml
10
+ connection:
11
+ - keep-alive
12
+ keep-alive:
13
+ - 30
14
+ response: !ruby/struct:VCR::Response
15
+ status: !ruby/struct:VCR::ResponseStatus
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ content-type:
20
+ - text/xml
21
+ content-length:
22
+ - "190"
23
+ date:
24
+ - Sun, 27 Feb 2011 06:06:56 GMT
25
+ connection:
26
+ - keep-alive
27
+ body: <?xml version="1.0" ?><DeregisterProjectResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>LMY3RJA541QSDGF-9XYT</requestId><return>true</return></DeregisterProjectResponse>
28
+ http_version: "1.1"
@@ -0,0 +1,28 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: http://10.1.170.32:8773/services/Admin/?AWSAccessKeyId=1d7a687b-0065-44d6-9611-5bf6c6c72424%3Aproduction&Action=DescribeProject&Name=production&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=beK9e6eRbxMvUo2d42wmZ9u%2BO1Epyj%2Byrc4moczMDB4%3D
6
+ body:
7
+ headers:
8
+ accept:
9
+ - application/xml
10
+ connection:
11
+ - keep-alive
12
+ keep-alive:
13
+ - 30
14
+ response: !ruby/struct:VCR::Response
15
+ status: !ruby/struct:VCR::ResponseStatus
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ content-type:
20
+ - text/xml
21
+ content-length:
22
+ - "280"
23
+ date:
24
+ - Tue, 22 Feb 2011 06:37:24 GMT
25
+ connection:
26
+ - keep-alive
27
+ body: <?xml version="1.0" ?><DescribeProjectResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>NM72Q0FB3WGWJ39FPOMH</requestId><projectname>production</projectname><projectManagerId>root</projectManagerId><description>production</description></DescribeProjectResponse>
28
+ http_version: "1.1"