1

I am a graduate student and I want to do some researches on Swift Object Storage. I have installed SAIO - Swift All In One on my Ubuntu VM. I want to change the Swift source code to test my idea. How should I start to change the source code and test my idea? Can I change the Swift source code in my VM directly and then restart Swift service?

Thanks in advance.

Jacky Liu
  • 63
  • 2
  • 6

3 Answers3

0

Yes, you can do it for studying and testing purpose: change the code and restart it.

For real use purpose, I HIGHLY recommend you don't. Openstack Swift is distributed and complex storage system and I recommend you to get in touch with its friendly community before changing anything.

Nelson Marcos
  • 477
  • 2
  • 16
0

All you have to do is make the changes to the code and restart the swift services.Make sure that you restart the swift services in the server where you have made changes but in some cases you might have to restart the controller node services too.

Footer
  • 129
  • 4
0

Yes, you can change the openstack python code directly. After restarting the service, you can see your code working.

I will recommend using devstack, if you are planned to create your own plugin.Your services will run as screens in devstack.

Deepaklal
  • 119
  • 4