7 -n [NAMESPACE] : Kubernetes namespace (required)
8 -s false : Exclude services (default: true)
9 -a [APP] : Specify a specific ONAP component (default: all)
10 from the following choices:
11 sdc, aai ,mso, message-router, robot,
12 vid, sdnc, portal, policy, appc
17 kubectl create namespace $1-$2
21 kubectl --namespace $1-$2 create -f ../$2/all-services.yaml
29 while getopts ":n:u:s:a:" PARAM; do
43 if [[ -z $APP ]]; then
60 if [[ ! -z "$APP" ]]; then
63 ONAP_APPS=('sdc' 'aai' 'mso' 'message-router' 'robot' 'vid' 'sdnc' 'portal' 'policy' 'appc')
66 printf "\n********** Creating up ONAP: ${ONAP_APPS[*]}\n"
68 for i in ${ONAP_APPS[@]}; do
69 printf "\nCreating namespaces **********\n"
70 create_namespace $NS $i
72 if [[ "$INCL_SVC" == true ]]; then
73 printf "\nCreating services **********\n"
80 printf "\n\n********** Creating deployments for ${ONAP_APPS[*]} ********** \n"
81 for i in ${ONAP_APPS[@]}; do
82 /bin/bash $i.sh $NS $i 'create'
85 printf "**** Done ****"