:Release Notes:
Avoid multiple session connections in CLI
:Detailed Notes:
Fix multiple ssh connection
Change ares-shell's internal option name to device
Remove unused code
Update TC
:Testing Performed:
Passed unit test ose & auto target
Passed eslint
Verified with CLI commands
a. $killall node
b. Check ssh connection using $ss |grep ssh (OR $ss | grep target's_IP:PORT) . It shows no list.
c. Install com.jasmine.web.app in CLI TC
d. $ares-inspect.js -s com.jasmine.web.app.service
e. $ss |grep ssh shows only one ssh connection.
f. Press Ctrl+C to exit ares-inspect.
g. $ss |grep ssh shows no list.
:Issues Addressed:
[PLAT-137688] Avoid multiple ssh connections in CLI
:Release Notes: Avoid multiple session connections in CLI
:Detailed Notes:
:Testing Performed:
$killall node
b. Check ssh connection using$ss |grep ssh
(OR$ss | grep target's_IP:PORT
) . It shows no list. c. Install com.jasmine.web.app in CLI TC d.$ares-inspect.js -s com.jasmine.web.app.service
e.$ss |grep ssh
shows only one ssh connection. f. Press Ctrl+C to exit ares-inspect. g.$ss |grep ssh
shows no list.:Issues Addressed: [PLAT-137688] Avoid multiple ssh connections in CLI