470 likes | 566 Views
Hyades Command Routing. Message flow and data translation. Test the sufficiency of the proposed command header format Demonstrate a possible message routing solution Prove that the solution is capable of handling complex routing Multiple chained HCEs Negotiated communication between agents.
E N D
Hyades Command Routing Message flow and data translation
Test the sufficiency of the proposed command header format Demonstrate a possible message routing solution Prove that the solution is capable of handling complex routing Multiple chained HCEs Negotiated communication between agents Purpose of this Presentation
Connection between HCEs will not be supported in the next release. It is being considered now only to establish the sufficiency of the proposed protocol. Command ID names referenced in this presentation may not match the actual command ID names. The names herein are for discussion purposes only. Names in parentheses are not intended as part of the data being stored/transmitted. These names are used only to indicate to what the IDs refer. The command headers shown are not complete. Only those fields needed to follow the data flow are shown. While “last engine ID” is shown as if it were a field in the command header, it can actually be inferred from the object sending the message, so it is actually implicit. Caveats
When aclient or agent sends a command to an HCE, it will use the IDs by which the HCE knows the components involved. As far as the client or agent knows or cares, these are the actual IDs of the components. When the HCE sends a command to a client or agent, it will use the IDs by which the sending HCE refers to the components involved. When an HCE forwards a command to another HCE, the destination ID will be the ID by which the target HCE refers to the destination component, but the source ID will be the ID by which the sending HCE refers to the source component. The “last engine ID” will be the ID by which the target HCE knows the sending HCE. When one HCE “reveals” another HCE to some component, the revealing HCE will give the revealed HCE the ID by which it refers to the component. The revealed HCE will add this component to its component table and its translation table for the revealing HCE. Message Routing Rules (Part 1)
When an HCE responds to a forwarded CID_QUERY_HCES command, it will not include the HCE that forwarded the request in the response (because the requester already knows about that HCE). When an HCE forwards the results of a CID_QUERY_HCES command, it will add any HCEs it did not previously know about to its own component table and translate the HCE IDs to the IDs it uses to identify those HCEs. When an HCE forwards the results of any command that requests an agent ID, it will add any agent it did not previously know about to its own component table and translate the agent IDs to the IDs it uses to identify those agents. Message Routing Rules (Part 2)
Example 1 Connections established
Example 2 Client discovers agents
Example 3 The Client requests a GUID from Agent-2
Example 4 Client initiates communication between Agent-1 and Agent-2 using a proprietary interface