code-update: add missing actions after reset
Update the flow to add the creation of UpdateInterface and deletion of
interfaces on previous objectPath after the device has been reset.
Change-Id: I249c8910a3921dd137f06493f3138db34e693447
Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
diff --git a/designs/code-update.md b/designs/code-update.md
index 2321fce..5aca23c 100644
--- a/designs/code-update.md
+++ b/designs/code-update.md
@@ -115,7 +115,10 @@
CU ->> CU: Delete Interface<br> xyz.openbmc_project.Software.ActivationBlocksTransition
CU ->> CU: Delete Interface<br> xyz.openbmc_project.Software.ActivationProgress
alt ApplyTime == Immediate
- note over CU: Reset Device and<br> update functional association to System Inventory Item
+ note over CU: Reset Device
+ CU ->> CU: Update functional association to System Inventory Item
+ CU ->> CU: Create Interface<br> xyz.openbmc_project.Software.Update<br> at ObjectPath
+ note over CU: Delete all interfaces on previous ObjectPath
else
note over CU: Create active association to System Inventory Item
end