Make ovn-central network interface configurable 23/87523/11
authorSamuli Silvius <s.silvius@partner.samsung.com>
Mon, 13 May 2019 07:05:46 +0000 (10:05 +0300)
committerSamuli Silvius <s.silvius@partner.samsung.com>
Mon, 10 Jun 2019 06:17:32 +0000 (09:17 +0300)
commit8f5b4cdbe151b509fc1309e1bc4fc19b4bc5950c
tree4efca8e84025ef68222256d63c9fc3062014cfb4
parentf30199f018ae167df804c23079eb4bcec6c10f34
Make ovn-central network interface configurable

installer.sh script is configuring ovn-central address <ip>:<port>
to environment variable.
Ip address is detected from the ovn-central host through ansible
by grepping ifconfig output, but in this step detected network
interface is hard-coded in the code to be "eth1".

This commit makes network interface configurable in aio/vagrant
deployment.

Issue-ID: MULTICLOUD-621

Change-Id: Icbe22ffdcb45c5f16067ea609eec76fb70c0ea78
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
kud/hosting_providers/baremetal/aio.sh
kud/hosting_providers/vagrant/Vagrantfile
kud/hosting_providers/vagrant/installer.sh
kud/tests/_functions.sh