labgrid-exporter interface to control boards
Rouven Czerwinski <firstname.lastname@example.org>
Copyright (C) 2016-2023 Pengutronix. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
- Manual section:
- Manual group:
Labgrid is a scalable infrastructure and test architecture for embedded (linux) systems.
This is the man page for the exporter, supporting the export of serial ports, USB devices and various other controllers.
- -h, --help
display command line help
- -x, --crossbar
the crossbar url of the coordinator
- -i, --isolated
enable isolated mode (always request SSH forwards)
- -n, --name
the public name of the exporter
hostname (or IP) published for accessing resources
- -d, --debug
enable debug mode
-i / –isolated
This option enables isolated mode, which causes all exported resources being marked as requiring SSH connection forwarding. Isolated mode is useful when resources (such as NetworkSerialPorts) are not directly accessible from the clients. The client will then use SSH to create a port forward to the resource when needed.
-n / –name
This option is used to configure the exporter name under which resources are registered with the coordinator, which is useful when running multiple exporters on the same host. It defaults to the system hostname.
For resources like USBSerialPort, USBGenericExport or USBSigrokExport, the exporter needs to provide a host name to set the exported value of the “host” key. If the system hostname is not resolvable via DNS, this option can be used to override this default with another name (or an IP address).
The exporter uses a YAML configuration file which defines groups of related resources. See <https://labgrid.readthedocs.io/en/latest/configuration.html#exporter-configuration> for more information.
The following environment variable can be used to configure labgrid-exporter.
This variable can be used to set the default crossbar URL (instead of using the
This variable can be used to set the default crossbar realm to use instead of
Start the exporter with the configuration file my-config.yaml:
$ labgrid-exporter my-config.yaml
Same as above, but with name
$ labgrid-exporter -n myname my-config.yaml