-
Type: Sub-task
-
Status: Resolved (View Workflow)
-
Priority: Medium
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: rw-core
-
Labels:None
-
Story Points:5
Instead of the Core removing the device right away, it was decided to have the following changes:
- On a device delete, the Core will wait until the adapter responds successfully before deleting the device. Note that during that period the device admin state will be DELETED.
- A force delete option will be introduced to the Voltha protos RPC. This action will force a deletion of the device, irrespective of the adapter response. This handles the case where the adapter is down.
While actions on a device in a DELETED state must be prohibited, there are some scenarios where the adapter will update the device operational/connection status during the deletion process. The device can be updated for these specific scenarios.
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
21091,5 | VOL-3504 Change in Protos to support force delete device | master | voltha-protos | Status: MERGED | +2 | +1 |
21092,1 | VOL-3504 | master | voltha-protos | Status: ABANDONED | 0 | -1 |
21137,1 | VOL-3504 | master | voltha-go | Status: ABANDONED | 0 | -1 |
21138,1 | VOL-3504 Code changes to support force delete | master | voltha-go | Status: ABANDONED | 0 | 0 |
21139,17 | VOL-3504 Code changes to support force delete | master | voltha-go | Status: MERGED | +2 | +1 |
21185,6 | VOL-3504 changes to support force delete | master | voltctl | Status: MERGED | +2 | +1 |