From 7704d2a216f6d1adf9f782bbe4ff277169f2a490 Mon Sep 17 00:00:00 2001 From: Dusan Rozman Date: Tue, 26 Sep 2017 16:04:12 -0400 Subject: Added AAF containers to ONAP Kubernetes Created the initial deployment yamls for AAF project Issue-ID: OOM-11 Change-Id: I3c60185d78e8ce5596791624086f7cf32b3c3c38 Signed-off-by: Dusan Rozman --- kubernetes/oneclick/aaf.sh | 7 +++++++ kubernetes/oneclick/createAll.bash | 2 +- kubernetes/oneclick/deleteAll.bash | 4 ++-- kubernetes/oneclick/setenv.bash | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 kubernetes/oneclick/aaf.sh (limited to 'kubernetes/oneclick') diff --git a/kubernetes/oneclick/aaf.sh b/kubernetes/oneclick/aaf.sh new file mode 100644 index 0000000000..9a85300722 --- /dev/null +++ b/kubernetes/oneclick/aaf.sh @@ -0,0 +1,7 @@ +#!/bin/bash +KUBECTL_CMD="kubectl --namespace $1-$2 $3 -f ../$2" + +printf "AAF....\n" + +$KUBECTL_CMD/aaf-deployment.yaml +$KUBECTL_CMD/aaf-cs-deployment.yaml diff --git a/kubernetes/oneclick/createAll.bash b/kubernetes/oneclick/createAll.bash index 2963a40c20..8d41ee45a6 100755 --- a/kubernetes/oneclick/createAll.bash +++ b/kubernetes/oneclick/createAll.bash @@ -13,7 +13,7 @@ Usage: $0 [PARAMs] -i [INSTANCE] : ONAP deployment instance # (default: 1) -a [APP] : Specify a specific ONAP component (default: all) from the following choices: - sdc, aai ,mso, message-router, robot, vid, + sdc, aai ,mso, message-router, robot, vid, aaf sdnc, portal, policy, appc, multicloud, clamp, consul, vnfsdk EOF } diff --git a/kubernetes/oneclick/deleteAll.bash b/kubernetes/oneclick/deleteAll.bash index f3b8da7238..c0e696c491 100755 --- a/kubernetes/oneclick/deleteAll.bash +++ b/kubernetes/oneclick/deleteAll.bash @@ -27,8 +27,8 @@ Usage: $0 [PARAMs] -n [NAMESPACE] : Kubernetes namespace (required) -a [APP] : Specify a specific ONAP component (default: all) from the following choices: - sdc, aai ,mso, message-router, robot, - vid, sdnc, portal, policy, appc, multicloud, clamp, consul, vnfsdk + sdc, aai ,mso, message-router, robot, vid, aaf + sdnc, portal, policy, appc, multicloud, clamp, consul, vnfsdk EOF } diff --git a/kubernetes/oneclick/setenv.bash b/kubernetes/oneclick/setenv.bash index 16472e7522..dde9ca102d 100644 --- a/kubernetes/oneclick/setenv.bash +++ b/kubernetes/oneclick/setenv.bash @@ -1,7 +1,7 @@ #!/bin/bash # Deploying MSB first and kube2msb last will ensure all the ONAP services can be registered to MSB -HELM_APPS=('consul' 'msb' 'mso' 'message-router' 'sdnc' 'vid' 'robot' 'portal' 'policy' 'appc' 'aai' 'sdc' 'dcaegen2' 'log' 'cli' 'multicloud' 'clamp' 'vnfsdk' 'kube2msb') +HELM_APPS=('consul' 'msb' 'mso' 'message-router' 'sdnc' 'vid' 'robot' 'portal' 'policy' 'appc' 'aai' 'sdc' 'dcaegen2' 'log' 'cli' 'multicloud' 'clamp' 'vnfsdk' 'kube2msb' 'aaf') ONAP_DOCKER_REGISTRY=${ONAP_DOCKER_REGISTRY:-nexus3.onap.org:10001} ONAP_DOCKER_USER=${ONAP_DOCKER_USER:-docker} ONAP_DOCKER_PASS=${ONAP_DOCKER_PASS:-docker} -- cgit 1.2.3-korg