openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #22586
Re: EXTERNAL: Re: Injecting a specific MAC address
Thanks Rob,
We just started looking at Quantum and it does appear to do what we want.
Also found this https://blueprints.launchpad.net/nova/+spec/configurable-mac-addresses
which also suggests Quantum.
Thanks for the help,
Jeff
-----Original Message-----
From: Robert
> 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
References