diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2017-09-12 19:38:19 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-09-12 19:38:19 +0000 |
commit | 6f594abfe457571b6e96100ff5144549367f9677 (patch) | |
tree | bbe40a6277ee456b7b41eb28d498d1c6e6c56183 /bootstrap/vagrant-onap/lib/vfc | |
parent | 0f33e96f0a4186263a4ef1acb9292878e9636ca7 (diff) | |
parent | 896c80752ee8d5e4e9439146bba12606246aaf53 (diff) |
Merge "Add CCSDK support"
Diffstat (limited to 'bootstrap/vagrant-onap/lib/vfc')
-rwxr-xr-x | bootstrap/vagrant-onap/lib/vfc | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/bootstrap/vagrant-onap/lib/vfc b/bootstrap/vagrant-onap/lib/vfc index 6fa42182e..2b0634bc6 100755 --- a/bootstrap/vagrant-onap/lib/vfc +++ b/bootstrap/vagrant-onap/lib/vfc @@ -61,19 +61,15 @@ function get_vfc_images { build_nfvo_lcm_image # TODO(sshank): Add other VFC component docker image builds when they are ready. else - pull_docker_image nexus3.onap.org:10003/onap/vfc/nslcm latest + pull_onap_image vfc/nslcm fi } -# run_vfc_images() - Run VFC docker images -function run_vfc_images() { - docker run -d --name vfc-nslcm -p 3306:3306 -p 8403:8403 -e MSB_ADDR=127.0.0.1 nexus3.onap.org:10003/onap/vfc/nslcm - # TODO(sshank): Run other VFC component docker images when they are ready. -} - # install_vfc() - Download and install vfc service from source code function install_vfc { - run_vfc_images + nslcm_image=`docker images | grep nslcm | grep latest| awk '{print $1 ":" $2}'` + docker run -d --name vfc-nslcm -p 3306:3306 -p 8403:8403 -e MSB_ADDR=127.0.0.1 $nslcm_image + # TODO(sshank): Run other VFC component docker images when they are ready. } # init_vfc() - Function that initialize VF-C services |