Use SSH forwarding to connect remotely to dbus instance where bluechi
service is connected
#486
Labels
backlog
This is next up in priority
enhancement
New feature or request
testing
This issue adds or improves the testing
Using python-bluechi module within integration tests has been introduced as a part of #485 . But clients using python-bluechi need to be executed on the same machine, that
bluechi
controller is runnig.Here is our current intergration tests setup:
So to use python-bluechi in integration tests we need to copy this module source file into
bluechi controller container
, because it needs to connect to the same system dbus instance wherebluechi controller container
. This approach makes the usage of python-bluechi in integrations tests harder and if you need to check the output of the client, then it's even more problematic.So it would be great if we could use SSH tunnel between testing host and dbus instance running within
bluechi controller container
so python-bluechi clients could be easily integrated into the test code.https://nikhilism.com/post/2023/remote-dbus-notifications/
The text was updated successfully, but these errors were encountered: