summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinstallation/sdnc/src/main/scripts/startODL.sh7
1 files changed, 6 insertions, 1 deletions
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