Distinguish between DCN and OAM network 78/11478/1
authordemx8as6 <martin.skorupski@highstreet-technologies.com>
Sat, 1 Jul 2023 13:50:57 +0000 (13:50 +0000)
committerdemx8as6 <martin.skorupski@highstreet-technologies.com>
Sat, 1 Jul 2023 13:51:02 +0000 (13:51 +0000)
- usage of the new DCN environment variable

Issue-ID: OAM-344
Change-Id: Id08b7949a79dfae4f5f6af4be127519807ff9b70
Signed-off-by: demx8as6 <martin.skorupski@highstreet-technologies.com>
solution/network/config.py

index c89cb1e..704954d 100644 (file)
@@ -36,7 +36,7 @@ dockerFilter = subprocess.check_output("docker ps --format '{{.Names}}'", shell=
 containers = dockerFilter.splitlines()
 
 mapping = dict({"ntsim-ng-o-ru": "O-RU", "ntsim-ng-o-du": "O-DU"})
-base = get_environment_variable('SDN_CONTROLLER_PROTOCOL') + '://' + get_environment_variable('SDNC_DCN_HOST')
+base = get_environment_variable('SDN_CONTROLLER_PROTOCOL') + '://' + get_environment_variable('SDNC_OAM_HOST')
 username = get_environment_variable('ADMIN_USERNAME')
 password = get_environment_variable('ADMIN_PASSWORD')