Comments (1)
OTA flowchart with new status:
flowchart TD
INIT[[INIT]]
ACKNOWLEDGED:::sBlock
DOWNLOADING:::sBlock
ERROR:::sBlock
DEPLOYING:::sBlock
DEPLOYED:::sBlock
REBOOTING:::sBlock
FAILURE
INIT -->|Receive OTA Request| HANDLE_OTA_REQ{handle request}
HANDLE_OTA_REQ --> |UpdateInProgress| FAILURE[FAILURE]
HANDLE_OTA_REQ --> |Invalid Request| FAILURE[FAILURE]
HANDLE_OTA_REQ --> CANCELLING(Cancelling)
CANCELLING --> HANDLE_OTA_CANCEL_REQ{ ACKN <= state < DING }
HANDLE_OTA_CANCEL_REQ --> |Cancelled|FAILURE
FAILURE --> INIT
HANDLE_OTA_REQ --> ACKNOWLEDGED
ACKNOWLEDGED --> DOWNLOADING
DOWNLOADING:::sBlock --> DownRes{ok}
DownRes{ok} --> |NetworkFAILURE|ERROR
ERROR --> CHECK_NETWORK_ERR{err < max_retry}
CHECK_NETWORK_ERR --> DOWNLOADING
CHECK_NETWORK_ERR --> |NetworkFAILURE|FAILURE
DownRes{ok} --> |IOFAILURE/InternalFAILURE|FAILURE
DownRes{ok} --> CHECK_BUNDLE
CHECK_BUNDLE{verify image} --> |InvalidBaseImage|FAILURE
CHECK_BUNDLE{verify image} --> DEPLOYING
DEPLOYING --> DEPLOYING_RESULT{ok}
DEPLOYING_RESULT --> |Deploying FAILURE|FAILURE
DEPLOYING_RESULT --> DEPLOYED(DEPLOYED)
DEPLOYED --> REBOOTING
REBOOTING --> REB_RESULT{ok}
REB_RESULT --> |SystemRollback/?|FAILURE
REB_RESULT --> Success
Success --> INIT
style FAILURE fill:#f44336,color:#fff
style INIT fill:#9E9E9E,color:#fff
style Success fill:#4CAF50,color:#fff
classDef sBlock fill:#2196F3,color:#fff
classDef cBlock fill:#000000,color:#fff
classDef rBlock fill:#FFEB3G,color:#fff
from edgehog-device-runtime.
Related Issues (20)
- Implement Docker run command
- Implement Docker star command
- Implement Docker stop command
- Implement Docker logs command
- Implement Docker events command
- Implement Docker ps command
- Multiple instances of unwrap
- Telemetry storage usage HOT 1
- Update dependencies for MSRV
- Update Astarte device SDK to 0.7
- Tracking issue: interfaces for docker module
- Implement device-forwarder
- Add forwarder member to the device-runtime workspace
- [Forwarder]: Implement Interface for remote terminal/device forwarder feature HOT 2
- [Forwarder]: Implement HTTP protocol over websocket
- [Docker] Create image request
- [Docker] Create volume request
- [Docker] Create network request HOT 1
- [Docker] Create container request
- Bump Astarte Device SDK to v0.7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from edgehog-device-runtime.