aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/lib/vfc
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2017-09-12 12:19:57 -0700
committerVictor Morales <victor.morales@intel.com>2017-09-12 12:23:25 -0700
commit896c80752ee8d5e4e9439146bba12606246aaf53 (patch)
treee9c689e2acc49ae88e686207fda9d91f72e9fc06 /bootstrap/vagrant-onap/lib/vfc
parent0b08c9e236dfad21f3550e534608e0c640b728ba (diff)
Add CCSDK support
This changes add support to Common Controller SDK project, which it's extracting some code from SDNC. Change-Id: I0e7365fdc854c4c6357c5c3b4bc7608f0076d241 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-196
Diffstat (limited to 'bootstrap/vagrant-onap/lib/vfc')
-rwxr-xr-xbootstrap/vagrant-onap/lib/vfc12
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