summaryrefslogtreecommitdiffstats
path: root/utils/lab-reconfiguration
diff options
context:
space:
mode:
Diffstat (limited to 'utils/lab-reconfiguration')
-rwxr-xr-xutils/lab-reconfiguration/reconfigUcsNet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/lab-reconfiguration/reconfigUcsNet.py b/utils/lab-reconfiguration/reconfigUcsNet.py
index 45a72a398..4c08f3dc9 100755
--- a/utils/lab-reconfiguration/reconfigUcsNet.py
+++ b/utils/lab-reconfiguration/reconfigUcsNet.py
@@ -157,7 +157,7 @@ def read_yaml_file(yamlFile):
"""
# TODO: add check if vnic templates specified in file exist on UCS
with open(yamlFile, 'r') as stream:
- return yaml.load(stream)
+ return yaml.safe_load(stream)
def set_network(handle=None, yamlFile=None):