-
Type: Bug
-
Status: Resolved (View Workflow)
-
Priority: Medium
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: VOLTHA v2.0
-
Component/s: ponsim
-
Labels:None
-
Story Points:1
-
Sprint:VOLTHA 2.0 Sprint 4
In /voltha/voltha/core/device_agent.py, it is missing a check to see if self.flow_changes is None or not. Without this check, it raises an exception because sometimes self.flow_changes is None, and objects of None type do not have a to_remove attribute. As of right now, it is being fixed by being encapsulated within a try-except block.
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
10119,3 | VOL-1075: encapsulated flow_table_updated in device_agent.py in a try-except block | master | voltha | Status: ABANDONED | 0 | 0 |
10129,3 | VOL-1075: encapsulated flow_table_updated in device_agent.py in a try-except block and added a check to make sure self.flow_changes is not None | master | voltha | Status: MERGED | +2 | +1 |