bfmc - Manual page

Name

bfmc - board farm manager client

Synopsis

usage: bfmc [OPTIONS…] COMMAND [DEVICE]

Description

bfmc may be used to obtain information about available devices in a board farm and to claim and release exclusive access of those devices. bfmc is run inside a VM to communicate with the farm controller (VM host).

Commands

The following commands may be used:

devices

    show available devices

use DEVICE

    request exclusive access of DEVICE

release DEVICE

    release exclusive access of DEVICE

info DEVICE

    show installer notes for DEVICE

Use Command Options

The following options may be used:

-n, –notify

    If the requested device is already in use, this option will notify the user that the someone wishes to use the device.

-f, –force

    If the requested device is already in use, this option will steal the device from the existing user.

General Options

-h, –help

    Print a short help/usage message and exit.

–version

    Print a version string and exit.

Examples

To list the devices available to you, use the devices command:

$ bfmc devices
You have access to the following devices:

tgp-rpi3 (in use by you)
tgp-rpi4b
tgp-rpi5

Run 'lsudt -b [device]' for more information

To request a device for exclusive use, use the use command:

$ bfmc use tgp-rpi4b
You are now using device tgp-rpi4b
tgp-rpi4b is available at udev idpath pci-0000:09:00.0 (view device nodes with lsudt -i pci-0000:09:00.0)

And to release the device, use the release command:

$ bfmc release tgp-rpi4b
Device tgp-rpi4b has now been released