4 # ============LICENSE_START=======================================================
6 # ================================================================================
7 # Copyright (C) 2017 AT&T Intellectual Property. All rights
9 # ================================================================================
10 # Licensed under the Apache License, Version 2.0 (the "License");
11 # you may not use this file except in compliance with the License.
12 # You may obtain a copy of the License at
14 # http://www.apache.org/licenses/LICENSE-2.0
16 # Unless required by applicable law or agreed to in writing, software
17 # distributed under the License is distributed on an "AS IS" BASIS,
18 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 # See the License for the specific language governing permissions and
20 # limitations under the License.
21 # ============LICENSE_END=========================================================
24 ODL_HOME=${ODL_HOME:-/opt/opendaylight/current}
25 ODL_ADMIN_PASSWORD=${ODL_ADMIN_PASSWORD:-Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U}
26 SDNC_HOME=${SDNC_HOME:-/opt/onap/sdnc}
27 CCSDK_HOME=${CCSDK_HOME:-/opt/onap/ccsdk}
28 SDNC_FEATURE_DIR=${SDNC_FEATURE_DIR:-${SDNC_HOME}/features}
32 SDNC_NORTHBOUND_FEATURES=" \
33 generic-resource-api \
38 SDNC_NORTHBOUND_VERSION=${SDNC_NORTHBOUND_VERSION:-1.3.1-SNAPSHOT}
40 # Install CCSDK features
41 ${CCSDK_HOME}/bin/installCcsdkFeatures.sh
44 echo "Installing SDN-C northbound"
45 for feature in ${SDNC_NORTHBOUND_FEATURES}
47 if [ -f ${SDNC_FEATURE_DIR}/sdnc-${feature}/install-feature.sh ]
49 ${SDNC_FEATURE_DIR}/sdnc-${feature}/install-feature.sh
51 echo "No installer found for feature sdnc-${feature}"