Adding Channel Id Field DSL Port Channel Operations (#615)

This commit is contained in:
Caio Rocha
2025-08-15 16:10:52 -07:00
committed by GitHub
parent 9261b1d278
commit 4d9bb9f015

View File

@@ -567,7 +567,7 @@ class PutOperation(BaseOperation):
result["dst_buff"] = []
for chunk in self.dst_buff:
result["dst_buff"].append(chunk.to_dict())
if self.channel_ids == ChannelType.port:
if self.channel_type == ChannelType.port:
result["channel_ids"] = self.channel_ids
result["channel_type"] = self.channel_type.value
return result