Revision history [back]

click to hide/show revision 1
initial version

you can start up ceilometer-api by typing 'ceilometer-api' and checkout the log first.

if you want to using curl, you need get keystone token first ,you can use 'openstack token issue' cmd.

then curl something like below

curl -H "Content-Type:application/json" -X POST http://127.0.0.1:8041/v1/resource/generic -d '{"id":"6cbe2a06-aaaa-42ee-ba1d-9998ba5b60d8","project_id":"6ed09694-aaaa-4af0-866e-33cecb5cffba","user_id":"665d3c51-aaaa-40d7-b4a96-26ee22a244bc"}'