2011/11/9 Joacim Halén <[email protected]>

> **
> Hi,
>
> I am working on a tool to remotely configure networks and servers using
> the Quantum API (restful)  and the Nova Compute Developer API (restful).  I
> now want to use the Quantum function 'Plug Attachment into
> Port' (documented in
>
> http://docs.openstack.org/incubation/openstack-network/developer/quantum-api-1.0/content/Put_Attachment.html
> ) to plug in a server into a created port. As I understand it I have to
> specify the identity of that server's VIF in the function call. However, I
> have not found any documentation describing how to retrieve the
> identities of a server's VIFs. How are the VIF identifiers meant to be
> retrieved through restful requests (either through Nova, Quantum or through
> some other interface)?
>

Hi Joacim,

To expand on what Salvatore said, nova supports an extension called
'os-virtual-interfaces' that exposes the VIF identifiers for each server.

You can see the following commit to a branch of python-novaclient for an
example of how it is use:
https://github.com/danwent/python-novaclient/commit/691ce77a20de01c689e00c30e181d98febb39d01.
 Essentially, you do a GET on
/servers/<server-id>/os-virtual-interfaces

Dan



> Kind regards,
>
> Joacim
>
>
>
> --
> Mailing list: https://launchpad.net/~netstack
> Post to     : [email protected]
> Unsubscribe : https://launchpad.net/~netstack
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dan Wendlandt
Sr. Product Manager
Nicira Networks: www.nicira.com
cell: 650-906-2650
twitter: danwendlant
~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- 
Mailing list: https://launchpad.net/~netstack
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~netstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to