CCSDK_CORE_FEATURES=" \
slicore-utils \
dblib \
- filters \
sli \
+ filters \
sliPluginUtils \
sliapi"
CCSDK_PLUGINS_VERSION=${CCSDK_PLUGINS_VERSION:-0.0.1-SNAPSHOT}
echo "Enabling core features"
-${ODL_HOME}/bin/client feature:install odl-mdsal-all
-${ODL_HOME}/bin/client feature:install odl-mdsal-apidocs
-${ODL_HOME}/bin/client feature:install odl-restconf-all
-
+${ODL_HOME}/bin/client feature:install odl-restconf-all odl-mdsal-all odl-mdsal-apidocs
+# Remove etc/host.key if it exists to work around
+# issue with client authentication
+if [ -f ${ODL_HOME}/etc/host.key ]
+then
+ rm ${ODL_HOME}/etc/host.key
+fi
echo "Installing CCSDK sli/core"
then
${CCSDK_FEATURE_DIR}/ccsdk-${feature}/install-feature.sh
else
- echo "No installer found for feature sdnc-${feature}"
+ echo "No installer found for feature ccsdk-${feature}"
fi
done
echo "Installing CCSDK sli/northbound"
for feature in ${CCSDK_NORTHBOUND_FEATURES}
do
- if [ -f ${CCSDK_FEATURE_DIR}/sdnc-${feature}/install-feature.sh ]
+ if [ -f ${CCSDK_FEATURE_DIR}/ccsdk-${feature}/install-feature.sh ]
then
- ${CCSDK_FEATURE_DIR}/sdnc-${feature}/install-feature.sh
+ ${CCSDK_FEATURE_DIR}/ccsdk-${feature}/install-feature.sh
else
- echo "No installer found for feature sdnc-${feature}"
+ echo "No installer found for feature ccsdk-${feature}"
fi
done
echo "Installing CCSDK sli/plugins"
for feature in ${CCSDK_PLUGINS_FEATURES}
do
- if [ -f ${CCSDK_FEATURE_DIR}/sdnc-${feature}/install-feature.sh ]
+ if [ -f ${CCSDK_FEATURE_DIR}/ccsdk-${feature}/install-feature.sh ]
then
- ${CCSDK_FEATURE_DIR}/sdnc-${feature}/install-feature.sh
+ ${CCSDK_FEATURE_DIR}/ccsdk-${feature}/install-feature.sh
else
- echo "No installer found for feature sdnc-${feature}"
+ echo "No installer found for feature ccsdk-${feature}"
fi
done