shade/doc/source/examples/upload-large-object.py
Monty Taylor fcaf06c3f2
Add "Multi Cloud with Shade" presentation
Check it out - when we write presentations in presentty, we can
add them to our docs!

First given at the 2017 Boston OpenStack Summit.

Change-Id: Ia46a6f32b6b374974fba7b620b202f8eadc774a1
2017-05-08 13:08:02 -04:00

11 lines
339 B
Python

import shade
shade.simple_logging(debug=True)
cloud = shade.openstack_cloud(cloud='ovh', region_name='SBG1')
cloud.create_object(
container='my-container', name='my-object',
filename='/home/mordred/briarcliff.sh3d',
segment_size=1000000)
cloud.delete_object('my-container', 'my-object')
cloud.delete_container('my-container')