Re: Updated IPP Firmware Update Extensions figure slides posted (plain text version)
Michael Sweet via ipp <[email protected]>
| Newsgroups | gmane.ietf.ipp |
|---|---|
| Message-ID | <[email protected]> |
Smith, OK, making use of the "PlantUML web server" (http://www.plantuml.com/plantuml/uml) which allows you to fiddle with these diagrams in real time, I have some updates: 1. Client Managed Firmware Update (I normalized the communication with the repository, added the client requests from IPP System Service, added a Printer self-update step, added double-ended arrows for the query/notify step, and grouped things like you did for the other scenarios) @startuml title Firmware Update Scenario 1: Client Managed Firmware Update autonumber skinparam sequenceMessageAlign direction participant Client participant Printer participant Repository group Client checks for firmware update Client -> Repository: Firmware update available? Repository -> Client: Update availability Client -> Repository: Download firmware update Repository -> Client: Firmware update file end group group Client sends firmware update to printer Client -> Printer: Create-Resource Client -> Printer: Send-Resource w/firmware update file Client -> Printer: Install-Resource Printer -> Printer: Install firmware update end group ||| group Client monitors Printer firmware status Client <-> Printer: Query/notify firmware update status end group @enduml 2. Autonomous Printer Firmware Update (I separated the "self-update" into download from repo and install to self, and added a client query/notify grouping) @startuml title Firmware Update Scenario 2: Autonomous Printer Firmware Update autonumber skinparam sequenceMessageAlign direction participant Client participant Printer participant Repository group Printer autonomously installs firmware updates Printer -> Repository: Firmware update available? Repository -> Printer: Update availability Printer -> Repository: Download firmware update Repository -> Printer: Firmware update file Printer -> Printer: Install firmware update end group ||| group Client monitors Printer firmware status Client <-> Printer: Query/notify firmware update status end group @enduml 3. Client Triggered Firmware Update (Tried to normalize things with the prior diagrams, dropped reboot because that isn't always necessary) @startuml title Firmware Update Scenario 3: Triggered Firmware Update autonumber skinparam sequenceMessageAlign direction participant Client participant Printer participant Repository group Client asks Printer to check for firmware update Client -> Printer: Check for Firmware Update Printer -> Repository: Update available? Repository -> Printer: Update availability Printer -> Client: Update availablility end group ||| group Client ask Printer to install firmware update Client -> Printer: Update Firmware Printer -> Repository: Firmware update available? Repository -> Printer: Update availability Printer -> Repository: Download firmware update Repository -> Printer: Firmware update file Printer -> Client: Firmware update status Printer -> Printer: Install firmware update end group ||| group Client monitors Printer firmware status Client <-> Printer: Query/notify firmware update status end group @enduml > On Sep 13, 2024, at 9:53 AM, Kennedy, Smith (Wireless & IPP Standards) via ipp <[email protected]> wrote: > > Greetings, > > (Sending again in plain text) > > We agreed that I should post the slides we were using to model the scenarios and think about them and decide. Here's the slides: > > https://ftp.pwg.org/pub/pwg/ipp/slides/IPP-Firmware-Update-Extensions-Registration-Options-20240912.pptx > > > Here's PlantUML for Scenario #1: > > @startuml > > title Firmware Update Scenario 1: Client Managed Firmware Update > autonumber > skinparam sequenceMessageAlign direction > > participant Client > participant Printer > participant Repository > > Client -> Repository: Firmware update available? > Client <- Repository: Download firmware update > ||| > Client -> Printer: Send firmware update to Printer > Client -> Printer: Monitor firmware update progress > > @enduml > > > Here's PlantUML for Scenario #2: > > @startuml > > title Firmware Update Scenario 2: Autonomous Printer Firmware Self-Update > autonumber > skinparam sequenceMessageAlign direction > > participant Client > participant Printer > participant Repository > > Printer -> Repository: Firmware update available? > Printer <- Repository: Firmware Self-update > > @enduml > > > Here's a longer PlantUML for Scenario #3, incorporating both Check-For-Firmware-Update and Update-Printer-Firmware but no scheduling: > > @startuml > > title Firmware Update Scenario 3: Triggered Self-Update > autonumber > skinparam sequenceMessageAlign direction > > participant Client > participant Printer > participant Repository > > group Client triggers Printer to check for firmware update > Client -> Printer: Check for Firmware Update > Printer -> Repository: Firmware update available? > Printer <- Repository: Firmware update is available > Client <- Printer: Firmware update is available > end group > > > group Client triggers Printer to self-update > Client -> Printer: Update Firmware > Printer -> Repository: Firmware Self-update > Repository -> Printer: Firmware update > Client --> Printer: Monitor firmware update progress > Printer -> Printer: Update firmware > Client --> Printer: Monitor firmware update progress > Printer -> Printer: Reboot > Client --> Printer: Monitor firmware update progress > Printer -> Printer: Update complete > end group > @enduml > > Feel free to post updates to the slides or tweaks to the PlantUML UML sequences. > > Smith > > /** > Smith Kennedy > HP Inc. > */ > > _______________________________________________ > ipp mailing list > [email protected] > https://www.pwg.org/mailman/listinfo/ipp > ________________________ Michael Sweet _______________________________________________ ipp mailing list [email protected] https://www.pwg.org/mailman/listinfo/ipp
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEkIbDzcZsP1Y8+PQFvmfHXsgfMkQFAmboVQcACgkQvmfHXsgf MkQIqBAAhW9UREQvVbu4MvBEHpwT9T6NBY/2xkUL//ZVyL+1/MozMJyqAFkY1eBo ka5pJiv7SVVN7oqN22YgYrhnnYhCTLsGN/y/8zYXQSPrdEW4MKunQ1aZ9GphQBUv gB6FDt4GSFxKt9UMN2WQ7aimDWkRtWzf/5hGmRpPK1mRNejYu4i7cVfs0LwU/av1 AjcpUD7+ETdYQJP/02f+MwdhS0VEYoA9RQ1gP8QDHld8/O2BB9I+g8R4421VBO+s jijpN0BI4Qn8a6h6YhCiw/aICFwlosPrVika6uQYOnj3wQaN0qLzALgtjafPMZRb LbSjsEej6JWvXZbg8DiqGDPhxO3iGAuE4HIQSCgjpI/tzM8iF1a41OfP/tWWZSN8 qP41oqGorbNVTXdT8MMt9xmQ4TeqCpeHg8tcslkVyGSpCZbi9w9aO8VpQkzBgRvh CYkjqCPmg1lpF1dQ6KX/DZzYlqxU14QJi4tysY26jUAVU8nFnc1HmESCBfm9GQE0 fJDRSZvnmf0TI2FV9amQHWIyIlgXGHzKgMnyxxJxg5VnPSYfolYZaVHbp5XMoTeP eREycsA9S5oTxTym7Ix9wvOQN+sOM6Cq8VY1ds4Zqk5+uggdRSMJ6VuRo791+OYa db+Wra1j+CIoJhP0KB6bGCqU/Drryzm7APW1DQdvslGn2CAbyUs= =DFcJ -----END PGP SIGNATURE-----