Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How do i add a new resource in nova api ?

I am trying to add a new resource in nova-api similar to /os-hypervisors. I have followed the following link for that:

https://github.com/accelazh/example-nova-exensions/blob/master/nova/nova/api/openstack/compute/contrib/example_resource.py

But against mentioned in the above link, the api url is not getting hit. It returns HTTP 404 Resource not found error.

Can anybody tell what is the correct procedure for adding a new resource in nova-api ?