aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/lib/_onap_functions
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/_onap_functions
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/_onap_functions')
-rwxr-xr-xbootstrap/vagrant-onap/lib/_onap_functions9
1 files changed, 9 insertions, 0 deletions
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