Ask Your Question

Modify novaclient api

asked 2013-07-10 04:17:16 -0500

anonymous user


Hello I want to modify novaclient-api to add actions when a VM is created.

So I have modify this file: /usr/lib/python2.7/dist-packages/novaclient/v1_1

When I launch a command line as $nova boot [...] the code that I have added is executed

However when I launched a VM with Hoizon interface this new code is not executed. I thank Horizon use novaclient api for the instances but it appears it is not the case.

So which is the right file ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-07-10 06:08:18 -0500

jpichon gravatar image

Horizon uses the nova client API for launching instances as well. All the calls to nova are in this file:

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2013-07-10 04:17:16 -0500

Seen: 94 times

Last updated: Jul 10 '13