A quick comment (and not to distract from the theme of the thread), the UCS plugin does support plug and unplug operations.
From: netstack-bounces+snaiksat=cisco....@lists.launchpad.net [mailto:netstack-bounces+snaiksat=cisco....@lists.launchpad.net] On Behalf Of Salvatore Orlando Sent: Wednesday, November 09, 2011 4:53 AM To: Joacim Halén; netstack@lists.launchpad.net Subject: Re: [Netstack] Howto retrieve a server's VIF Hi Joacim, Thanks for your interest in Quantum. If you are using nova with the Quantum Network Manager (--network_manager = nova.network.quantum.manager), then the manager will take care of plugging the VIF into the network for you. In this case you will not have to explicitly perform a PUT on the attachment object. If you are running the Flat Manager instead, I think you can manually plug interfaces into Quantum networks using the API. However, I never tested this, and I think this approach might not work with the Cisco UCS plugin. To this aim, you should be able to retrieve the VIF information from nova using the virtual_interface.py API extension module. This module is available in nova.api.openstack.contrib and defines an extension of the 'server' resource. Therefore if the extension is enabled, you should be able to query virtual interfaces using the Openstack API. The default path for extension modules is /var/lib/nova/extensions. Let me know if this information helps you in any way. Salvatore From: netstack-bounces+salvatore.orlando=eu.citrix....@lists.launchpad.net [mailto:netstack-bounces+salvatore.orlando=eu.citrix....@lists.launchpad.net] On Behalf Of Joacim Halén Sent: 09 November 2011 12:21 To: netstack@lists.launchpad.net Subject: [Netstack] Howto retrieve a server's VIF 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 <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)? Kind regards, Joacim
-- Mailing list: https://launchpad.net/~netstack Post to : netstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~netstack More help : https://help.launchpad.net/ListHelp