DUT Enablement๏ƒ

This section outlines the recommended process for companies to efficiently prepare their platform for integration on the LAA and into a Linaro Remote Lab infrastructure such as ONELab.

        graph TD;
    Start --> Pre_Operational_Activities;
    Pre_Operational_Activities --> LAA_Integration;
    LAA_Integration --> Platform_Automations;
    Platform_Automations --> Enabled;
    

Each step listed in the workflow above is detailed in the following sections.

Pre-Operational Activities๏ƒ

Linaro Remote Labs utilize the Test Automation Framework (TAF) known as LAVA (Linaro Automated Validation Architecture). Therefore, platforms (DUTs) must be automation-enabled and LAVA-enabled, with corresponding LAVA jobs created to support the DUT before they can be used in a Linaro Remote Lab. By default, a Remote Lab customer is responsible for this enablement.

        graph TD;

    A(Start Enablement) --> B[Foundational Orientation];

   subgraph **Pre-Operational Activities**

    B --> C["Run ACS Tests (optional)"];
    B --> F[Complete Questionnaire];

  subgraph **Validate Automation**
   F --> P[Automation Review]
   P --> I{Automatable? Yes or No}
   end
   I -->|Yes| G[Order LAA]
   G -->H[H/W Automation Prep]


   I -->|No| Q((End))
   end


   H --> E(Begin LAA Integration);
    

Pre-Operational Activity Phase

Foundational Orientation๏ƒ

Each platform (DUT) integrated into a Remote Lab instance such as ONELab must meet specific requirements for automation enablement. Requirements specific to such Remote Lab instances can be found in the associated Users Guide. Reference content common to all Remote Labs can be found in this section.

Linaro LAVA technology used to integrate an embedded test platform into the LAA CI test harness.๏ƒ

ONELab/Linaro Remote Labs Documents๏ƒ

Run ACS Tests (optional)๏ƒ

This optional step is ONELab specific and further details can be found in the ONELab Users Guide here. It is included in the LAA flow as an example of the parallel activity an LAA user may consider when preparing to run workloads on the LAA.

Validate Automation๏ƒ

This section defines the process of verifying whether a platform can be automated and if so the steps to do so. Each Linaro Remote Lab instance has unique requirements from an assessment perspective, thus the details for each are in their associated Userโ€™s Guide. The list below is where these reviews can be found:

The output of this section is a go / no-go based upon the ability of the platform to be automated and work within an embedded Test Automation Framework (i.e. LAVA).

Order LAA๏ƒ

Once your platform is confirmed to be automatable and optionally running any desired pre-integration validation test suites, you are ready to obtain your subscription. This subscription grants you access to your accounts and initiates the process for shipping an LAA to your chosen location. While awaiting delivery, you can proceed with the next section to prepare for installing your DUT and connecting it to your Remote Lab.

Please contact linaro-sales@linaro.org for more information on attaining a your Remote Lab subscription(s).

H/W Automation Prep๏ƒ

TODO

Create a โ€œrollup sheetโ€ that will document all needed options.

LAA Integration Tasks๏ƒ

This section outlines the steps to configure your newly received LAA and prepare it for use.

        graph TD;

    R(Receive LAA) -.-> A
    style R fill:#00AA00,stroke:#000,color:#FFF;

    A(Begin LAA Integration)--> C[LAA Unboxing];


   subgraph **Integration Tasks**
    C;

    subgraph **Set Up LAA Platform**
    C --> D[MIB Installation];
    D --> E[Connect DUT]
    E --> F[Power Up];
    end

    F --> G[Verify Platform Activation];
    G --> H[LAA Integration Complete];
   end

    H --> I(Begin Platform Automations);
    

Remote Lab Integration Phase

Set Up LAA Platform๏ƒ

Upon receipt of your LAA, youโ€™re ready to set up your LAA, connect your DUT, and get it connected to the ONELab service. This process is detailed in the LAA Unboxing section of the LAA Users Guide.

To update

Notes from presentation on unboxing:

  • FlyLead MIB 2:00 mark

Verify Platform Activation๏ƒ

This step verifies that you can log into ONELab, navigate to the Platform section, and confirm that your platform is visible and marked as โ€œonline.โ€ Once fully configured and powered up, the system automatically connects to the Linaro Remote Labs backend. If successful, your newly enabled platform will appear in your ONELab Dashboard, confirming a successful connection.

TODO

Add a picture of DashBoard showing the LAA OR video

The User Interface section of the ONELab Users Guide provides detailed information on how to log in and confirm the LAA is now present.

Platform Automations๏ƒ

With the DUT connected to the LAA/MIB, youโ€™re now able to go through the process of creating the needed automations to enable your platform into the ONELab CI.

        graph TD;

    A[Begin Platform Automations] --> F[Complete Questionnaire];
    A --> C[Create Device Type];

   subgraph **Platform Automations**
    C;
    F[Document Platform Mods];

    subgraph **Enable CI Automations**
    C --> H[Create Device Dictionary];
    H --> I[Create Health Check Job]
    I -->L[Create Payload Jobs]
    L -->D[Create ACS Test Job];
    end

    subgraph **Validate Automation**
        F --> G[Modify DUT if required];
    end

    D --> K[Upload Jobs]

   end

    G --> E(Congratulations!);
    K --> E

    

Platform Automation Phase

Enable CI Automations๏ƒ

Preparing your platform with the needed software/CI automations consists primarily of LAVA enablement on your platform. This consists of several steps outlined in the Enable LAVA Automations section of the LAA Users Guide.

Create Device Dictionary๏ƒ

TODO

Show how to create and upstream or patch LAVA Device Dictionary

Tip

To check the timing, sum the seconds in all sleep commands in the power_off_command list. The total must be less than 10 seconds โ€“ otherwise, LAVA will throw an error during shutdown handling.

Create Device Type๏ƒ

TODO

Show how to create and upstream or patch LAVA Device Types

Create LAVA Jobs๏ƒ

TODO

Show how to create LAVA jobs

Create Health Check๏ƒ

TODO

Show how to build a health check, this may include recovery steps

Create Payload Jobs๏ƒ

TODO

Show how to build Payload Jobs

Ready for Operation๏ƒ

Congratulations! Youโ€™re now ready to use the LAA in a remote labs solution!

Please see the Users Guide for the Linaro Remote Labs solution youโ€™re using for next steps.

Hardware Automation Configuration Template๏ƒ

TODO

Add sample worksheet to capture functionality and LAA mapping for use in creating LAVA jobs.