Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.05 KB

dynamic_conf.rst

File metadata and controls

24 lines (18 loc) · 1.05 KB

Dynamic Configuration

In some situation, it can be useful to change the behaviour of the auxiliary in-use dynamically. For example, switching for a brand new channel or simply change an attribute value.

Thanks to the common auxiliary interface, users can easily change their auxiliary configuration by simply stop it (call of delete_instance public method) ,access it different public attributes, and then just restarts the auxiliary (call of the public method delete_instance)

Warning

if you are using the original auxiliary instance don't forget to switch back to its initial configuration for the next test cases.

Find below a complete example where during the test, the current pcan connector is replaced by a simple CCLoopback:

../../examples/templates/suite_proxy/test_proxy.py

Warning

this feature allows to change the complete auxiliary configuration, so depending on which parameters are changed the auxiliary execution could lead to unexpected behaviors.