Fix the IPv6 does not work 56/12756/1
authorZhang Rong(Jon) <rong.zhang@windriver.com>
Fri, 19 Apr 2024 02:49:54 +0000 (10:49 +0800)
committerZhang Rong(Jon) <rong.zhang@windriver.com>
Fri, 19 Apr 2024 02:53:18 +0000 (10:53 +0800)
commit5c21c181b1483de86f96d3fab314bda0b2f2b492
treeee109f6490af20b7c9dc85c82c9b82ebede33999
parent8696cc773c021cebb1a8ebcef84283a7bbe10ad8
Fix the IPv6 does not work

This commit fix the hard code for IPv4, it doesn't support IPv6

Test Plan:
PASS - Start the O2 API with IPv6, it works
PASS - Start the O2 API with IPv4, it works
PASS - Connect with IPv4 O-Cloud environment
PASS - Connect with IPv6 O-Cloud environment

Issue-ID: INF-455

Change-Id: I99d37846377d56d580f9553855349051ceeccf53
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
charts/resources/scripts/init/o2api_start.sh
o2common/config/config.py
tests/o2app-api-entry2.sh