Code Review
/
oam.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Distinguish between DCN and OAM network
[oam.git]
/
solution
/
network
/
config.py
diff --git
a/solution/network/config.py
b/solution/network/config.py
index
57aab93
..
704954d
100644
(file)
--- 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"})
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')
base = get_environment_variable('SDN_CONTROLLER_PROTOCOL') + '://' + get_environment_variable('SDNC_OAM_HOST')
-username =
'admin'
-password =
'Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U'
+username =
get_environment_variable('ADMIN_USERNAME')
+password =
get_environment_variable('ADMIN_PASSWORD')
# REST to set event settings
def configEventSettings(nfName, nfType):
# REST to set event settings
def configEventSettings(nfName, nfType):