Compare commits

...

2 commits

4 changed files with 15 additions and 1 deletions

View file

@ -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(

3
topologies/README.md Normal file
View file

@ -0,0 +1,3 @@
# Topologies
This directory contains various topologies useful to be kept.

4
topologies/abc.yaml Normal file
View file

@ -0,0 +1,4 @@
---
links:
- domains: ['a', 'b']
- domains: ['b', 'c']

View file

@ -0,0 +1,7 @@
---
links:
- domains: ['a', 'b']
- domains: ['b', 'c']
domains:
b:
enable_v4: false