Skip to content

Commit 74b3548

Browse files
authored
[nic_simulator] Add missing attribute in the slot (#11006)
What is the motivation for this PR? As the subject. How did you do it? Add packet_filter and drop to the attribute list. How did you verify/test it? Run nic_simulator Any platform specific information?
1 parent 9c72449 commit 74b3548

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ansible/dualtor/nic_simulator/nic_simulator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def to_string(self):
183183
class OVSFlow(StrObj):
184184
"""Object to represent an OVS flow."""
185185

186-
__slots__ = ("in_port", "output_ports", "group", "priority", "_str_prefix")
186+
__slots__ = ("in_port", "packet_filter", "output_ports", "group", "priority", "_str_prefix", "drop")
187187

188188
def __init__(self, in_port, packet_filter=None, output_ports=[], group=None, priority=None):
189189
self.in_port = in_port

0 commit comments

Comments
 (0)