Code Review
/
oam.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add to_directory method to relevant object classes
[oam.git]
/
code
/
client-scripts-ves-v7
/
globalVesEventEmitter.py
diff --git
a/code/client-scripts-ves-v7/globalVesEventEmitter.py
b/code/client-scripts-ves-v7/globalVesEventEmitter.py
index
26c3879
..
4fc15a9
100644
(file)
--- a/
code/client-scripts-ves-v7/globalVesEventEmitter.py
+++ b/
code/client-scripts-ves-v7/globalVesEventEmitter.py
@@
-81,7
+81,7
@@
def getInitData(domain, stndBody=''):
result['interface']= "urn:ietf:params:xml:ns:yang:ietf-interfaces:interfaces/interface/name='O-RAN-SC-OAM'"
# Read config
result['interface']= "urn:ietf:params:xml:ns:yang:ietf-interfaces:interfaces/interface/name='O-RAN-SC-OAM'"
# Read config
- with open('config.yml', 'r') as stream:
+ with open('config.y
a
ml', 'r') as stream:
try:
result['config']= yaml.safe_load(stream)
except yaml.YAMLError as exc:
try:
result['config']= yaml.safe_load(stream)
except yaml.YAMLError as exc: