Add new command to nova

asked 2016-01-23 06:30:47 -0500

mehdi-alisoltani-u gravatar image

Hi dear developers, I want to add new command to nova to run my own code inserted into libvirt driver. for that i have to know the entry point of nova.api to route the command to nova.compte.api. for example when you run the command

nova reboot myinstance

after some method calling it reaches to see this and then goes to driver First I want to know entry point of nova.api and then I want to know how I can add or rename the nova command. e.g. instead of above command run,

nova my_reboot myinstance

thank you

edit retag flag offensive close merge delete


Interesting question.

Please check in the Openstack CLI development pages, if any

SGPJ gravatar imageSGPJ ( 2016-01-23 21:14:07 -0500 )edit