~bigkevmcd/goose/fix-for-swift-headers

« back to all changes in this revision

Viewing changes to nova/nova_test.go

[r=wallyworld],[bug=1188815] Support string id for SecurityGroup et al

Openstack with Quantum/Grizzly uses string ids for SecurityGroup
and other similar data structures. Goose was written for deployments
that use int ids. This branch fixes that issue using the pattern
already in palce to deal with HP Cloud vs Canonistack for
ServerDetail et al ids.

https://codereview.appspot.com/10527043/

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
// Out-of-the-box, we support live testing using Canonistack or HP Cloud.
19
19
var testConstraints = map[string]imageDetails{
20
20
        "canonistack": imageDetails{
21
 
                flavor: "m1.tiny", imageId: "c876e5fe-abb0-41f0-8f29-f0b47481f523"},
 
21
                flavor: "m1.tiny", imageId: "f2ca48ce-30d5-4f1f-9075-12e64510368d"},
22
22
        "hpcloud": imageDetails{
23
 
                flavor: "standard.xsmall", imageId: "75845"},
 
23
                flavor: "standard.xsmall", imageId: "81078"},
24
24
}
25
25
 
26
26
var live = flag.Bool("live", false, "Include live OpenStack tests")