[Openstack] How to specify networks for new instances using OCCI interface?

giovanni giovanni at lsd.ufcg.edu.br
Wed Jun 18 02:32:56 UTC 2014


Hi everyone,

I'm working at a federation cloud project that must run on OpenStack 
clouds. Currently, one of the pre-requirements of this project is to use 
OCCI interface. We are developing this project using devstack 
(http://devstack.org/) with OCCI interface 
(https://github.com/tmetsch/occi-os) following instructions available 
here.

We can create new instances using OCCI interface following instructions, 
but, when there are more than one network at the new instance OpenStack 
project, we can't. At this scenario, there was a HTTP Bad Request asking 
to use network ID. Then, we would like to know how to specify the 
networks for new instance using OCCI interface. Something similar to
$nova boot --image <img> --flavor <flavor> --nic net-id=<net1-id> --nic 
net-id=<net2-id> <vm-name>

when using nova command line.

Thanks for help,
Giovanni




More information about the Openstack mailing list