net-config-multinode: make controlplane int idempotent
authorEmilien Macchi <emilien@redhat.com>
Fri, 3 Feb 2017 14:17:59 +0000 (09:17 -0500)
committerEmilien Macchi <emilien@redhat.com>
Fri, 3 Feb 2017 14:17:59 +0000 (09:17 -0500)
commitf48c66509984a29169a1437593b4e288f1eb506c
tree72d4ebdc4628c9e20dbf72ca55e609854a828eee
parentec24ed7dd82fd4c1553085719e369b545c4beedd
net-config-multinode: make controlplane int idempotent

When doing a stack-update, it will try to create the control plane
interface again.
Add this conditional so the interface is not created if already exist.

Note: this code has been taken from tripleo-ci and is consistent with
how multinode jobs are currently tested.

Co-Authored-By: James Slagle <jslagle@redhat.com>
Co-Authored-By: Steven Hardy <shardy@redhat.com>
Co-Authored-By: Mathieu Bultel <mbultel@redhat.com>
Change-Id: I773fdf5359cead6961b595e3c8192b02406452b7
Related-Bug: #1661412
ci/common/net-config-multinode.yaml