X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=solution%2Fnetwork%2Fconfig.py;h=c89cb1e59ce41e743b95de07441196b3f5a09be4;hb=470bbf5501fc5afbb2b084c86ccc1e0184292a5b;hp=57aab93634e891b977dcc2117ecd551a9f31fc3f;hpb=990de7205645f827a36429006f7e5529b5fb6866;p=oam.git diff --git a/solution/network/config.py b/solution/network/config.py index 57aab93..c89cb1e 100644 --- a/solution/network/config.py +++ b/solution/network/config.py @@ -36,10 +36,9 @@ 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 = 'https://sdnc-web:8453' -base = get_environment_variable('SDN_CONTROLLER_PROTOCOL') + '://' + get_environment_variable('SDNC_OAM_HOST') -username = 'admin' -password = 'Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U' +base = get_environment_variable('SDN_CONTROLLER_PROTOCOL') + '://' + get_environment_variable('SDNC_DCN_HOST') +username = get_environment_variable('ADMIN_USERNAME') +password = get_environment_variable('ADMIN_PASSWORD') # REST to set event settings def configEventSettings(nfName, nfType):