[Openstack] Network API: how to set fixed MAC address

Jeffrey Nguyen (jeffrngu) jeffrngu at cisco.com
Tue Apr 15 00:44:08 UTC 2014


Ok, I found the extended API which from the description seems to allow attaching a fixed MAC address when creating a server: http://docs.openstack.org/api/openstack-compute/2/content/POST_OS-EXT-IPS-MAC-v2_createServer_v2__tenant_id__servers_ext-os-server-os-ext-ips-mac.html.   However, I'm having a hard time figuring out where on this page the fixed MAC address is used.   Could somebody explain what this API is really used for and an example?

Thanks,
-Jeffrey

From: jeffrngu <jeffrngu at cisco.com<mailto:jeffrngu at cisco.com>>
Date: Monday, April 14, 2014 4:23 PM
To: "openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>" <openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>>
Subject: [Openstack] Network API: how to set fixed MAC address

Hi,

I'm new to this mailing list, please feel free to direct my question to appropriate list if this is not the right one.

I'm currently using http://docs.openstack.org/api/openstack-compute/2/content/POST_createServer_v2__tenant_id__servers_CreateServers.html to launch an instance on OpenStack with an attached network uuid and fixed IP address.   I was wondering if there's any API available to set fixed MAC address in addition to network UUID and fixed IP.   Ideally, I'd like to set all three parameters (network UUID, fixed IP, and MAC addr) in the same API call.

Thanks,
-Jeffrey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140415/30e205ad/attachment.html>


More information about the Openstack mailing list