diff options
author | Dan Timoney <dtimoney@att.com> | 2019-04-16 13:31:08 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-04-16 13:31:08 +0000 |
commit | 6fe2583ba5124191427d4b8aba9ee564c7e0f48c (patch) | |
tree | eb243905da60a0d415fd9f1be445963d7c55cf40 /installation | |
parent | 3d4e7b5d8c4132d10d9c880f685160effb9e993b (diff) | |
parent | 44e1c090f5abd953bba4b2d863fc636b14995820 (diff) |
Merge "Install SDNR OOF PCI feature in SDNC bootup"
Former-commit-id: ed0e88d17989f36501ce0995c336fafcce55e3eb
Diffstat (limited to 'installation')
-rwxr-xr-x | installation/sdnc/src/main/scripts/startODL.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/installation/sdnc/src/main/scripts/startODL.sh b/installation/sdnc/src/main/scripts/startODL.sh index ccddd944..2c0aa7be 100755 --- a/installation/sdnc/src/main/scripts/startODL.sh +++ b/installation/sdnc/src/main/scripts/startODL.sh @@ -51,6 +51,10 @@ function install_sdnrwt_features() { addToFeatureBoot "$SDNRWT_BOOTFEATURES" $SDNRWT_REPOSITORY } +function install_sdnr_northbound_features() { + addToFeatureBoot "$SDNR_NORTHBOUND_BOOTFEATURES" $SDNR_NORTHBOUND_REPOSITORY +} + function enable_odl_cluster(){ if [ -z $SDNC_REPLICAS ]; then echo "SDNC_REPLICAS is not configured in Env field" @@ -114,12 +118,16 @@ MY_ODL_CLUSTER=${MY_ODL_CLUSTER:-127.0.0.1} INSTALLED_DIR=${INSTALLED_FILE:-/opt/opendaylight/current/daexim} SDNRWT=${SDNRWT:-false} SDNRWT_BOOTFEATURES=${SDNRWT_BOOTFEATURES:-sdnr-wt-feature-aggregator} +SDNR_NORTHBOUND=${SDNR_NORTHBOUND:-false} +SDNR_NORTHBOUND_BOOTFEATURES=${SDNR_NORTHBOUND_BOOTFEATURES:-sdnr-northbound-all} echo "Settings:" echo " ENABLE_ODL_CLUSTER=$ENABLE_ODL_CLUSTER" echo " SDNC_REPLICAS=$SDNC_REPLICAS" echo " SDNRWT=$SDNRWT" +echo " SDNR_NORTHBOUND=$SDNR_NORTHBOUND" + # # Wait for database @@ -156,6 +164,8 @@ then if $SDNRWT ; then install_sdnrwt_features ; fi + if $SDNR_NORTHBOUND ; then install_sdnr_northbound_features ; fi + echo "Installed at `date`" > ${INSTALLED_DIR}/.installed fi |