how to compille quantum plugin codes on box

Asked by sean yu

Hi,
i am new guy for python and openstack.
i installed folsom gre mode on my lab.
recent two days, i changed some codes within quantum plugin and quantum ovs agent.
but, i don't know how to compile these codes and make changes effect.
As i see, there are many *.pyc in /usr/lib/python2.7/dist-packages/quantum/plugin/openvswitch, linked /usr/share/pyshared/quantum/plugin/openvswitch.

would u like tell me how to do.

thank you
Sean

Question information

Language:
English Edit question
Status:
Solved
For:
neutron Edit question
Assignee:
No assignee Edit question
Solved by:
Aaron Rosen
Solved:
Last query:
Last reply:
Revision history for this message
Best Aaron Rosen (arosen) said :
#1

python is interpreted so there is no compilation. You just need to restart the quantum-server process to have it run your new changes.

Revision history for this message
sean yu (asmaliya) said :
#2

Thanks Aaron Rosen, that solved my question.