~wallyworld/juju-core/fast-lxc-everywhere

« back to all changes in this revision

Viewing changes to provider/ec2/export_test.go

  • Committer: Tarmac
  • Author(s): William Reade
  • Date: 2014-04-25 07:54:39 UTC
  • mfrom: (2678.3.2 juju-core)
  • Revision ID: tarmac-20140425075439-idd74399w5p9bdeh
[r=fwereade] provider/ec2: update instance types/costs

They were pretty badly out of date, and the costs weren't all consistent.
And one of them had a cpu-power off by a factor of 10.

https://codereview.appspot.com/96790043/

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
 
135
135
var TestImagesData = map[string]string{
136
136
        "/streams/v1/index.json": `
137
 
                {
138
 
                 "index": {
139
 
                  "com.ubuntu.cloud:released": {
140
 
                   "updated": "Wed, 01 May 2013 13:31:26 +0000",
141
 
                   "clouds": [
142
 
                        {
143
 
                         "region": "test",
144
 
                         "endpoint": "https://ec2.endpoint.com"
145
 
                        }
146
 
                   ],
147
 
                   "cloudname": "aws",
148
 
                   "datatype": "image-ids",
149
 
                   "format": "products:1.0",
150
 
                   "products": [
151
 
                        "com.ubuntu.cloud:server:12.04:amd64",
152
 
                        "com.ubuntu.cloud:server:12.04:i386",
153
 
                        "com.ubuntu.cloud:server:12.04:amd64",
154
 
                        "com.ubuntu.cloud:server:12.10:amd64",
155
 
                        "com.ubuntu.cloud:server:12.10:i386",
156
 
                        "com.ubuntu.cloud:server:13.04:i386"
157
 
                   ],
158
 
                   "path": "streams/v1/com.ubuntu.cloud:released:aws.js"
159
 
                  }
160
 
                 },
161
 
                 "updated": "Wed, 01 May 2013 13:31:26 +0000",
162
 
                 "format": "index:1.0"
163
 
                }
 
137
        {
 
138
         "index": {
 
139
          "com.ubuntu.cloud:released": {
 
140
           "updated": "Wed, 01 May 2013 13:31:26 +0000",
 
141
           "clouds": [
 
142
            {
 
143
             "region": "test",
 
144
             "endpoint": "https://ec2.endpoint.com"
 
145
            }
 
146
           ],
 
147
           "cloudname": "aws",
 
148
           "datatype": "image-ids",
 
149
           "format": "products:1.0",
 
150
           "products": [
 
151
            "com.ubuntu.cloud:server:12.04:amd64",
 
152
            "com.ubuntu.cloud:server:12.04:i386",
 
153
            "com.ubuntu.cloud:server:12.04:amd64",
 
154
            "com.ubuntu.cloud:server:12.10:amd64",
 
155
            "com.ubuntu.cloud:server:12.10:i386",
 
156
            "com.ubuntu.cloud:server:13.04:i386"
 
157
           ],
 
158
           "path": "streams/v1/com.ubuntu.cloud:released:aws.js"
 
159
          }
 
160
         },
 
161
         "updated": "Wed, 01 May 2013 13:31:26 +0000",
 
162
         "format": "index:1.0"
 
163
        }
164
164
`,
165
165
        "/streams/v1/com.ubuntu.cloud:released:aws.js": `
166
166
{
341
341
        "t1.micro":    20,
342
342
        "c1.medium":   145,
343
343
        "c1.xlarge":   580,
344
 
        "cc1.4xlarge": 1300,
345
344
        "cc2.8xlarge": 2400,
346
345
}
347
346