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:59:07 +0100
commit104d4632a8ca8e45335200924b3bbaa61d4ca4db (patch)
tree855e63504f726cf3ce3d848ac079e1fe6407df61
parent85ffebb88281a616c015f1bdf80f17d9a4ca50bf (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: 61d9c0e5ea255b393d740b59cfc2609946b4b66d
-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