Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions R1906/os_upgrade_ztp_design.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Greenfield fabric discovery page-

job request -
/execute-job
```json
{
"job_template_fq_name": ["default-global-system-config", "fabric_onboard_template"],
"input": {
Expand Down Expand Up @@ -70,6 +71,7 @@ job request -
"os_version": "18.1R3"
}
}
```

# 7. Notification impact
Three new device states will be added, "IMAGE_UPGRADING", "IMAGE_UPGRADE_SUCCESSFUL", "IMAGE_UPGRADE_FAILED"
Expand All @@ -81,6 +83,7 @@ None
GREENFIELD-
Schema-
Fabric onboard input schema to accomodate OS version input.
```json
{
"input_schema": {
"title": "fabric info",
Expand Down Expand Up @@ -293,6 +296,7 @@ Fabric onboard input schema to accomodate OS version input.
}
}
}
```

Fabric onboarding Workflow-
Current tasks:
Expand All @@ -308,9 +312,9 @@ Device discovery spits out a list of devices that have been created, with all th
Image upgrade task will find the image associated to the device s platform, and if the input OS version and the image OS version match, it will upgrade the device.

Per device states are updated appropriately:
"IMAGE_UPGRADING" - When the task is in progress
"IMAGE_UPGRADE_SUCCESSFUL" - If image upgrade is successful
"IMAGE_UPGRADE_FAILED" - If image upgrade failed
- "IMAGE_UPGRADING" - When the task is in progress
- "IMAGE_UPGRADE_SUCCESSFUL" - If image upgrade is successful
- "IMAGE_UPGRADE_FAILED" - If image upgrade failed

On failure, the same is indicated in the job logs and UVEs. Mark the device state and continue with the workflow.

Expand Down