LABGRID-EXPORTER(1)
π LABGRID-EXPORTER β interface to control boards π
okay bestie, this is the manual page for labgrid-exporter(1), straight outta the labgrid manual. it's the lil guy that talks to your boards, and it is lowkey iconic. π
π LABGRID-EXPORTER INTERFACE TO CONTROL BOARDS π
β¨ SYNOPSIS β¨
labgrid-exporter --help
labgrid-exporter *.yaml
π DESCRIPTION π
so. Labgrid is a scalable infrastructure and test architecture for embedded (linux) systems. it's giving big-brain energy fr fr. π§ β¨
and this right here? this is the man page for the exporter, which handles exporting serial ports, USB devices, and a whole bunch of other controllers. it's the plug. π
π OPTIONS π
-h,--helpβ shows you the command line help. classic. always there for you. π«Ά-x,--coordinatorβ the coordinatorHOST[:PORT]you wanna connect to. defaults to127.0.0.1:20408.-i,--isolatedβ turns on isolated mode (it always requests SSH forwards).-n,--nameβ the public name of the exporter. that's its whole government name, bestie.--hostnameβ the hostname (or IP) that gets published for accessing resources.--fqdnβ uses the fully qualified domain name as the default for hostname.-d,--debugβ enables debug mode. π
π₯ -i / --isolated π₯
this option enables isolated mode, which makes all the exported resources get marked as requiring SSH connection forwarding. no cap.
isolated mode is the moment when your resources (like NetworkSerialPorts) are not directly accessible from the clients. so the client will then use SSH to create a port forward to the resource whenever it needs it. it's giving β¨remote but make it secureβ¨. π
π -n / --name π
this option configures the exporter name, aka the name under which its resources get registered with the coordinator. super useful when you've got multiple exporters running on the same host and you need them to have separate identities. main character energy, one name each. π
it defaults to the system hostname.
π¦ --hostname π¦
for resources like USBSerialPort, USBGenericExport or USBSigrokExport, the exporter needs to hand over a host name so it can set the exported value of the "host" key.
if the system hostname is not resolvable via DNS (the audacity π), this option lets you override that default with another name β or an IP address, whatever works.
πΈ --fqdn πΈ
in some networks you'll legit need the fully qualified domain name to reach resources on an exporter. this option changes the default to fqdn when no --hostname is explicitly set. so if you didn't pick a hostname yourself, fqdn it is. periodt. β
π CONFIGURATION π
the exporter uses a YAML configuration file, and that file defines groups of related resources. cute, organized, we love to see it. π
more info lives here: https://labgrid.readthedocs.io/en/latest/configuration.html#exporter-configuration
π ENVIRONMENT VARIABLES π
the following environment variable can be used to configure labgrid-exporter.
π LG_COORDINATOR π
this variable sets the default coordinator in the format HOST[:PORT] (instead of using the -x option). yes, it's the vibey alternative to typing flags. π
π§ EXAMPLES π§
start the exporter with the configuration file my-config.yaml:
$ labgrid-exporter my-config.yaml
same as above, but with name myname:
$ labgrid-exporter -n myname my-config.yaml
π SEE ALSO π
labgrid-client(1), labgrid-device-config(5)
βοΈ AUTHOR βοΈ
Jan Luebbe, Rouven Czerwinski
Β©οΈ COPYRIGHT Β©οΈ
2016-2025 Pengutronix, Jan Luebbe and Rouven Czerwinski
π that's the whole page bestie, you ate it. go export some boards. π
and a lil sign-off for the road: this was labgrid, dated 2025, and you were reading LABGRID-EXPORTER(1). slay. β¨ππ¦
π¦ where this page comes from
- ubuntu stonking: labgrid-exporter 26.0-2 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms