Did I find the right examples for you? yes no

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/s/t/stackbench-0.2.2/stackbench/test/cloud/test_ec2.py   stackbench(Download)
                return self.volumes
 
        volume1 = self.Volume()
        volume1.attach_data = self.AttachmentSet()
        volume1.status = "in-use"
        volume1.attach_data.device = "/dev/sdg"
 
        volume2 = self.Volume()
        volume2.status = "in-use"
 
        volume3 = self.Volume()
        volume3.status = "attaching"
        volume3.attach_data = self.AttachmentSet()

src/c/l/cloudbench-0.13.5/cloudbench/test/cloud/test_ec2.py   cloudbench(Download)
                return self.volumes
 
        volume1 = self.Volume()
        volume1.attach_data = self.AttachmentSet()
        volume1.status = "in-use"
        volume1.attach_data.device = "/dev/sdg"
        volume1.size = 10
 
        volume2 = self.Volume()
        volume2.iops = 100
 
        volume3 = self.Volume()
        volume3.status = "attaching"
        volume3.attach_data = self.AttachmentSet()