lib.sh: Use host bridge in favor of virsh network 01/43301/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Tue, 26 Sep 2017 18:52:36 +0000 (20:52 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 27 Sep 2017 12:47:02 +0000 (12:47 +0000)
commit51be444a4239ed10f47d4e63b70ac13d109f07cd
treebe57bc526232b34b11813749a140293f4cc1e16a
parenta27ad89c0d97ff1be7f40af51b59df8d26dc7fe4
lib.sh: Use host bridge in favor of virsh network

If a linux bridge already exists on the jump host, with the same
name as the value passed via `-B` or the default, use it instead
of trying to create a virsh network.

Change-Id: If7f0753ec366d429ff101c2b37dd68f895903404
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 96cccf2b507949978c1b37c65961a5182ffbbbfd)
mcp/scripts/lib.sh