177
177
image = glance.images.create(name=image_name, is_public=True,
179
179
container_format='bare', data=f)
195
182
def delete_image(self, glance, image):
196
183
"""Delete the specified image."""
198
184
glance.images.delete(image)
214
186
def create_instance(self, nova, image_name, instance_name, flavor):
215
187
"""Create the specified instance."""
216
188
image = nova.images.find(name=image_name)