Re: [vpp-dev] Getting logs without using vppctl

2021-08-23 Thread Akash S R
Thanks Feng. I have tried already with *vapi_enum_if_status_flags* but I was getting return value as 0 always. Below is the payload. Which param will indicate the same ? typedef struct __attribute__ ((__packed__)) { vapi_type_interface_index sw_if_index; u32 sup_sw_if_index; vapi_type_mac_add

Re: [vpp-dev] Getting logs without using vppctl

2021-08-23 Thread Feng Gao
You could dump the interface and get the up/down status from vl_api_sw_interface_details_t On Mon, Aug 23, 2021 at 2:25 PM Akash S R wrote: > > Hey guys, > > please let me know if there is any VAPI to fetch the interface state UP/DOWN. > > Thanks, > Akash > > On Wed, Aug 18, 2021, 13:11 Akash S R

Re: [vpp-dev] Getting logs without using vppctl

2021-08-22 Thread Akash S R
Hey guys, please let me know if there is any VAPI to fetch the interface state UP/DOWN. Thanks, Akash On Wed, Aug 18, 2021, 13:11 Akash S R wrote: > Hello mates > > I have a question on show commands of vpp like show logging ,show trace > and show interface. There is a requirement where I need

[vpp-dev] Getting logs without using vppctl

2021-08-18 Thread Akash S R
Hello mates I have a question on show commands of vpp like show logging ,show trace and show interface. There is a requirement where I need to push all the output of these commands without using vppctl. I had a look on stats.md corresponding to the show statistics segment command but it doesn't