Replies: 2 comments 1 reply
-
Interesting pattern 🤔 👍 Thanks a lot for the explanation, with it and after merging #140 and #141 Now I could really follow #143 Great work! out-of-topic: does anyone know what the up arrow on the bottom left corner of the discussion means...? 😅 |
Beta Was this translation helpful? Give feedback.
1 reply
-
I can already see a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
PR #143 introduces a (new) protocol for the operator-register <-> operator communication.
This discussion is meant to discuss and review the protocol from a functional PoV, in order to have something future proof, easily extensible that will keep backward compatibility.
The communication channel is used for:
The proposed protocol works in two steps: first it performs Authentication, then (if Authentication is successful) it allows the client (the registering host) to request services to the server (the operator).
MsgReady
means the authentication was successful and the client is enabled to require services to the server (operator), otherwise the communication is over.MsgSmbios
: the server listens to the SMBIOS data from the client and generates the MachineInventory name. It sends back aMsgReady
and waits for the next service request.MsgLabels
: the server listens for new labels to be added to the MachineInventory. Replies withMsgReady
and waits for the next service request.MsgGet
: the server commits the MachineInventory changes collected (if any), sends back the elemental configuration to the client and closes the connection. Right now this is the only way to successfully terminate the protocol.The list of protocol messages is defined as:
and could be easily extended by adding more messages on the bottom. The MsgLast willl track the latest known message allowing to easily extend the protocol by keeping backward compatibility.
Beta Was this translation helpful? Give feedback.
All reactions