diff options
author | dengyh <dengyuanhong@chinamobile.com> | 2020-06-23 16:29:30 +0800 |
---|---|---|
committer | Yuanhong Deng <dengyuanhong@chinamobile.com> | 2020-06-28 04:26:00 +0000 |
commit | 0cfeeaee0128d09c377b7452496754c61b759366 (patch) | |
tree | 312c706cea1ad201ba4b46da1febe60514e03b9b /gvnfmadapter/docker | |
parent | 5379930ae41442d4c5399851ac907f1aa813cfb0 (diff) |
Implementation of HTTPS support for VFC-gvnfm project interface
Change-Id: Ib85dafe3c1fe8d4abd574bd8aa5f7119338cf7ae
Issue-ID: VFC-1676
Signed-off-by: dengyh <dengyuanhong@chinamobile.com>
Diffstat (limited to 'gvnfmadapter/docker')
-rwxr-xr-x | gvnfmadapter/docker/instance_config.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gvnfmadapter/docker/instance_config.sh b/gvnfmadapter/docker/instance_config.sh index 8fa1249..2f45eee 100755 --- a/gvnfmadapter/docker/instance_config.sh +++ b/gvnfmadapter/docker/instance_config.sh @@ -24,4 +24,8 @@ if [ $SERVICE_IP ]; then sed -i "s|\"ip\": \".*\"|\"ip\": \"$SERVICE_IP\"|" vfc/nfvo/driver/vnfm/gvnfm/gvnfmadapter/driver/pub/config/config.py fi +if [ $SSL_ENABLED ]; then + sed -i "s|SSL_ENABLED = .*|SSL_ENABLED = '$SSL_ENABLED'|" vfc/nfvo/driver/vnfm/gvnfm/gvnfmadapter/driver/pub/config/config.py +fi + cat vfc/nfvo/driver/vnfm/gvnfm/gvnfmadapter/driver/pub/config/config.py |