go.ligato.io/vpp-agent/v3@v3.5.0/tests/robot/libraries/lm_term.robot (about) 1 [Documentation] Keywords for working with LibMemif Running APP 2 3 *** Settings *** 4 Library Collections 5 Library vpp_term.py 6 7 *** Variables *** 8 ${interface_timeout}= 15s 9 ${terminal_timeout}= 30s 10 11 *** Keywords *** 12 13 lmterm: Open LM Terminal 14 [Arguments] ${node} 15 [Documentation] Attaching to already running Libmemif App on node ${node} 16 #lmterm: Issue Command ${node}_lmterm ${DOCKER_COMMAND} attach ${node} 17 Write To Machine ${node}_lmterm ${DOCKER_COMMAND} exec -it ${node} bash -c './.libs/icmpr-epoll' 18 19 lmterm: Issue Command 20 [Arguments] ${node} ${command} 21 ${out}= Write To Machine ${node}_lmterm ${command} 22 # Should Contain ${out} ${${node}_VPP_TERM_PROMPT} 23 [Return] ${out} 24 25 lmterm: Exit VPP Terminal 26 [Arguments] ${node} 27 ${ctrl_p} Evaluate chr(int(16)) 28 ${ctrl_q} Evaluate chr(int(17)) 29 ${command}= Set Variable ${ctrl_p} ${ctrl_q} 30 ${out}= Write To Machine ${node}_lmterm ${command} 31 [Return] ${out} 32