From 896c80752ee8d5e4e9439146bba12606246aaf53 Mon Sep 17 00:00:00 2001 From: Victor Morales Date: Tue, 12 Sep 2017 12:19:57 -0700 Subject: 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 Issue-Id: INT-196 --- bootstrap/vagrant-onap/lib/_onap_functions | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'bootstrap/vagrant-onap/lib/_onap_functions') diff --git a/bootstrap/vagrant-onap/lib/_onap_functions b/bootstrap/vagrant-onap/lib/_onap_functions index 9e06010ed..18a465948 100755 --- a/bootstrap/vagrant-onap/lib/_onap_functions +++ b/bootstrap/vagrant-onap/lib/_onap_functions @@ -28,6 +28,15 @@ function pull_openecomp_image { docker logout } +# pull_onap_image() - Pull Docker container image from a Docker Registry Hub +function pull_onap_image { + local image=$1 + local tag=$2 + docker_openecomp_login + pull_docker_image $nexus_docker_repo/onap/${image}:$docker_version $tag + docker logout +} + # configure_bind()- Configure bind utils function configure_bind { _install_bind -- cgit 1.2.3-korg