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+ow...@

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 Unsubscrib

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

2020-06-14 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: https:/

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 List

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 List

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 2001:db8:1:c1::

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 https://lists.fd.io/g/vpp-dev/topic/vpp_c_api_difference_between/74796193?p=,,,20,0,0,0

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

2020-06-11 Thread Pablo via lists.fd.io
Chinmaya, Please see https://docs.fd.io/vpp/20.09/df/d96/sr__api_8c.html Regards, Pablo. From: vpp-dev@lists.fd.io On Behalf Of Chinmaya Aggarwal Sent: miércoles, 10 de junio de 2020 6:33 To: vpp-dev@lists.fd.io Subject: Re: [EXTERNAL] Re: [vpp-dev] VPP sequential policy command execution

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 (#1670

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

2020-05-27 Thread Dave Wallace
suspect SR provides API access and that will generally be much more performant than using vppctl. Chris. *From:*Chinmaya Aggarwal *Sent:* Wednesday, May 27, 2020 05:47 *To:* Luke, Chris ; vpp-dev@lists.fd.io *Subject:* Re: [EXTERNAL] Re: [vpp-dev] VPP sequential policy command execution gi

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

2020-05-27 Thread Chris Luke
suspect SR provides API access and that will generally be much more performant than using vppctl. Chris. From: Chinmaya Aggarwal Sent: Wednesday, May 27, 2020 05:47 To: Luke, Chris ; vpp-dev@lists.fd.io Subject: Re: [EXTERNAL] Re: [vpp-dev] VPP sequential policy command execution giving error

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: [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? 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-26 Thread Chris Luke
the script you run stall for a second? Chris. From: vpp-dev@lists.fd.io On Behalf Of Chris Luke Sent: Tuesday, May 26, 2020 09:40 To: Chinmaya Aggarwal ; vpp-dev@lists.fd.io Subject: Re: [EXTERNAL] Re: [vpp-dev] VPP sequential policy command execution giving error You’ll get the banner if it

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

2020-05-26 Thread Chris Luke
@lists.fd.io Subject: [EXTERNAL] Re: [vpp-dev] VPP sequential policy command execution giving error 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

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 :- ___    _        _   _  ___

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 6d

[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