How to create a new resource that can be listed in exporter's yaml? #1206
-
If I want to create a new resource that an exporter can export, that I put in the exporter.yaml, does it have to go in https://github.com/labgrid-project/labgrid/blob/master/labgrid/remote/exporter.py ? If so, does that mean I have to fork labgrid to add my own resource? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
This depends on your resource. For simple resources where i.e. no external program needs to be started, they can simply be added and the exporter will export them as is, the Which resource are you missing? We are more than happy to extend labgrid with features that are currently missing. |
Beta Was this translation helpful? Give feedback.
-
Thank you, I was able to make an IxiaPorts class that inherits from NetworkResource and import it into my test. On the exporter machine all I had to do was add IxiaPorts to the exporter.yaml. Same for Lauterbach. |
Beta Was this translation helpful? Give feedback.
Thank you, I was able to make an IxiaPorts class that inherits from NetworkResource and import it into my test. On the exporter machine all I had to do was add IxiaPorts to the exporter.yaml. Same for Lauterbach.