Compare commits
2 commits
7cae5e1f22
...
4c8d6540d4
Author | SHA1 | Date | |
---|---|---|---|
Théophile Bastian | 4c8d6540d4 | ||
Théophile Bastian | c58bf6798a |
|
@ -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
3
topologies/README.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Topologies
|
||||
|
||||
This directory contains various topologies useful to be kept.
|
4
topologies/abc.yaml
Normal file
4
topologies/abc.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
links:
|
||||
- domains: ['a', 'b']
|
||||
- domains: ['b', 'c']
|
7
topologies/abc_leafv4.yaml
Normal file
7
topologies/abc_leafv4.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
links:
|
||||
- domains: ['a', 'b']
|
||||
- domains: ['b', 'c']
|
||||
domains:
|
||||
b:
|
||||
enable_v4: false
|
Loading…
Reference in a new issue