tmetsch / occi-os

This is a clone and continuation of https://github.com/dizz/nova - it provides a python egg which can be easily deployed in OpenStack and will thereby add the 3rd party OCCI interface to OpenStack. For usage examples, see the OpenStack wiki.
Apache License 2.0
10 stars 23 forks source link

Support Inline Creation of a Link Instance #80

Open giovannifs opened 10 years ago

giovannifs commented 10 years ago

I am using OCCI interface for OpenStack and there is the following problem when the project has more than networks:

Bad Request: Multiple possible network found, use network ID to be more specific.

Using nova command line tool, we can create instance specifying network as foolow:

$ nova boot --image <img> --flavor <flavor> --nic net-id=<net1-id> --nic net-id=<net2-id> <vm-name>

According to GFD 185 document we can do it using Link type, does occi interface have an option for it?

tmetsch commented 10 years ago

are you runnig latest icehouse neutron branch? you will need to provide a link to the network you wany to attach to on the post creation request...

giovannifs commented 10 years ago

I'm using master branch. Does icehouse neutron branch provide it?

giovannifs commented 10 years ago

I created a fork from this project on (https://github.com/fogbow/occi-os) and created a new branch to support neutron at havana and inline creation of a link instance.

giovannifs commented 10 years ago

We didn't have any problems using stable/icehouse-neutron branch with devstack havana version (to do this, we changed only setup.py file).

tmetsch commented 10 years ago

that sounds great - maybe time to rename the branch so :-) Soon I will push the last missing pieces.