mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 22:57:45 +00:00
topotests: update file format and resolving id
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
This commit is contained in:
parent
e03862c34a
commit
c84159a90a
@ -773,7 +773,7 @@ class TopoRouter(TopoGear):
|
||||
|
||||
# Ensure pid file
|
||||
with open(os.path.join(self.logdir, self.name + ".pid"), "w") as f:
|
||||
f.write(str(tgen.net.hosts[self.name].pid))
|
||||
f.write(str(self.net.pid) + "\n")
|
||||
|
||||
def __str__(self):
|
||||
gear = super(TopoRouter, self).__str__()
|
||||
|
Loading…
Reference in New Issue
Block a user