-
Committer:
Edward Hope-Morley
-
Date:
2014-12-03 23:49:34 UTC
-
mfrom:
(123.3.3 nova-cloud-controller-next)
-
Revision ID:
edward.hope-morley@canonical.com-20141203234934-eb92e9auzbumunuj
Set my_ip to unit address, preferring internal network if available.
[cbjchen,r=hopem]
my_ip can be used by other hosts like a callback. It needs to be set
to a ip address that can reach to the nova-cc node from other hosts.
This patch will try to use the os-internal-network address if
applicable, or otherwise the private-address.