oktetlabs / test-environment

OKTET Labs Test Environment
Other
5 stars 9 forks source link

tapi_expand_path_all_ta() leads to failure if power-ctl agent is used #37

Open okt-denispr opened 6 months ago

okt-denispr commented 6 months ago

I'm working on adding support for TA rebooting. The function tapi_expand_path_all_ta() seems sufficiently generic, but it fails when the power-ctl agent is used. The issue stems from the power-ctl agent lacking an env subtree. Implementing a workaround is feasible, yet addressing this generically might be more appropriate.

I think the functions that are called via rcf_foreach_ta should consider the type of agent. At least those of them that are implemented in standard TE libraries.

I would greatly appreciate your thoughts on this issue.