[vpp-dev] Issue faced while testing SR Proxy in VPP

2019-09-30 Thread Chinmaya Aggarwal
Hi, We are testing SR Proxy in VPP. Topology we are using is something like this : - Host 3 (implementing SR Proxy) directly connected to Host 4 (SR Unaware) via two interfaces GigabitEthernet0/9/0 (acting as OIF) and GigabitEthernet0/a/0 (acting as IIF). Issue 1 : We can’t see

[vpp-dev] Issue faced in VPP inline mode

2019-09-23 Thread Chinmaya Aggarwal
Hi, We are testing VPP (for segment routing) in inline mode on one of our host, we are facing issue while configuring VPP. We are creating a SR policy by using the command : *sr policy add bsid C1::999:2 next 2001:db8:1:c1:1:: next 2001:db8:1:c2:1:: next 2001:db8:1:c5:1::

[vpp-dev] VPP configuration getting erased on VPP restart

2020-02-28 Thread Chinmaya Aggarwal
Hi, I ran a few commands on VPP. But, when i restarted the vpp, I can't see the configuration anymore. Can you please suggest how can I persist my entered configuration on vpp restart? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15612):

Re: [vpp-dev] VPP configuration getting erased on VPP restart

2020-02-28 Thread Chinmaya Aggarwal
I did restart vpp using "vppctl restart" but I couldn't find the configuration. When i reboot the machine then only i could see my configuration. I am running VPP version 19.08. What could be the reason for this? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group.

Re: [vpp-dev] VPP configuration getting erased on VPP restart

2020-02-28 Thread Chinmaya Aggarwal
I found this solution but it works only if I do this change and reboot the machine. Is there any way by which i don't need to reboot the machine and the configuration get persist right after modifying startup.conf? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group.

Re: [vpp-dev] VPP configuration getting erased on VPP restart

2020-02-28 Thread Chinmaya Aggarwal
Yes now its working. Thanks. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15623): https://lists.fd.io/g/vpp-dev/message/15623 Mute This Topic: https://lists.fd.io/mt/71609857/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe:

[vpp-dev] Interface Address as SRv6 SID

2020-02-06 Thread Chinmaya Aggarwal
Hi, We are testing SRv6 on VPP, we have an interface GigabitEthernet0/9/0 having IP address *2001:5b0:4321::178*. As per our use case, we want to configure a SID that is same as the interface address of  GigabitEthernet0/9/0 using the command : *sr localsid address 2001:5b0:4321::178 behavior

[vpp-dev] Edit RPC returns RPC-OK but commit fails for SRv6 policy configuration

2020-02-03 Thread Chinmaya Aggarwal
Hi, Our use case involves VPP SRv6 policy configuration using hc2vpp. I have installed hc2vpp (v19.04) on my local machine and using the hc2vpp yang files for SRv6 (path : hc2vpp ( https://github.com/FDio/hc2vpp/tree/234cbb30b9942310dde10700c47354e343312ef7 ) / srv6 (

[vpp-dev] SRv6 Policy Yang Changes according to latest IETF-draft

2020-02-03 Thread Chinmaya Aggarwal
Hi, We have been trying to test SRv6 policy configuration on VPP through hc2vpp. As I browsed through the SRv6 yang files implemented in hc2vpp project, I observed that the last commit was made on Jan 13,2019. Since then, changes has been made in the standard ietf-draft version of srv6 policy

Re: [vpp-dev] Interface Address as SRv6 SID

2020-02-07 Thread Chinmaya Aggarwal
On Thu, Feb 6, 2020 at 02:53 AM, Pablo wrote: > > > > Hi Pablo, > > We have the following use case :- Currently, suppose we have two devices VPP1 and VPP2 and VPP1 is directly connected to VPP2. We configured a SID list on VPP1 device as : *sr policy add bsid C1::999:2 next

[vpp-dev] Issue faced while bringing up kernel interfaces

2020-02-17 Thread Chinmaya Aggarwal
Hi, We have two interfaces (ens8 and ens9). We made an entry of pci address of both the interfaces in /etc/vpp/startup.conf and brought down the interfaces. On restarting VPP, we can see vpp interfaces corresponding to both the interfaces (GigabitEthernet0/8/0 and GigabitEthernet0/9/0). We now

Re: [vpp-dev] Issue faced while bringing up kernel interfaces

2020-02-18 Thread Chinmaya Aggarwal
Can you please elaborate on how we can achieve this through /sys/.. ? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15440): https://lists.fd.io/g/vpp-dev/message/15440 Mute This Topic: https://lists.fd.io/mt/71367026/21656 Group Owner:

Re: [vpp-dev] Inline mode in Spray Policy

2020-03-30 Thread Chinmaya Aggarwal
Whats the behavior for Spray policies? Because when i used the keyword "spray", it shows encapsulation behavior. Is there any way i can use *inline mode with spray policies* ? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15931):

[vpp-dev] Inline mode in Spray Policy

2020-03-30 Thread Chinmaya Aggarwal
Hi, We are trying to use spray policies, but when we configured two spray policies i.e. *sr policy add bsid C1::999:2 next 2001:5b0:abcd::111 next 2001:5b0:23::111 spray* *sr policy mod bsid C1::999:2 add sl next 2001:5b0:22::111 next 2001:5b0:23::111 spray* *sr steer l3 2001:5b0:8::/64 via

Re: [vpp-dev] Inline mode in Spray Policy

2020-03-30 Thread Chinmaya Aggarwal
We are able to resolve this by the following command :- *vpp# sr policy add bsid C1::999:2 next 2001:5b0:abcd::111 next 2001:5b0:23::111 insert spray* *vpp# sr policy mod bsid C1::999:2 add sl next 2001:5b0:22::111 next 2001:5b0:23::111 insert spray* *vpp# sr steer l3 2001:5b0:8::/64 via bsid

[vpp-dev] Forwarding packet from kernel interface to VPP srv6 policy

2020-05-12 Thread Chinmaya Aggarwal
Hi, We have a use case where on a VPP machine, we want to generate ping request from kernel, which is then forwarded to VPP and then according to the policy configured, VPP add SRH into it and act on that packet accordingly. Can anyone please suggest how we can can achieve this?

[vpp-dev] "set ip6 neighbor" not working on VPP v20.01

2020-05-12 Thread Chinmaya Aggarwal
Hi, We have installed VPP v20.01 on a Centos machine, on executing command: - *vpp# set ip6 neighbor GigabitEthernet0/a/0 2001:5b0:abcd::121 52:54:00:98:29:e0* *set ip6: unknown input `neighbor GigabitEthernet0/a/0 ...'* Error is  encountered. On checking the possible commands with "set ip6", we

[vpp-dev] Using VPP C API for configuring SRv6 Policy

2020-05-13 Thread Chinmaya Aggarwal
Hi, We want to develop a C application that can configure SRv6 policy on VPP. Is there any sample application and documentation on how to achieve this using VPP C API? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16359):

[vpp-dev] Installing VPP in offline mode (without internet connection)

2020-03-16 Thread Chinmaya Aggarwal
Hi, We are trying to install VPP in offline mode i.e without internet connection. For that, we cloned the VPP github repository ( https://github.com/FDio/vpp ) and executed build-root/vagrant/build.sh (this requires internet connection) as per the link

[vpp-dev] Problem in configuring interfaces in VPP for Centos 8.1

2020-08-26 Thread Chinmaya Aggarwal
Hi, We are installing VPP 20.05.1 on Centos 8.1 by compiling the RPMs for el/8. We have igb I350 drivers on the interface. We are facing the issue that once we whitelist the kernel interface, bring it down and then restart vpp, the interface is not visible in "show interface" command :-

[vpp-dev] Support for localsid behaviors (T.Insert, T.Encaps, H.Insert and H.Encaps)

2020-09-29 Thread Chinmaya Aggarwal
Hi, I am checking the localsid behaviors supported in VPP v20.05.1 and cannot find T.Insert, T.Encaps, H.Insert and H.Encaps in the list. Are these behaviors supported in VPP? If not, are there any plans to add support for them? Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=-

Re: [vpp-dev] Support for localsid behaviors (T.Insert, T.Encaps, H.Insert and H.Encaps)

2020-09-29 Thread Chinmaya Aggarwal
On Tue, Sep 29, 2020 at 07:29 AM, Pablo wrote: > > Yes, those are supported. Hi Pablo, What we infer of the documentation link that you shared is that we can configure encap or inline at per policy level. But, H.Insert and H.Encaps are headend node behaviour. So how are these two related?

Re: [vpp-dev] VPP sequential policy command execution giving error

2020-05-26 Thread Chinmaya Aggarwal
Further adding to observations regarding above issue, we have created a script that has only vpp commands running sequentially having a constant delay between the execution of each commands. On running the script, we again see VPP shell output as shown below :- ___    _        _   _  

[vpp-dev] Host Requirement for running VPP

2020-05-26 Thread Chinmaya Aggarwal
Hi, We want to run VPP on both VM and host. For VM, we found a link https://wiki.fd.io/view/VPP/How_To_Optimize_Performance_(System_Tuning) that states that recommended system configuration is (In section, In a VM: Configure KVM Parameters ) RAM = 8 GB Cores = 4 SMP = 2 Threads  = 2 What is

Re: [vpp-dev] VPP sequential policy command execution giving error

2020-05-25 Thread Chinmaya Aggarwal
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

[vpp-dev] VPP sequential policy command execution giving error

2020-05-24 Thread Chinmaya Aggarwal
Hi, I have a script that runs SRv6 spray policy commands in sequential form in a loop (20 times). We have encountered an error at random places where VPP returns something like vpp# vppctl sr policy mod bsid 6d97:5fd3:fd2b:ee77:24a0:d358:c873:9a98 add sl next 2001:19:c1::1 insert spray weight 1

Re: [EXTERNAL] Re: [vpp-dev] VPP sequential policy command execution giving error

2020-05-27 Thread Chinmaya Aggarwal
this? From: Luke, Chris Sent: Tuesday, May 26, 2020 7:09 PM To: Chinmaya Aggarwal ; vpp-dev@lists.fd.io Subject: RE: [EXTERNAL] Re: [vpp-dev] VPP sequential policy command execution giving error CAUTION:This email originated from an external organization

Re: [EXTERNAL] Re: [vpp-dev] VPP sequential policy command execution giving error

2020-05-27 Thread Chinmaya Aggarwal
Attached is the sample VPP commands script, having a delay of 50 ms. Below is the screenshot of he output we get on running the script : - Request 88 :  time 14:05:01.906 Request 89 :  time 14:05:01.906 Request 90 :  time 14:05:02.043 ___    _        _   _  ___ __/ __/ _ \  (_)__    | | /

Re: [EXTERNAL] Re: [vpp-dev] VPP sequential policy command execution giving error

2020-05-27 Thread Chinmaya Aggarwal
this? Thanks and Regards, Chinmaya Agarwal. From: Luke, Chris Sent: Tuesday, May 26, 2020 7:34 PM To: Luke, Chris ; Chinmaya Aggarwal ; vpp-dev@lists.fd.io Subject: RE: [EXTERNAL] Re: [vpp-dev] VPP sequential policy command execution giving error CAUTION:This

Re: [vpp-dev] VPP getting hanged after consecutive VAPI requests

2020-08-07 Thread Chinmaya Aggarwal
Can anyone please suggest what is going wrong here? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17160): https://lists.fd.io/g/vpp-dev/message/17160 Mute This Topic: https://lists.fd.io/mt/75986184/21656 Group Owner: vpp-dev+ow...@lists.fd.io

[vpp-dev] VAPI getting hanged on VPP restart

2020-08-12 Thread Chinmaya Aggarwal
Hi, I have an application that uses vapi to connect to vpp. If I restart VPP, my application gets stuck at the first vapi call. I then have to restart my application to bring back it to normal state. I think this is due to a broken connection. Is there a way to reconnect to vpp without

[vpp-dev] VPP getting hanged after consecutive VAPI requests

2020-08-04 Thread Chinmaya Aggarwal
Hi, While integrating VAPI in our application, we observed that after executing a certain number of consecutive VAPI requests, the VPP goes in a hanged state and we receive a SIGABRT signal in our application. For the first request to our application, we execute four VAPI requests (SR policy

Re: [vpp-dev] queue drain warning on calling vapi_disconnect()

2020-08-04 Thread Chinmaya Aggarwal
Hi, We have implemented sending periodic control ping requests from our application. We are sending these control ping messages on every 20 seconds. We are not seeing the queue drain issue now. Is this the correct way to implement it? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent

Re: [vpp-dev] Fetching SR Policy data using VPP C API

2020-06-30 Thread Chinmaya Aggarwal
Hi, We have submitted a new review request for this issue (Change Id : 27729). We have downgraded the API and declared it experimental. Kindly review the same. Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online

[vpp-dev] Not able to install VPP 20.05 on Centos 8.1

2020-07-07 Thread Chinmaya Aggarwal
Hi, We are trying to install VPP on Centos 8.1. We encountered following issue :- 1. We couldn't find VPP release packages for distro/version el/8. So, we are unable to install it through "yum install ..". 2. We then tried to compile VPP v20.05. During compilation, we faced issue while running

[vpp-dev] VPP Gerrit Building failing on master branch

2020-07-07 Thread Chinmaya Aggarwal
Hi, I cloned the VPP gerrit repository on my Ubuntu 18 machine. Execution of "make install-dep" works fine but on executing "make build" , I am getting following error :- --- building ipsec-mb 0.53 - log: /root/vpp/build-root/build-vpp_debug-native/external/ipsec-mb.build.log make[4]:

Re: [vpp-dev] VPP gerrit build failing on master branch

2020-07-07 Thread Chinmaya Aggarwal
Please find attached nasm.build.log, nasm.config.log and nasm.install.log. Thanks and Regards, Chinmaya Agarwal nasm.build.log Description: Binary data nasm.config.log Description: Binary data nasm.install.log Description: Binary data -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages

[vpp-dev] VPP gerrit build failing on master branch

2020-07-07 Thread Chinmaya Aggarwal
Hi, I cloned the VPP gerrit repository on my Ubuntu 18 machine. Execution of "make install-dep" works fine but on executing "make build" , I am getting following error :- --- building ipsec-mb 0.53 - log: /root/vpp/build-root/build-vpp_debug-native/external/ipsec-mb.build.log make[4]:

Re: [vpp-dev] VPP gerrit build failing on master branch

2020-07-07 Thread Chinmaya Aggarwal
Execution of " make install-ext-dep " is giving the same error : - root@ggnlabvm-hnsnfvsdn03:~/vpp# make install-ext-dep make -C build/external install-deb make[1]: Entering directory '/root/vpp/build/external' make[2]: Entering directory '/root/vpp/build/external' dpkg-buildpackage: info: source

[vpp-dev] Jenkins build failing for Change Id : 27872

2020-07-13 Thread Chinmaya Aggarwal
Hi, We have submitted a fix for an issue ( https://lists.fd.io/g/vpp-dev/topic/74894689#16747 )  for review (Change id : 27872). But our jenkins build is failing. We see following error in the log :- 17:13:10 ipsecmb ESN NONE/SHA1-96 IPSec test 17:13:10

Re: [vpp-dev] VPP 20.05.1 tomorrow 15th July 2020

2020-07-14 Thread Chinmaya Aggarwal
Hi, Code for change id 27656 has been merged in master branch. This can be merged in stable/2005 Get Outlook for Android From: vpp-dev@lists.fd.io on behalf of Andrew Yourtchenko via lists.fd.io Sent: Tuesday, July 14, 2020 10:34:02 PM

Re: [vpp-dev] VPP C API application compilation issue on using S and W functions

2020-06-30 Thread Chinmaya Aggarwal
Hi Ole, As suggested by you, we are trying vapi for our SRv6 use case, we were able to generate sr.api.json for sr.api using src/tools/vppapigen/generate_json.py. We then generated sr.api.vapi.h using src/vpp-api/vapi/vapi_c_gen.py. On going through sr.api.vapi.h, we found a function

[vpp-dev] Connecting PCI interface to VPP without VPP restart

2020-07-09 Thread Chinmaya Aggarwal
Hi, A general way to configure kernel interface in VPP is to whitelist that interface (using its PCI address), bringing down the interface and then restarting VPP. But, is there a way we can configure kernel interface in VPP at runtime (using some commands may be) without restarting VPP?

[vpp-dev] Issue while pushing code for gerrit review

2020-06-23 Thread Chinmaya Aggarwal
Hi, I have raised an issue on VPP mailing list ( https://lists.fd.io/g/vpp-dev/topic/74894689 ). I have done the fix for this issue and want to submit the fix for gerrit review. I followed the steps described in

Re: [vpp-dev] Issue while pushing code for gerrit review

2020-06-24 Thread Chinmaya Aggarwal
Still not working for me. I executed git commit -s --amend -m 'Type: fix sr: fix for SID index across segment lists within a sr policy' But still git log shows commit a3c7df5131c9905a209cee017e80fdff6b5b2e6e (HEAD -> review/chinmaya_agarwal/fix/vpp_topic_74477804) Author: Chinmaya Agarwal

Re: [vpp-dev] Issue while pushing code for gerrit review

2020-06-24 Thread Chinmaya Aggarwal
After i commit my fix, i run the script ./extras/scripts/check_commit_msg.sh and it gives me error : - root@ggnlabvm-hnsnfvsdn03:~/vpp# ./extras/scripts/check_commit_msg.sh === ERROR === Unknown commit type '' in commit message body. Commit

Re: [vpp-dev] Issue while pushing code for gerrit review

2020-06-24 Thread Chinmaya Aggarwal
Its working now, Thanks. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16808): https://lists.fd.io/g/vpp-dev/message/16808 Mute This Topic: https://lists.fd.io/mt/75076228/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe:

Re: [vpp-dev] Fetching SR Policy data using VPP C API

2020-06-26 Thread Chinmaya Aggarwal
y foreach_vpe_api_msg macro to register the appropriate handler functions. Is this what we are suppose to do or is there some other way to cater the new in-progress message? Thanks and Regards, Chinmaya Agarwal. From: Andrew  Yourtchenko Sent: Thursday, June 25, 2020

Re: [vpp-dev] Fetching SR Policy data using VPP C API

2020-06-26 Thread Chinmaya Aggarwal
Hi, To reiterate what we have understood, if we downgrade the api and declare it experimental (by setting "option version = 0.0.1"), we need not add  "option status="in_progress" for the typedefs and messages we are modifying and we can simply use the original typedefs and messages and do the

Re: [vpp-dev] VPP C API application compilation issue on using S and W functions

2020-06-26 Thread Chinmaya Aggarwal
Hi Dave, We have our application (using VPP C API) running outside of VPP.  We linked vpp libs in our application ( vatplugin, vppinfra, vlibmemoryclient, svm, vppapiclient). Attaching file vpp_connect_test.c that creates connection with VPP and calls VPP C API to modify a sr policy. We have

Re: [EXTERNAL] Re: [vpp-dev] VPP sequential policy command execution giving error

2020-06-15 Thread Chinmaya Aggarwal
Can anyone please help us out here? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16723): https://lists.fd.io/g/vpp-dev/message/16723 Mute This Topic: https://lists.fd.io/mt/74477804/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe:

[vpp-dev] Fetching SR Policy data using VPP C API

2020-06-15 Thread Chinmaya Aggarwal
Hi, We have added sr policies in VPP using VPP C API. We now want to fetch these policy data similar to what we get in "show sr policies", using VPP C API. How can we fetch this data using VPP C API so that the segment list indices are similar to those in "show sr policies" command? Below is a

Re: [vpp-dev] Fetching SR Policy data using VPP C API

2020-06-25 Thread Chinmaya Aggarwal
Fix for this issue submitted for gerrit review (Change Id : 27668 ) -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16813): https://lists.fd.io/g/vpp-dev/message/16813 Mute This Topic: https://lists.fd.io/mt/74894689/21656 Group Owner:

Re: [EXTERNAL] Re: [vpp-dev] VPP sequential policy command execution giving error

2020-06-25 Thread Chinmaya Aggarwal
Fix for this issue submitted for gerrit review (Change Id : 27656 ) -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16812): https://lists.fd.io/g/vpp-dev/message/16812 Mute This Topic: https://lists.fd.io/mt/74477804/21656 Group Owner:

[vpp-dev] VPP C API application compilation issue on using S and W functions

2020-06-25 Thread Chinmaya Aggarwal
Hi, We are testing VPP C API for our use case. We have a scenario where we want to wait for the reply of our API request. For this, we are trying to use S and W functions defined in src/vlibapi/vat_helper_macros.h. But we get the following error on compiling our source code : -

Re: [vpp-dev] VPP C API application compilation issue on using S and W functions

2020-06-25 Thread Chinmaya Aggarwal
I am following fd.io wiki link https://wiki.fd.io/view/VPP/How_To_Use_The_C_API It says so. Are we not suppose to link vlib? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16816): https://lists.fd.io/g/vpp-dev/message/16816 Mute This Topic:

Re: [vpp-dev] VPP C API application compilation issue on using S and W functions

2020-06-25 Thread Chinmaya Aggarwal
Ok, and how can we use S and W functions in our application to send request and wait for reply? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16818): https://lists.fd.io/g/vpp-dev/message/16818 Mute This Topic:

Re: [EXTERNAL] Re: [vpp-dev] VPP sequential policy command execution giving error

2020-06-17 Thread Chinmaya Aggarwal
Can anyone please suggest something for this? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16748): https://lists.fd.io/g/vpp-dev/message/16748 Mute This Topic: https://lists.fd.io/mt/74477804/21656 Group Owner: vpp-dev+ow...@lists.fd.io

Re: [vpp-dev] Fetching SR Policy data using VPP C API

2020-06-17 Thread Chinmaya Aggarwal
Can anyone please suggest something for this? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16747): https://lists.fd.io/g/vpp-dev/message/16747 Mute This Topic: https://lists.fd.io/mt/74894689/21656 Group Owner: vpp-dev+ow...@lists.fd.io

Re: [EXTERNAL] Re: [vpp-dev] VPP sequential policy command execution giving error

2020-06-09 Thread Chinmaya Aggarwal
Hi, We wish to integrate integrate SR provided API access in our code in place of vppctl. Could you please point to some documentation and implementation details regarding these SR provided APIs? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online

[vpp-dev] VPP C API difference between VPP v20.05 and v 20.01

2020-06-10 Thread Chinmaya Aggarwal
We are trying to use VPP C API in our C application to call VPP functionality in our system. Our system has different sub systems running different VPP versions. We want to have single C application interacting with different versions of VPP. We started with reading SRv6 policy and steering

[vpp-dev] "vppctl restart" randomly rebooting the machine

2020-06-04 Thread Chinmaya Aggarwal
Hi, We are running VPP on a virtual machine. We observed that after executing "vppctl restart", randomly, our VM is getting rebooted. This kind of behavior is not observed if we restart VPP by executing "systemctl restart vpp". Any suggestions as to why this kind of behavior is observed?

Re: [EXTERNAL] Re: [vpp-dev] VPP sequential policy command execution giving error

2020-06-11 Thread Chinmaya Aggarwal
We have been following this approach. But, we got doubtful of this approach because we found few API level difference between VPP v20.01 and VPP v20.05. We have raised our concern yesterday in a separate post

Re: [EXTERNAL] Re: [vpp-dev] VPP sequential policy command execution giving error

2020-06-11 Thread Chinmaya Aggarwal
We also found one more issue while reading sr policies having multiple sid list using VPP C API. Suppose we have a sr policy having: - BSID : C1::999:3 SID List 1 : 2001:db8:1:c1::1, 2001:db8:1:c2::1 SID List 2 : 2001:db8:1:c3::1, 2001:db8:1:c4::1 While parsing SID List 1, we get

Re: [EXTERNAL] Re: [vpp-dev] VPP sequential policy command execution giving error

2020-06-11 Thread Chinmaya Aggarwal
[Edited Message Follows] We also found one more issue while reading sr policies having multiple sid list using VPP C API. Suppose we have a sr policy having: - BSID : C1::999:3 SID List 1 : 2001:db8:1:c1::1, 2001:db8:1:c2::1 SID List 2 : 2001:db8:1:c3::1, 2001:db8:1:c4::1 While parsing SID

Re: [EXTERNAL] Re: [vpp-dev] VPP sequential policy command execution giving error

2020-06-11 Thread Chinmaya Aggarwal
[Edited Message Follows] We also found one more issue while reading sr policies having multiple sid list using VPP C API. Suppose we have a sr policy having: - BSID : C1::999:3 SID List 1 : 2001:db8:1:c1::1, 2001:db8:1:c2::1 SID List 2 : 2001:db8:1:c3::1, 2001:db8:1:c4::1 While parsing SID

[vpp-dev] Issue faced while deleting segment list in sr policy

2020-07-20 Thread Chinmaya Aggarwal
Hi, We are testing VAPI for sr policy. We added two sr policies :- Policy 1 bsid : 3d97:5fd3:fd2b:e77:a0:d358:c873:9a98 SID List at index 0 : 2001:19:a1::1,2001:19:a2::1,2001:19:a3::1 SID List at index 1 : 2001:19:b1::1,2001:19:b2::1,2001:19:b3::1 SID List at index 2 :

[vpp-dev] queue drain warning on calling vapi_disconnect()

2020-07-30 Thread Chinmaya Aggarwal
Hi, We are integrating VAPI in our application. We created connection to vapi using  vapi_connect() and everything works fine for us. But during termination, when we call vapi_disconnect() we get the following warning in our logs multiple times :- vl_client_disconnect:323: queue drain: 21

Re: [vpp-dev] Default Routes learned from RA being erased after a certain duration

2021-07-08 Thread Chinmaya Aggarwal
Hi Team, A gentle reminder. Could someone please help with this? Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19723): https://lists.fd.io/g/vpp-dev/message/19723 Mute This Topic:

Re: [vpp-dev] Issue in VPP v21.06 compilation

2021-07-01 Thread Chinmaya Aggarwal
Hi, We were able to find a workaround for NASM installation issue. We deleted nasm-2.14.02.tar.xz from /opt/vpp/build/external/downloads/ and executed "make install-ext-deps"  again. But, this time we see another issue : - [722/1977] Generating rte_bus_vdev_def with a custom command [723/1977]

Re: [vpp-dev] Issue in VPP v21.06 compilation

2021-07-01 Thread Chinmaya Aggarwal
We are using Centos 8.4.2105 and gcc version 8.4.1. Also, we have downloaded and installed mellanox driver from below link : - https://www.mellanox.com/products/infiniband-drivers/linux/mlnx_ofed Driver Version : 5.3-1.0.0.1 Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links:

[vpp-dev] Issue in VPP v21.06 compilation

2021-06-30 Thread Chinmaya Aggarwal
Hi, We are trying to compile VPP v21.06 from stable/2106 branch with MLX5 support. We enabled MLX5 support in vpp by doing below changes : - vi build/external/packages/dpdk.mk DPDK_MLX5_PMD                ?= y DPDK_MLX5_COMMON_PMD         ?= y We then executed # make install-dep This

[vpp-dev] Interfacing with VPP for retrieving configuration and statistical data from VPP

2021-07-09 Thread Chinmaya Aggarwal
Hi, VPP provides set of vppctl cli commands for getting the configuration done on VPP, i.e route table , interfaces etc. Also, VPPCTL shows statistics data as well in some cases, for instance : - "show sr localsids" command not only shows the localsids we have configured but also the

[vpp-dev] Creating multiple VAPI connections from a single application

2021-07-05 Thread Chinmaya Aggarwal
Hi, We are trying to create multiple vapi connections simultaneously, using  vapi_connect() function, but it is failing. We saw an old post: - https://lists.fd.io/g/vpp-dev/message/11140?p=,,,20,0,0,0::Created,,vapi+connection,20,2,0,2803 It state that multiple VAPI connections were not

[vpp-dev] Issue in sr localsid VAPI message dump

2021-08-27 Thread Chinmaya Aggarwal
Hi, We are trying to fetch sr localsids configured in VPP using sr_localsids_dump and sr_localsids_details API messages. When we do so, we see an issue that the value of "behavior" field is alwsys 0. On debugging the issue, we found that in file src/vnet/srv6/sr_api.c file, after the execution

[vpp-dev] Advertising prefixes in VPP fib via BGP

2021-09-20 Thread Chinmaya Aggarwal
Hi, I am using linux-cp and linux-nl plugins to install BGP routes in VPP and it is working fine for us. After this, we installed a sr policy and sr steering policy for an IPv4 prefix 81.81.81.0/64 and we want to advertise this prefix via BGP. Can we do it in a dynamic way using linux-cp and

[vpp-dev] View IPv6 default route

2021-07-13 Thread Chinmaya Aggarwal
Hi, How can we get IPv6 default routes using vpp cli? Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19753): https://lists.fd.io/g/vpp-dev/message/19753 Mute This Topic: https://lists.fd.io/mt/84176732/21656

[vpp-dev] FIB entry being created on peer VPP node for the localsid

2021-08-03 Thread Chinmaya Aggarwal
Hi, We have two VMs i.e. VM 1 and VM 2 running VPP. We are configuring localsid and nd proxy corresponding to that localsid on VM1. sr localsid address 2001:7a0:10::111 behavior end psp set ip6 nd proxy GigabitEthernet0/8/0 2001:7a0:10::111 When packet on VM 2 tries tires to reach VM 1's

Re: [vpp-dev] FIB entry being created on peer VPP node for the localsid

2021-08-03 Thread Chinmaya Aggarwal
Hi Neale, Thank you. As mentioned in the post, we see a different behaviour on linux srv6 where it adds localsid as neighbor only and does not modify route table. So, why the handing for this is different in VPP? Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You

Re: [vpp-dev] FIB entry being created on peer VPP node for the localsid

2021-08-09 Thread Chinmaya Aggarwal
Hi, We have a use case where we have two VPP nodes i.e. VN1 and VN2 , in a local redundancy testing setup, VN1 is acting as primary node and VN2 is acting as secondary node. VN1 has localsid configuration on it. VN2 has a neighbor and fib entry corresponding to the localsid of VN1. Now when we

[vpp-dev] API to use to fetch IP route information from VPP

2021-10-18 Thread Chinmaya Aggarwal
Hi, We want to get ip route information from VPP using VAPI. We were referencing ip.api file, where we see two versions of ip route dump API i.e. ip_route_dump and ip_route_v2_dump. So, which one should we use for our implementation? Thanks and Regards, Chinmaya Agarwal.

Re: [vpp-dev] Ping reply packets reaching vnet interface with correct vlan tags are not seen in VPP for VLAN interface.

2021-12-09 Thread Chinmaya Aggarwal
Hi, We found another similar kind of an issue https://lists.fd.io/g/vpp-dev/topic/74220020#16397 But there is no resolution for it as of now. Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20608):

[vpp-dev] Ping reply packets reaching vnet interface with correct vlan tags are not seen in VPP for VLAN interface.

2021-12-08 Thread Chinmaya Aggarwal
Hi, We have two VMs running on Centos 8.4 and base server running on Centos 7.8. VM1 is running VPP(v21.06) and VM2 is a normal linux machine. VM1 is connected to VM2 on GigabitEthernet0/8/0 interface. We created a VLAN interface (with VLAN id 1400) on both the VMs and we are trying to ping

Re: [vpp-dev] Ping reply packets reaching vnet interface with correct vlan tags are not seen in VPP for VLAN interface.

2021-12-13 Thread Chinmaya Aggarwal
Hi, We have an observation that if we change the device type of our interface from virtio to e1000 or we keep device type virtio as is and set promiscuous on for the parent interface of vlan interface, we could get our end to end packet flow working with VLAN interfaces configured, for both

Re: [vpp-dev] Ping reply packets reaching vnet interface with correct vlan tags are not seen in VPP for VLAN interface.

2021-12-10 Thread Chinmaya Aggarwal
Hi, We are trying to debug this issue and we have a question regarding this that If the packet is seen on the vnet interface of the VM hosting VPP, and not seen in VPP packet trace, can we debug something at VPP level? Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You

Re: [vpp-dev] Ping reply packets reaching vnet interface with correct vlan tags are not seen in VPP for VLAN interface.

2021-12-08 Thread Chinmaya Aggarwal
Hi, After applying IP and link state from linux (as per my previous post), we actually see IP and state being copied to VPP as well. vpp# show interface address GigabitEthernet0/8/0 (up): GigabitEthernet0/8/0.1400 (up): L3 24.24.10.101/24 L3 2001:24:10:a111::101/64 local0 (dn): tap1 (up):

[vpp-dev] Configuring linux kernel VLAN interfaces in VPP

2022-03-17 Thread Chinmaya Aggarwal
Hi, Is there a way by which I can bind vlan interfaces, created on linux kernel, in vpp similar to the way we do for physical interfaces? Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21051):

[vpp-dev] Prevent blackhole routes being leaked into VPP

2022-04-04 Thread Chinmaya Aggarwal
Hi, We have integrated linux-cp and linux-nl plugin in VPP. We create table 1203 on VPP and on linux (in namespace dataplane). We added a blackhole route on linux using below command:- sudo ip netns exec dataplane ip -6 route add blackhole 2001:50:10:a111::101/64 table 1203 When I view this

Re: [vpp-dev] Prevent blackhole routes being leaked into VPP

2022-04-05 Thread Chinmaya Aggarwal
Hi, We are adding blackhole routes via linux command "sudo ip netns exec dataplane ip -6 route add blackhole 2001:50:10:a111::101/64 table 1203" After adding blackhole routes on linux (that are leaked to vpp), if we try to view the route in vpp ,we get the below output [root@j3chysr01stg05 ~]#

Re: [vpp-dev] Prevent blackhole routes being leaked into VPP

2022-04-07 Thread Chinmaya Aggarwal
Hi, As suggested, we added blackhole routes in linux using below command sudo ip netns exec dataplane ip -6 route add blackhole 2001:50:10:a111::101/64 table 1203 proto bgp And then we added ipip tunnel route via API. Below is the output for "vppctl show ip6 fib table 1203

Re: [vpp-dev] VPP v22.10-rc0~1 can't inject routes from Linux Control Plane.

2022-05-26 Thread Chinmaya Aggarwal
On Thu, May 26, 2022 at 08:03 AM, Fabio Bizzi wrote: > > GigabitEthernet6/0/0 Hi, How did you manage to get GigabitEthernet6/0/0 in VPP? As there is no dpdk{} section for whitelisting kernel interfaces. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply

Re: [vpp-dev] VPP v22.02 not coming up

2022-06-02 Thread Chinmaya Aggarwal
Hi, Based on our latest findings for the issue that I was facing regarding dpdk{} and linux-cp{} sections being present in startup.conf and VPP not coming up, we found out that if we provide plugin path in the startup.conf, then I don't face this issue anymore and everything seems to be

Re: [vpp-dev] VPP crashing if we configure srv6 policy with five sids in the sidlist

2022-07-05 Thread Chinmaya Aggarwal
We have executed below command on VPP CLI:- vpp# sr policy add bsid C1::999:1 next 2001:a9:a9:a3::111 next 2001:a9:a9:a3::112 next 2001:a9:a9:a3::113 next 2001:a9:a9:a3::114 next 2001:a9:a9:a3::101 insert spray fib-table 5000 vpp# sr steer l3 2001:900:901:1:9:b200::1/120 via bsid C1::999:1

[vpp-dev] VPP crashing if we configure srv6 policy with five sids in the sidlist

2022-07-05 Thread Chinmaya Aggarwal
Hi, We saw a VPP crash when we configure srv6 policy having 5 sids in the sid list. Below is the dump we got:- Jul  5 04:20:42 j3chysr01stg01 vnet[13470]: received signal SIGSEGV, PC 0x7f5151cf4256, faulting address 0x100280f570 Jul  5 04:20:42 j3chysr01stg01 vnet[13470]: #0 

Re: [vpp-dev] End.AD.Flow with Ipv6 next hop address

2022-07-04 Thread Chinmaya Aggarwal
Hi, Is there a way by which we can make End.AD.Flow sid, with ipv6 next hop, work for both ipv4 and ipv6 traffic? Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21604):

[vpp-dev] End.AD.Flow with Ipv6 next hop address

2022-06-29 Thread Chinmaya Aggarwal
Hi, There is a use case where we want to pass ipv4 and ipv6 traffic both from a single End.AD.flow (with ipv6 next hop address) sid. We created the sid using below command:- sr localsid address 2001:a9:a9:a3::111 behavior end.ad.flow nh 2001:a9:a9:b1::102 oif GigabitEthernet0/9/0 iif

[vpp-dev] Configuring linux kernel bond interface in VPP

2022-06-17 Thread Chinmaya Aggarwal
Hi, We configure linux kernel physical interface on VPP using below steps:- 1. Whitelisting the physical interface in /etc/vpp/startup.conf. 2. Bringing the kernel interface down. 3. Restarting vpp service. Is there a similar way by which we can configure linux bond interface in VPP? I don't

Re: [vpp-dev] LACP bond interface not working

2022-06-17 Thread Chinmaya Aggarwal
Hi, We are trying these VPP's lacp bond configuration on virt-manager VM. Also, we tried the same configuration on VPP installed physical machine. We could see VPP lacp bond configuration working on physical machine while we don't see it working in case of virt-manager VM. We have Centos 8.4

Re: [vpp-dev] LACP bond interface not working

2022-06-14 Thread Chinmaya Aggarwal
Hi, Thanks for your response. The bond has been created with mode 802.3ad. Below is the network configuration file:- [root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-bond0 NAME=bond0 DEVICE=bond0 BONDING_MASTER=yes TYPE=Bond ONBOOT=yes BONDING_OPTS=mode=802.3ad HWADDR=

Re: [vpp-dev] LACP bond interface not working

2022-06-14 Thread Chinmaya Aggarwal
Hi, The setup we are trying on has VM1 (running VPP) and VM2 directly connected to each other via two physical interface of same nic (which will be bonded together). On VM2, we have created bond interface for the two physical interface using nmcli. enp7s0: mtu 1500 qdisc fq_codel master

  1   2   >