X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=installation%2Fsdnc%2Fsrc%2Fmain%2Fscripts%2FstartODL.sh;h=f029e87f3c5e0f18979e18977fc4eea81eb1a099;hb=460b375833c5216e5ddd3ade13865be05abcf95a;hp=7a224877fa9dff754b54c3d229dbf2bc74e4abe0;hpb=30c9f4df4b1cff6be61294d8d646bc0de8b3e565;p=sdnc%2Foam.git diff --git a/installation/sdnc/src/main/scripts/startODL.sh b/installation/sdnc/src/main/scripts/startODL.sh index 7a224877..f029e87f 100755 --- a/installation/sdnc/src/main/scripts/startODL.sh +++ b/installation/sdnc/src/main/scripts/startODL.sh @@ -116,7 +116,9 @@ install_sdnr_oauth_features() { install_sdnr_northbound_features() { addToFeatureBoot "$SDNR_NORTHBOUND_BOOTFEATURES" } - +install_a1_northbound_features() { + addToFeatureBoot "$A1_ADAPTER_NORTHBOUND_BOOTFEATURES" +} # Reconfigure ODL from default single node configuration to cluster enable_odl_cluster() { @@ -251,6 +253,9 @@ SDNRDBCOMMAND=${SDNRDBCOMMAND:--c init -db $SDNRDBURL -dbu $SDNRDBUSERNAME -dbp SDNR_NORTHBOUND=${SDNR_NORTHBOUND:-false} SDNR_NORTHBOUND_BOOTFEATURES=${SDNR_NORTHBOUND_BOOTFEATURES:-sdnr-northbound-all} +A1_ADAPTER_NORTHBOUND=${A1_ADAPTER_NORTHBOUND:-true} +A1_ADAPTER_NORTHBOUND_BOOTFEATURES=${A1_ADAPTER_NORTHBOUND_BOOTFEATURES:-a1-adapter-northbound} + NOTOK=1 #export for installCerts.py export ODL_ADMIN_PASSWORD ODL_ADMIN_USERNAME @@ -379,6 +384,8 @@ then if $ENABLE_ODL_CLUSTER ; then enable_odl_cluster ; fi if $SDNR_NORTHBOUND ; then install_sdnr_northbound_features ; fi + if $A1_ADAPTER_NORTHBOUND ; then install_a1_northbound_features ; fi + printf "%s" "Installed at $(date)" > "${SDNC_HOME}"/.installed fi