[lib] Create veths using systemd opnfv-fuel units 80/67180/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Tue, 5 Mar 2019 15:49:23 +0000 (16:49 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 6 Mar 2019 00:26:10 +0000 (01:26 +0100)
commita7784e64f315f863c866f45cabc467cf2b69e0d5
tree905647995b0fab1dff50537b6d507f8cc412b438
parentae600003290b3454e32cac9df696f0227951b0fa
[lib] Create veths using systemd opnfv-fuel units

Create 2 systemd services on the jumphost that will handle veth
pairs creation, respectively adding them to virsh/real bridges.
This allows us to set docker containers restart policy to 'always',
enabling persistent Salt Master/MaaS containers across jumphost
reboots.

NOTE: libvirt creates virtual networks async, hence the need for
retrying hooking veths to them.

JIRA: FUEL-406

Change-Id: I1ca033cb5eb854b577b57bb2387a58bd9605a5bb
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
mcp/scripts/docker-compose/docker-compose.yaml.j2
mcp/scripts/lib_jump_deploy.sh