Use name from topology in container name
This commit is contained in:
parent
21afacc96c
commit
9a5b6a996d
1 changed files with 16 additions and 14 deletions
|
@ -215,7 +215,8 @@ class YamlTopology(Topology):
|
||||||
)
|
)
|
||||||
|
|
||||||
cur_link = network.Network(
|
cur_link = network.Network(
|
||||||
self.conn, enable_v4=link_conf.get("enable_v4", True),
|
self.conn,
|
||||||
|
enable_v4=link_conf.get("enable_v4", True),
|
||||||
)
|
)
|
||||||
self.links.append(cur_link)
|
self.links.append(cur_link)
|
||||||
|
|
||||||
|
@ -246,6 +247,7 @@ class YamlTopology(Topology):
|
||||||
self.conn,
|
self.conn,
|
||||||
dom_descr[dom]["links"],
|
dom_descr[dom]["links"],
|
||||||
enable_v4=dom_descr[dom].get("enable_v4", True),
|
enable_v4=dom_descr[dom].get("enable_v4", True),
|
||||||
|
name=dom,
|
||||||
)
|
)
|
||||||
for dom in sorted_dom_names
|
for dom in sorted_dom_names
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue