-
Type: Story
-
Status: Resolved (View Workflow)
-
Priority: Medium
-
Resolution: Done
-
Affects Version/s: VOLTHA v2.4
-
Fix Version/s: VOLTHA v2.4
-
Component/s: rw-core
-
Labels:
-
Story Points:5
-
Epic Link:
Currently the OLT Delete state transition does:
dMgr.DisableAllChildDevices,
dMgr.DeleteAllUNILogicalPorts,
dMgr.DeleteAllChildDevices,
dMgr.DeleteAllLogicalPorts,
dMgr.DeleteLogicalDevice,
dMgr.RunPostDeviceDelete.
Ideally we coudl simplify this to:
dMgr.DisableAllChildDevices,
dMgr.DeleteAllLogicalPorts,
dMgr.DeleteAllChildDevices
dMgr.DeleteLogicalDevice,
dMgr.RunPostDeviceDelete.
This needs to be tested and code removed accordingly.
Also there are some code duplications that need addressing.