Skip to content

Commit

Permalink
Fix testbed dpu_cfg (#93)
Browse files Browse the repository at this point in the history
Signed-off-by: Taras Keryk <taras.keryk@plvision.eu>
  • Loading branch information
taras-keryk-plv authored Apr 26, 2023
1 parent 6b782ed commit 2241a1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/sai_testbed.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def spawn(self):
self.npu.append(asic)
for dpu_cfg in self.meta.config.get("dpu", []):
if dpu_cfg["client"]["config"].get("mode", None):
dpu_cfg["client"]["config"]["alias"] = npu_cfg["alias"]
dpu_cfg["client"]["config"]["alias"] = dpu_cfg["alias"]
dut = self.spawn_dut(dpu_cfg["client"]["config"])
self.dut.append(dut)
dpu_cfg["dut"] = dut
Expand Down

0 comments on commit 2241a1a

Please sign in to comment.