Fix network device hotplug
Fix network device hotplug

This makes network device hotplug respect hwaddr, generate new MACs when
needed and store to volatile storage when needed.

It also changes the host prefix to veth so Network Manager doesn't freak out.

Note that the raw SQL is unfortunately necessary due to all of this
running in the middle of a ConfigReplace transaction...

Closes lxc/nova-compute-lxd#46

Signed-off-by: Stéphane Graber <089afc6d81f66f1168a9849e15660feae286e024@ubuntu.com>

mjeanson/lxd,hallyn/lxd,erikmack/lxd,jsavikko/lxd,pcdummy/lxd,stgraber/lxd,ollie314/lxd,Malizor/lxd,atxwebs/lxd,lxc/lxd,pcdummy/lxd,akshaykarle/lxd,hallyn/lxd,Malizor/lxd,achanda/lxd,Malizor/lxd,achanda/lxd,jsavikko/lxd,chrisglass/lxd,mjeanson/lxd,lxc/lxd,yura-pakhuchiy/lxd,yura-pakhuchiy/lxd,achanda/lxd,erikmack/lxd,lxc/lxd,stgraber/lxd,dustinkirkland/lxd,atxwebs/lxd,akshaykarle/lxd,stgraber/lxd,stgraber/lxd,Skarlso/lxd,atxwebs/lxd,akshaykarle/lxd,ollie314/lxd,georghopp/lxd,techtonik/lxd,hallyn/lxd,hallyn/lxd,lxc/lxd,stgraber/lxd,lxc/lxd,atxwebs/lxd,lxc/lxd,pcdummy/lxd,lxc/lxd,jsavikko/lxd,chrisglass/lxd,ericsnowcurrently/lxd,mjeanson/lxd,stgraber/lxd,hallyn/lxd,Skarlso/lxd,georghopp/lxd,georghopp/lxd,Skarlso/lxd,techtonik/lxd,hallyn/lxd,stgraber/lxd,ericsnowcurrently/lxd,ollie314/lxd,erikmack/lxd,techtonik/lxd,ericsnowcurrently/lxd,Skarlso/lxd,dustinkirkland/lxd,dustinkirkland/lxd,yura-pakhuchiy/lxd,chrisglass/lxd