IPs are assigned with Multi-Host FlatDHCPManager
Problem: I have some instances that could safely be running with fewer resources. However it would be ideal if I did not lose their dhcp assigned ip addresses.
Solution: snapshot each host, shut them down, and bring up a snapshot in the new smaller flavor.
Caveat: It would be nice If I could keep the machines IP address.
Normally I would do something like this on each host.
echo "send dhcp-requested-address "$(hostname -i)";" > /etc/dhcp/dhclient.conf
Is this the right way to do this, or is there an more openstack way?