|
| 1 | +Data Flow |
| 2 | +========= |
| 3 | + |
| 4 | +There are two primary flows of data in the modular vPro workflow: |
| 5 | + |
| 6 | +1. **Top-down Requests**: These are driven by the user and are passed through |
| 7 | + the API or command line interface (CLI) through to the edge node. |
| 8 | +2. **Bottom-up Discovery**: These are driven from the edge node and are passed |
| 9 | + to the orchestrator services and are used to report changes on the edge node |
| 10 | + on a periodic basis. |
| 11 | + |
| 12 | +The following diagram outlines how information flows in the modular vPro workflow |
| 13 | +between the agents and services at different stages: |
| 14 | + |
| 15 | +.. note:: |
| 16 | + |
| 17 | + AMT/vPro has two modes for configuring edge node devices and activating them, |
| 18 | + Client Control Mode (CCM) and Admin Control Mode (ACM). The flow below outlines |
| 19 | + how the modular vPro workflow activates an edge node device when using ACM. |
| 20 | + For activating device in CCM, there is no need to include the creation of the |
| 21 | + Domain Profile. For more details on activating edge node devices with CCM profiles |
| 22 | + please see the `CCM documentation <https://device-management-toolkit.github.io/docs/2.31/GetStarted/Cloud/createProfileCCM/>`_ |
| 23 | + in the Device Management Toolkit (DMT) documentation and for ACM activation, please |
| 24 | + see the `ACM documentation <https://device-management-toolkit.github.io/docs/2.31/GetStarted/Cloud/createProfileACM/>`_. |
| 25 | + |
| 26 | +.. mermaid:: |
| 27 | + |
| 28 | + sequenceDiagram |
| 29 | + %%{wrap}%% |
| 30 | + autonumber |
| 31 | + |
| 32 | + participant us as User |
| 33 | + participant cli as CLI |
| 34 | + box LightCyan Orchestrator |
| 35 | + participant api as API |
| 36 | + participant inv as Inventory |
| 37 | + participant dm as Device Management Manager |
| 38 | + participant rps as Remote Provisioning Server (RPS) |
| 39 | + end |
| 40 | + box LightGreen Edge Node |
| 41 | + participant pma as Platform Manageability Agent (PMA) |
| 42 | + participant rpc as Remote Provisioning Client (RPC) |
| 43 | + end |
| 44 | + |
| 45 | + alt subscribe and listen for edge node creation events |
| 46 | + dm->>dm: Edge Node creation event received |
| 47 | + dm->>rps: Create CIRA configuration |
| 48 | + dm->>rps: Create CCM profile |
| 49 | + dm->>rps: Create ACM profile |
| 50 | + end |
| 51 | + note over pma: User updates edge node BIOS with DNS Suffix and MEBx Password |
| 52 | + us->>cli: Register the edge node |
| 53 | + node over cli: If no mode is specified by the user, CCM will be collected by default |
| 54 | + cli->>api: Register host with node serial number/hardware UUID as well as activation mode |
| 55 | + api->>inv: Create host and persist the host details in the inventory database |
| 56 | + inv->>api: Return response from host creation in inventory database |
| 57 | + api->>cli: Return response from host registration |
| 58 | + cli->>us: Return response from host registration |
| 59 | + node over pma: Periodically calls API to get activation request |
| 60 | + us->>cli: Activate AMT request for edge node |
| 61 | + cli->>api: Activate AMT request for edge node |
| 62 | + api->>inv: Set the Desired State for AMT for edge node to PROVISIONED |
| 63 | + inv->>api: Return response from activate AMT |
| 64 | + api->>cli: Return response from activate AMT |
| 65 | + cli->>us: Return response from activate AMT |
| 66 | + pma->>dm: Get AMT Activation Request |
| 67 | + dm->>inv: Query host to retrieve Activate AMT request from user |
| 68 | + inv->>dm: Return repsonse from activate AMT with desired state |
| 69 | + dm->>pma: Return response with profile name and details for AMT activation |
| 70 | + pma->>rpc: Trigger activation command using rpc binary and received profile |
| 71 | + rpc->>pma: Return activation command result |
| 72 | + pma->>dm: Report AMT activation status |
| 73 | + note over us: After device activation is completed, user can invoke AMT out of band operations |
| 74 | + |
| 75 | +Top-down Requests |
| 76 | +----------------- |
| 77 | + |
| 78 | +1. **Stage 1: Input**: User submits device onboarding/power on/power off requests via |
| 79 | + the CLI to the device management manager API. |
| 80 | + |
| 81 | +2. **Stage 2: Processing and storage**: Data from user requests are sent to the inventory |
| 82 | + service and is processed and stored. An event is generated for the request and |
| 83 | + the modular vPro services are notified about the request. |
| 84 | + |
| 85 | +3. **Stage 3: Service notifcation and consumption**: Services, during reconile stages, will |
| 86 | + detect the event created in the inventory service and act on the request as required. |
| 87 | + |
| 88 | +Bottom-up Discovery |
| 89 | +------------------- |
| 90 | + |
| 91 | +1. **Stage 1: Input**: Edge Node Agents push HW data from node up to manager services, which |
| 92 | + process and sends them to the inventory service. |
| 93 | + |
| 94 | +2. **Stage 2: Processing and storage**: The inventory service processes the information from |
| 95 | + the agents, stores it and generates new events for the modular vPro services. |
| 96 | + |
| 97 | +3. **Stage 3: Reconciliation**: The manager services (Host Manager, Device Management Manager, etc.) |
| 98 | + detect the events from the inventory service and perform reconciliation between the event |
| 99 | + data and the current data. |
0 commit comments