summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael DÜrre <michael.duerre@highstreet-technologies.com>2021-03-26 09:21:16 +0100
committerMichael D�rre <michael.duerre@highstreet-technologies.com>2021-03-26 09:00:33 +0000
commit77fb3df9ff3091b66aaba03bb8d83ee5b2db55a7 (patch)
tree091d355e704df84473ece0b32978c166830c3872
parent9dd1d3e6d35a5f7a0ca5a89bce3b8c7f0d2e59ff (diff)
fixed featuresBoot for SDNRONLY
disable a1 adapter on SDNRONLY Issue-ID: SDNC-1511 Signed-off-by: Michael DÜrre <michael.duerre@highstreet-technologies.com> Change-Id: I8a24f0498ddf685edfc3d7ab0a3094818c5a2fba Signed-off-by: Michael DÜrre <michael.duerre@highstreet-technologies.com> Former-commit-id: 04bd41d3a3e11c0b3fcf7cd0ab4aea0029efba19
-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 f029e87f..103197b0 100755
--- a/installation/sdnc/src/main/scripts/startODL.sh
+++ b/installation/sdnc/src/main/scripts/startODL.sh
@@ -253,7 +253,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