Hi Devs, I'm not getting any answer for my questions from the openstack general alias for my question about the new enhancement done by Zhi Yan Liu (copied again below). Does anyone here know the answers or know where to check in the code for this enhancement?
"Zhi, Could you please confirm if https://review.openstack.org/#/c/23892/ is used for setting fix MAC addr when invoking API to create new server? If so, could you give an example JSON payload where you set the MAC address? I checked the changes you submitted but did not find any payload with MAC address. Also, could you confirm which release of OpenStack has your patch? I'm currently using http://docs.openstack.org/api/openstack-compute/2/content/POST_createServer_v2__tenant_id__servers_CreateServers.html to create new server with fixed IP and subnet. " Thanks, -Jeffrey From: jeffrngu <[email protected]<mailto:[email protected]>> Date: Tuesday, April 15, 2014 3:52 PM To: Aaron Segura <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: Re: [Openstack] Network API: how to set fixed MAC address I'm adding the alias back to see if anyone knows the answers for the questions I asked Zhi below. Thanks, -Jeffrey From: jeffrngu <[email protected]<mailto:[email protected]>> Date: Monday, April 14, 2014 8:27 PM To: Aaron Segura <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: Re: [Openstack] Network API: how to set fixed MAC address Thanks Aaron. I think this could potentially be used as a work-around if there's no API support for setting MAC addr. I saw a commit that seems like the feature I'm looking for: https://review.openstack.org/#/c/23892/ (I'm copying Zhi who is the committer for this patch). Zhi, Could you please confirm if https://review.openstack.org/#/c/23892/ is used for setting fix MAC addr when invoking API to create new server? If so, could you give an example JSON payload where you set the MAC address? I checked the changes you submitted but did not find any payload with MAC address. Also, could you confirm which release of OpenStack has your patch? I'm currently using http://docs.openstack.org/api/openstack-compute/2/content/POST_createServer_v2__tenant_id__servers_CreateServers.html to create new server with fixed IP and subnet. Thanks, -Jeffrey From: Aaron Segura <[email protected]<mailto:[email protected]>> Date: Monday, April 14, 2014 5:15 PM To: jeffrngu <[email protected]<mailto:[email protected]>> Subject: Re: [Openstack] Network API: how to set fixed MAC address Not sure if this will work for you, but you can create a port beforehand with the required info and specify port-id on boot instead of net-id: # neutron port-create --fixed-ip ip_address=x.x.x.x --mac-address aa:bb:cc:dd:ee:ff my_network # nova boot ... --nic port-id=<portid> those are cmdline examples, but you get the idea... On Mon, Apr 14, 2014 at 7:23 PM, Jeffrey Nguyen (jeffrngu) <[email protected]<mailto:[email protected]>> wrote: 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 _______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected]<mailto:[email protected]> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
_______________________________________________ OpenStack-dev mailing list [email protected] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
