11 lines
369 B
Python
11 lines
369 B
Python
import openstack.cloud
|
|
openstack.cloud.simple_logging(debug=True)
|
|
|
|
cloud = openstack.cloud.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')
|