Fix the IPv6 does not work 05/12805/2
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, 17 May 2024 03:02:30 +0000 (11:02 +0800)
commit9df82d9cc61e7e663b7d5d388393de9083b34f33
treedf56df6d1bd310e6eb65644df1e73b689e2896c8
parent7aa6a48221b71ec20ae1908e60b6eb1909fd5330
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>
(cherry picked from commit 5c21c181b1483de86f96d3fab314bda0b2f2b492)
charts/resources/scripts/init/o2api_start.sh
o2common/config/config.py
tests/o2app-api-entry2.sh