ASTF acquire command is clearing just loaded profiles and topology
jsmoon opened this issue · 3 comments
jsmoon commented
Hi, recently I found that the following code in ASTF "acquire" command clears just loaded profiles and topology.
trex-core/src/stx/astf/trex_astf_rpc_cmds.cpp
Lines 193 to 209 in 26e9aa9
I did not expect this behavior before, because I thought the "acquire" would get server ownership only.
Is there any reason to do this?
I think the loaded profiles and topology should be kept also like the already parsed profiles and topology.
@hhaim, what do you think about it?
hhaim commented
@jsmoon if the state was changed from "not_acquire" > "acquire" you can't keep the old user profiles and data.