3 ODL_HOME=${ODL_HOME:-/opt/opendaylight/current}
4 APPC_HOME=${APPC_HOME:-/opt/openecomp/appc}
5 APPC_FEATURE_DIR=${APPC_FEATURE_DIR:-${APPC_HOME}/features}
12 appc-netconf-adapter \
20 echo "Enabling core APP-C features"
21 ${ODL_HOME}/bin/client -u karaf feature:install odl-netconf-connector-all
22 ${ODL_HOME}/bin/client -u karaf feature:install odl-restconf-noauth
23 ${ODL_HOME}/bin/client -u karaf feature:install odl-netconf-topology
25 # When the karaf netconf feature gets installed, need to replace default password with OpenECOMP APP-C ODL Password
26 sed -i 's/admin<\/password>/Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U<\/password>/' ${ODL_HOME}/etc/opendaylight/karaf/99-netconf-connector.xml
28 echo "Installing APP-C Features"
31 for feature in ${APPC_FEATURES}
33 if [ -f ${APPC_FEATURE_DIR}/${feature}/install-feature.sh ]
35 ${APPC_FEATURE_DIR}/${feature}/install-feature.sh
37 echo "No installer found for feature ${feature}"