From 104d4632a8ca8e45335200924b3bbaa61d4ca4db Mon Sep 17 00:00:00 2001 From: Michael DÜrre Date: Fri, 26 Mar 2021 09:21:16 +0100 Subject: fixed featuresBoot for SDNRONLY MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit disable a1 adapter on SDNRONLY Issue-ID: SDNC-1511 Signed-off-by: Michael DÜrre Change-Id: I8a24f0498ddf685edfc3d7ab0a3094818c5a2fba Signed-off-by: Michael DÜrre Former-commit-id: 61d9c0e5ea255b393d740b59cfc2609946b4b66d --- installation/sdnc/src/main/scripts/startODL.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/installation/sdnc/src/main/scripts/startODL.sh b/installation/sdnc/src/main/scripts/startODL.sh index 8dd00279..498de8c8 100755 --- a/installation/sdnc/src/main/scripts/startODL.sh +++ b/installation/sdnc/src/main/scripts/startODL.sh @@ -256,7 +256,12 @@ 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} +# if only SDNR features then do not start A1 adapter +if $SDNRONLY ; then + A1_ADAPTER_NORTHBOUND=false +else + A1_ADAPTER_NORTHBOUND=${A1_ADAPTER_NORTHBOUND:-true} +fi A1_ADAPTER_NORTHBOUND_BOOTFEATURES=${A1_ADAPTER_NORTHBOUND_BOOTFEATURES:-a1-adapter-northbound} NOTOK=1 -- cgit 1.2.3-korg