[vpp-dev] Issues adding ACL with binary_api

2021-08-23 Thread satish amara
[Edited Message Follows] Hi, I tried to add ACL rule by following commands.  There was no error. A new ACL index is created. When I do show  ACL , count is 0, and the  ACL rule is not displayed. vat# acl_add_replace  ipv4 permit src 30.30.30.1/32 ( http://30.30.30.1/32 ) dst 40.40.40.1/32 ( ht

[vpp-dev] Issues adding ACL with binary_api

2021-08-23 Thread satish amara
Hi, I am tried to add ACL rule by following commands. There was no error. A new ACL index is created by when I do show ACL , count is 0, and the ACL rule is not displayed. vat# acl_add_replace ipv4 permit src 30.30.30.1/32 dst 40.40.40.1/32 sport 1000 dport 1000, ipv4 permit src 10.10.10.0/

Re: [vpp-dev] Adding new route via ipv6 link-local

2021-08-23 Thread Artem Glazychev
Thank you, guys! It seems to me that we additionally need this patch: https://gerrit.fd.io/r/c/vpp/+/33568 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20011): https://lists.fd.io/g/vpp-dev/message/20011 Mute This Topic: https://lists.fd.io/mt/8

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