Copyright 2017. All rights reserved. Advantech Co. Ltd.
Page 56
3.10
DUI
DUI (short for Diagnostic and Upgrade Infrastructure) is an Advantech developed platform-
independent framework, which is deployed on supported platforms to execute diagnostic
services for hardware examination (such as off-line diagnostic and faulty hardware
screening) or run update services for software (e.g. BIOS and BMC) upgrade.
We keep improving and enriching the DUI. Please contact your local Advantech
representative for the latest update of DUI.
3.10.1
Basic Concept
The design concepts of DUI are modular, configurable and extensible. DUI supports various
outbound interfaces, such as CLI (Common Line Interface), SNMP (Simple Network
Management Protocol), HTTP (Hyper Text Transfer Protocol), OpenHPI (Service Availability
Forum Hardware Platform Interface) or even customized API for specific user application on
request.
A single shell script or test program is used to test corresponding hardware component.
Whereas, a Tcl script which groups several DUI commands can test all hardware components
as executing tests either in sequence for simplicity or in parallel to save total testing time.
All the testing procedures, methods and acceptance criteria (PASS or FAIL) can be configured
in the configuration files or the testing scripts to provide the flexibility. It means that DUI can
satisfy different testing requirements and conditions, e.g. in field testing and extra
peripherals available.
3.10.2
Services and Functions
A service is a software module which executes certain tasks on specific hardware
components, and as such it can be either a diagnostic service or an update service. A
diagnostic service is a software program wrapper combined testing routines, third party
utilities as well as the configuration settings. Similarity, an update service wraps Advantech
provided or third party utilities with shell scripts to perform software upgrade.
A function is defined as a sub testing task or module within the service. Take cpu diagnostic
service (CPU) as an example, either the cpu pattern test (cpu_test) or the cpu info test
(cpu_ver) is a function of CPU diagnostic service. Each diagnostic service is identified by a
unique service ID and each diagnostic function is identified by its service ID along with
function ID. See
Section 3.10.3.3
3.10.3
DUI CLI Command Usage
The following sub sections will introduce the usage of DUI CLI commands (please check
Section 3.10.5.1
3.10.3.1
help
The ‘help’ command lists all commands available in the CLI, or the usage of a specific
command:
cli >help
Available commands list: