summaryrefslogtreecommitdiffstats
path: root/deploy
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2017-11-13 07:04:04 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-11-13 07:04:04 +0000
commit80d496b43d43068f12a45bfc0147ccdce9dac794 (patch)
treec52a881e5a6982435166dd9728842111e01e188c /deploy
parent805cbb914fa5927b4b04ea124870c66ecbcba6cc (diff)
parent886145f77ff316bd929758d8795d1d0ee9cd011f (diff)
Merge "Auto start bridge on jumphost"
Diffstat (limited to 'deploy')
-rwxr-xr-xdeploy/network.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/deploy/network.sh b/deploy/network.sh
index 218dc1d6..698771b3 100755
--- a/deploy/network.sh
+++ b/deploy/network.sh
@@ -29,6 +29,7 @@ function setup_bridge_net()
sudo virsh net-define $WORK_DIR/network/$net_name.xml
sudo virsh net-start $net_name
+ sudo virsh net-autostart $net_name
}
function recover_bridge_net()
@@ -83,6 +84,7 @@ function setup_bridge_external()
sudo virsh net-define $WORK_DIR/network/external.xml
sudo virsh net-start external
+ sudo virsh net-autostart external
python $COMPASS_DIR/deploy/setup_vnic.py
}
@@ -115,6 +117,7 @@ function setup_nat_net() {
sudo virsh net-define $WORK_DIR/network/$net_name.xml
sudo virsh net-start $net_name
+ sudo virsh net-autostart $net_name
}
function recover_nat_net() {