ioBuster framework v25.02.4 documentation


deviceManager

deviceManager

Collection of device management related functions

Methods

Disables PCIe link from the downstream port.

Enables PCIe link from the downstream port.

(static) getHardwareInfo() → {deviceManager.HardwareInfo}

Returns peripherals supported by the current tester

Returns:
Type
deviceManager.HardwareInfo

(static) getPortInfo() → {deviceManager.PortInfo}

Returns current port information

Returns:
Type
deviceManager.PortInfo

(static) getSupportedPeripherals() → {deviceManager.PeripheralsInfo}

Returns peripherals supported by the current tester

Returns:
Type
deviceManager.PeripheralsInfo

(static) loadNvmeDriver(forceUnloadopt)

Load NVMe Driver

Parameters:
Name Type Attributes Default Description
forceUnload Boolean <optional>
false

Unloads NVMe driver if already loaded

(static) loadUioDriver(forceUnloadopt, optionsopt)

Load UIO driver

Parameters:
Name Type Attributes Default Description
forceUnload Boolean <optional>
false

Unloads UIO driver if already loaded

options Object <optional>
Properties
Name Type Attributes Default Description
retry Boolean <optional>
false
retryTimeoutMs Number <optional>
30000

Type Definitions

HardwareInfo

Properties:
Name Type Description
platform String

Hardware platform name

Type:
  • Object

PeripheralsInfo

Properties:
Name Type Description
powerController Object | null
Properties
Name Type Description
manufacturer String
options Object
serialPort Object | null
Type:
  • Object

PortInfo

Properties:
Name Type Description
parentBdf String

PCI BDF of the port

deviceBdf String

PCI BDF of the device attached to the port

node String

Numa node

primaryCore String

CPU ID assgined to the primary thread

secondaryCore String

CPU ID assigned to the secondary thread

driver String

Device driver loaded to this port

vendor String

PCI vendor name of the device attached to the port

product String

PCI device name of the device attached to the port

status String

PCI device status

Type:
  • Object