Hi,

I am using python-openstackclient and os_client_config

My requirement is, i want to update, my image metadata ....

i made two objects, by which i think i may achieve it:

nova = os_client_config.make_client('compute')
glance = os_client_config.make_client('images')

example: metadata = {'hw_numa_nodes': 2,}


i tried it many things, but not get succeed,  like:

n_im = nova.images.get(<image_id>)

nova.images.set_meta(n_im, metadata), or
n_im.manager.set_meta(n_im, metadata)


 ........ and many other also ..

please suggest what would be the proper way to do it,

Thanks
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to