labgrid-project / labgrid

Embedded systems control library for development, testing and installation
https://labgrid.readthedocs.io/
Other
327 stars 164 forks source link

Remote NetworkPowerPort #1413

Closed aparcar closed 3 months ago

aparcar commented 3 months ago

Hi, I defined a NetworkPowerPort which is exported to the coordinator. I'd expect that the client tells the exporter to perform certain actions like power cycle the device, however it seem that the client tries to directly access the host defined in NetworkPowerPort.

Is this intentional? This behavior would require that every client has full access to the network of an exporter, instead of a subset of commands defined by labgrid itself?

Emantor commented 3 months ago

Yeah, the network power ports are a bit special since many support network access. The exporter can proxy the connection though, if you start it with the --isolated command line argument.