Parse_network: fix for omitted domains
element
This commit is contained in:
parent
7cae5e1f22
commit
c58bf6798a
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class YamlTopology:
|
|||
dom_descr[dom] = {"links": []}
|
||||
dom_descr[dom]["links"].append(cur_link)
|
||||
|
||||
for dom_conf_name in topology.get("domains", None):
|
||||
for dom_conf_name in topology.get("domains", {}):
|
||||
if dom_conf_name not in dom_descr:
|
||||
# Domain does not participate in any link: warn and ignore
|
||||
print(
|
||||
|
|
Loading…
Reference in a new issue