CRUD regions, zones, hard disks in Openstack Swift with Python

asked 2016-11-03 10:51:15 -0600

I setup successfully a test Openstack Swift environment followed by this (SAIO - Swift All In One) page. And also installed (python-swiftclient) package to manage data on Swift. But both of swift command and swiftclient package only support to manage Account, Container and Object data.

So I wonder is there any ways help to execute CRUD command for regions, zones, hard disks...with commands or Python?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-11-04 04:21:57 -0600

RichArt gravatar image

I am not sure if I really got your question, but you can use the openstackclient: (

Or the APIs if you wanna write code in Python: (

edit flag offensive delete link more


Thanks for your help. I am just looking up some solutions to manage regions, Swift cluster. After installing Swift on my local machine, I found that it had 4 regions in Swift cluster. So I want to add, remove some regions but no luck for me.

leeminh gravatar imageleeminh ( 2016-11-04 04:43:22 -0600 )edit

May be you should really consider to use the Identity API to manage regions: ( Or is Swift totally independent from the other OpenStack Infrastructure?

RichArt gravatar imageRichArt ( 2016-11-04 10:51:02 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-11-03 10:51:15 -0600

Seen: 115 times

Last updated: Nov 04 '16