简体   繁体   中英

openstack nova api

I wand to add Hot Memory Add/Remove feature in OpenStack for my project. How can i do it in openstack.also can anybody suggest me how can I call libvirt setmem from openstack .

What you means is adding some new api to openstack? There are some steps you should follow, first, add apis in the project of python-xxxclient, second, if you add this api in project nova, you should add the same api in nova-api module. you can read this blog .

grizzly/src/python-novaclient/novaclient/v1_1/shell.py

this file has defined all api, you can add what you need.

nova/api/openstack/compute/contrib

this directory contains most files of nova api.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM