summaryrefslogtreecommitdiffstats
path: root/installation
diff options
context:
space:
mode:
authorRavi Pendurty <ravi.pendurty@highstreet-technologies.com>2021-04-07 13:05:33 +0200
committerRavi Pendurty <ravi.pendurty@highstreet-technologies.com>2021-04-07 13:06:43 +0200
commitb5ece7a449af2a8bbf8e8820558ffe8e9fa1b596 (patch)
treec05202b6ee6d37323733880f761898803c2076c6 /installation
parent104d4632a8ca8e45335200924b3bbaa61d4ca4db (diff)
Enable support for starting callhome feature
New env. variable to control the startup of callhome feature Issue-ID: SDNC-1514 Signed-off-by: Ravi Pendurty <ravi.pendurty@highstreet-technologies.com> Change-Id: Ibe64e721014205e3c91f6db83a92ef82c5832835 Signed-off-by: Ravi Pendurty <ravi.pendurty@highstreet-technologies.com> Former-commit-id: 9aa5fb5980627b8500be988ac10c8e239491f770
Diffstat (limited to 'installation')
-rwxr-xr-xinstallation/sdnc/src/main/scripts/startODL.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/installation/sdnc/src/main/scripts/startODL.sh b/installation/sdnc/src/main/scripts/startODL.sh
index 498de8c8..918b8016 100755
--- a/installation/sdnc/src/main/scripts/startODL.sh
+++ b/installation/sdnc/src/main/scripts/startODL.sh
@@ -111,6 +111,9 @@ install_sdnrwt_features() {
if ! $SDNRDM; then
addToFeatureBoot "$SDNRODLUX_BOOTFEATURES"
fi
+ if $SDNR_NETCONF_CALLHOME_ENABLED; then
+ addToFeatureBoot "$SDNR_NETCONF_CALLHOME_FEATURE"
+ fi
fi
}
install_sdnr_oauth_features() {
@@ -245,6 +248,7 @@ SDNRWT=${SDNRWT:-false}
SDNRODLUX_BOOTFEATURES=${SDNRODLUX_BOOTFEATURES:-sdnr-wt-helpserver-feature,sdnr-wt-odlux-core-feature,sdnr-wt-odlux-apps-feature}
SDNROAUTH_BOOTFEATURES=${SDNROAUTH_BOOTFEATURES:-sdnr-wt-feature-aggregator-oauth}
SDNRDM=${SDNRDM:-false}
+SDNR_NETCONF_CALLHOME_ENABLED=${SDNR_NETCONF_CALLHOME_ENABLED:-false}
# Add devicemanager features
SDNRDM_SDM_LIST=${SDNRDM_SDM_LIST:-sdnr-wt-feature-aggregator-devicemanager}
SDNRDM_BOOTFEATURES=${SDNRDM_BOOTFEATURES:-sdnr-wt-feature-aggregator-devicemanager-base,${SDNRDM_SDM_LIST}}
@@ -256,6 +260,7 @@ SDNRDBCOMMAND=${SDNRDBCOMMAND:--c init -db $SDNRDBURL -dbu $SDNRDBUSERNAME -dbp
SDNR_NORTHBOUND=${SDNR_NORTHBOUND:-false}
SDNR_NORTHBOUND_BOOTFEATURES=${SDNR_NORTHBOUND_BOOTFEATURES:-sdnr-northbound-all}
+SDNR_NETCONF_CALLHOME_FEATURE=${SDNR_NETCONF_CALLHOME_FEATURE:-odl-netconf-callhome-ssh}
# if only SDNR features then do not start A1 adapter
if $SDNRONLY ; then
A1_ADAPTER_NORTHBOUND=false
@@ -309,6 +314,7 @@ printf "%s\n" " SDNR_NORTHBOUND=$SDNR_NORTHBOUND"
printf "%s\n" " AAF_ENABLED=$SDNC_AAF_ENABLED"
printf "%s\n" " SERVICE_NAME=$SERVICE_NAME"
printf "%s\n" " NAMESPACE=$NAMESPACE"
+printf "%s\n" " SDNR_NETCONF_CALLHOME_ENABLED=$SDNR_NETCONF_CALLHOME_ENABLED"
if "$SDNC_AAF_ENABLED"; then
export SDNC_AAF_STORE_DIR=/opt/app/osaaf/local