fixed featuresBoot for SDNRONLY 00/119900/2
authorMichael DÜrre <michael.duerre@highstreet-technologies.com>
Fri, 26 Mar 2021 08:21:16 +0000 (09:21 +0100)
committerMichael D�rre <michael.duerre@highstreet-technologies.com>
Fri, 26 Mar 2021 09:00:33 +0000 (09:00 +0000)
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

installation/sdnc/src/main/scripts/startODL.sh

index f029e87..103197b 100755 (executable)
@@ -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