902e02b5f5
Change-Id: Ie3305d3e91d4a846acb571285350c86c0bd45822 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
68 lines
1.4 KiB
Plaintext
68 lines
1.4 KiB
Plaintext
The following steps show how to deploy OPNFV in a DevOps fashion by using Daisy4NFV. No WEBUI needed.
|
|
|
|
1. Get code from Daisy4NFV
|
|
|
|
cd /opt
|
|
rm -rf daisy4nfv.tar
|
|
|
|
cd /opt/daisy4nfv
|
|
git remote update
|
|
git pull --ff-only
|
|
|
|
2. Build Daisy version of Kolla images
|
|
(Optional)
|
|
|
|
./ci/kolla-build.sh ... ...
|
|
|
|
3. Build opnfv.bin and package it with codes
|
|
(Note: This step will get Daisycloud-core code from OpenStack)
|
|
|
|
rm -rf /opt/daisy4nfv/build_output/*
|
|
rm -rf ./opnfv.bin
|
|
./ci/build_rpm/build_rpms_docker.sh travel
|
|
mv build_output/opnfv-travel.bin ./opnfv.bin
|
|
|
|
cd /opt/
|
|
tar cf daisy4nfv.tar daisy4nfv
|
|
|
|
4. Deployment for the first time
|
|
(Note: labs and template files are need to be replaced accordingly)
|
|
|
|
rm -rf daisy4nfv
|
|
rm -f daisy4nfv.tar
|
|
|
|
scp 10.30.11.6:/opt/daisy4nfv.tar ./
|
|
tar mxf daisy4nfv.tar
|
|
cd daisy4nfv
|
|
cp /home/labs ./ -r
|
|
rm -rf ./templates
|
|
cp /home/templates ./ -r
|
|
|
|
./ci/deploy/deploy.sh -b ./ -l zte -p virtual1 -s os-nosdn-nofeature-noha
|
|
|
|
5. Basic FIP test
|
|
|
|
ssh 10.20.11.2 "source /etc/kolla/admin-openrc.sh && bash /home/daisy/tools/daisy-post-fip.sh"
|
|
sleep 30
|
|
ssh 10.20.11.2 "source /etc/kolla/admin-openrc.sh && openstack floating ip list | grep 172\.10\.101 | cut -d'|' -f3 | xargs ping -c3"
|
|
|
|
6. OpenStack reconfigure and deploy for the second time
|
|
(Optional)
|
|
|
|
TODO
|
|
|
|
7. OpenStack minor version update
|
|
(Optional)
|
|
|
|
TODO
|
|
|
|
8. Get Functest from OPNFV
|
|
(Optional)
|
|
|
|
TODO
|
|
|
|
9. Run Functest test suits
|
|
(Optional)
|
|
|
|
TODO
|