← Back to team overview

openstack team mailing list archive

Re: Injecting a specific MAC address

 

On 11 April 2013 07:19, Burney, Jeffrey P (N-Engineering Service
Professionals) <jeffrey.p.burney@xxxxxxxx> wrote:
> Hi Stackers,
>
>
>
> We have a little test lab where we are working with puppet and OpenStack.
> Here’s what we are trying to do on Folsom (currently not using Quantum).
>
>
>
> From a puppet master (also running dhcp, dns, kickstart), issue a command to
> OpenStack controller to boot a small pxe boot image.  We would like to
> inject a MAC address into the newly instantiated VM so that when It goes to
> our dhcp server, it will get the correct IP and be built by our kickstart
> server.
>
>
>
> We’ve looked at node_openstack but it does not have inject a MAC.
>
>
>
> I’d imagine this has been done before I just can’t find anything online.
>
>
>
> Any help would be greatly appreciated.

The MAC address used is generated dynamically by nova and then handed
out to either nova-network or Quantum. You may be able to manually
generate the MAC by using Quantum and making a call to Quantum to
create a port with that MAC, then passing the port id to nova boot.

HTH,
Rob

-- 
Robert Collins <rbtcollins@xxxxxx>
Distinguished Technologist
HP Cloud Services


Follow ups

References