diff options
author | Michael DÜrre <michael.duerre@highstreet-technologies.com> | 2021-02-26 12:21:53 +0100 |
---|---|---|
committer | Michael DÜrre <michael.duerre@highstreet-technologies.com> | 2021-02-26 12:22:05 +0100 |
commit | 5f45f462617e91436bdae2c2289143ab036f3ab4 (patch) | |
tree | a98ebc3ad36da58b160fd0e5bbc1aebf179b28e6 /installation | |
parent | b2133ba3b6ce45a06547106ade3d297299c859e8 (diff) |
fix a1-adapter-northbound startup
add optional a1-adapter-northbound feature with default true
Issue-ID: SDNC-1496
Signed-off-by: Michael DÜrre <michael.duerre@highstreet-technologies.com>
Change-Id: I18841c841c495d5565401aabccab12a9c6ecb78e
Former-commit-id: 460b375833c5216e5ddd3ade13865be05abcf95a
Diffstat (limited to 'installation')
-rwxr-xr-x | installation/sdnc/src/main/scripts/startODL.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/installation/sdnc/src/main/scripts/startODL.sh b/installation/sdnc/src/main/scripts/startODL.sh index 7a224877..f029e87f 100755 --- a/installation/sdnc/src/main/scripts/startODL.sh +++ b/installation/sdnc/src/main/scripts/startODL.sh @@ -116,7 +116,9 @@ install_sdnr_oauth_features() { install_sdnr_northbound_features() { addToFeatureBoot "$SDNR_NORTHBOUND_BOOTFEATURES" } - +install_a1_northbound_features() { + addToFeatureBoot "$A1_ADAPTER_NORTHBOUND_BOOTFEATURES" +} # Reconfigure ODL from default single node configuration to cluster enable_odl_cluster() { @@ -251,6 +253,9 @@ 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} +A1_ADAPTER_NORTHBOUND_BOOTFEATURES=${A1_ADAPTER_NORTHBOUND_BOOTFEATURES:-a1-adapter-northbound} + NOTOK=1 #export for installCerts.py export ODL_ADMIN_PASSWORD ODL_ADMIN_USERNAME @@ -379,6 +384,8 @@ then if $ENABLE_ODL_CLUSTER ; then enable_odl_cluster ; fi if $SDNR_NORTHBOUND ; then install_sdnr_northbound_features ; fi + if $A1_ADAPTER_NORTHBOUND ; then install_a1_northbound_features ; fi + printf "%s" "Installed at $(date)" > "${SDNC_HOME}"/.installed fi |