Adding to the observation for the above issue, we created a sample code where we are using popen() C function to execute VPP commands. We are using vppctl in the popen and vppctl at times returns shell output on execution of the command. For ex:- if we pass command "vppctl sr policy mod bsid 6d97:5fd3:fd2b:ee77:24a0:d358:c873:9a98 add sl next 2001:19:c1::1 insert spray weight 1" to popen function, sometimes it returns vpp shell output as :-
vppctl sr policy mod bsid 6d97:5fd3:fd2b:ee77:24a0:d358:c873:9a98 add sl next 2001:19:c1::1 insert spray weight 1 _______ _ _ _____ ___ __/ __/ _ \ (_)__ | | / / _ \/ _ \ _/ _// // / / / _ \ | |/ / ___/ ___/ /_/ /____(_)_/\___/ |___/_/ /_/ Although, on verification, we see our command getting executed successfully. In what scenarios does the vppctl return the vpp shell as output?
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16485): https://lists.fd.io/g/vpp-dev/message/16485 Mute This Topic: https://lists.fd.io/mt/74439681/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-