Re: [vpp-dev] Compiling NSH_SFC 17.01 plugin for VPP

2017-07-06 Thread Srikanth Lingala
Thanks Hongjun, for your reply. I will ask in the community. But, before that I have a doubt. Actually, I want to use VPP NSH SFC plugin in the NSH unaware VM to replace vxlan_tool.py. Because, vxlan_tool.py is only used when VM has normal NICs. In the case of DPDK VM, which does have only DPDK

[vpp-dev] VPP plugin in L2 related path

2017-07-06 Thread Liran Nir-Shoshan
Hi All, I see that there are ARC for L3 (IP4/IP6) and one for Ethernet-input/Device-input but no ARC for the l2 related nodes. is there an ARC for L2 nodes (or planned to be)? I am trying to build a vpp plugin and attach it before the l2-fwd node right after the l2-input-vtr node. However, it

Re: [vpp-dev] A few questions regarding mcast fib

2017-07-06 Thread Nagaprabhanjan Bellari
Thanks for the reply Neale, I see that we can set frp_rpf_id in rpath to point to rpf id and set FIB_ROUTE_PATH_RPF_ID in frp_flags while adding a label lookup to lookup multicast table. But how do I associate the same rpf id when doing a "ip mroute add" ? Do I have to set frp_rpf_id to the rpf_id

Re: [vpp-dev] [csit-dev] about UT test framework for VPP

2017-07-06 Thread Maciek Konstantynowicz (mkonstan)
+vpp-dev. yes, vpp make-test. https://docs.fd.io/csit/rls1704/report/vpp_unit_tests/index.html https://docs.fd.io/vpp/17.04/vpp_make_test/html/ -Maciek On 6 Jul 2017, at 10:34, wang.hu...@zte.com.cn wrote: Hi all Does vpp has some kind of UT test framework , an

[vpp-dev] VPP qemu error " Invalid parameter 'vhost-user "

2017-07-06 Thread Divya Vyas
Hi All, I am creating a basic demo which showcase VPP as a bridge on ubuntu . I am following below link: https://wiki.fd.io/view/VPP/Use_VPP_to_connect_VMs_Using_Vhost-User_Interface I am able to see the interfaces vppctl show interface Name Idx State

[vpp-dev] 17.07 CIST Failures : FW: Change in vpp[stable/1704]: DHCP complete event includes the subnet mask

2017-07-06 Thread Neale Ranns (nranns)
Hi all, The CSIT jobs on 17.07 have a consistent failure as of some time last night – error below. Could I please ask for an investigation as a matter of some urgency. Thanks, Neale 08:42:24 make[1]: Entering directory '/w/workspace/vpp-csit-verify-virl-1704/dpdk' 08:42:24 Makefile:170: wa

Re: [vpp-dev] A few questions regarding mcast fib

2017-07-06 Thread Neale Ranns (nranns)
Hi nagp, As the packets egress the LSP, they ‘acquire’ the RPF-ID specified in the MPLS route’s path. During the mFIB lookup this RPF-ID must match the route’s RPF-ID. To update the mroute’s RPF-ID do: mfib_table_entry_update (fib_index, &pfx,

[vpp-dev] VPP plugin in L2 related path

2017-07-06 Thread Liran Nir-Shoshan
Hi All, I see that there are ARC for L3 (IP4/IP6) and one for Ethernet-input/Device-input but no ARC for the l2 related nodes. is there an ARC for L2 nodes (or planned to be)? I am trying to build a vpp plugin and attach it before the l2-fwd node right after the l2-input-vtr node. However, it

Re: [vpp-dev] 17.07 CIST Failures : FW: Change in vpp[stable/1704]: DHCP complete event includes the subnet mask

2017-07-06 Thread Neale Ranns (nranns)
Sorry, that should be 17.04… /neale -Original Message- From: on behalf of "Neale Ranns (nranns)" Date: Thursday, 6 July 2017 at 11:56 To: "csit-...@lists.fd.io" Cc: vpp-dev Subject: [vpp-dev] 17.07 CIST Failures : FW: Change in vpp[stable/1704]: DHCP complete event includes the subn

Re: [vpp-dev] VPP qemu error " Invalid parameter 'vhost-user "

2017-07-06 Thread Luke, Chris
Google says: “-netdev type=vhost-user”. i.e., you forgot the “type=” part. Cheers, Chris. From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Divya Vyas Sent: Thursday, July 6, 2017 6:37 To: vpp-dev@lists.fd.io Subject: [vpp-dev] VPP qemu error " Invalid paramete

Re: [vpp-dev] 17.07 CIST Failures : FW: Change in vpp[stable/1704]: DHCP complete event includes the subnet mask

2017-07-06 Thread Jan Gelety -X (jgelety - PANTHEON TECHNOLOGIES at Cisco)
Hello Neale, If I am correct, it is necessary to move/copy vagrant directory from build-root/vagrant/ to extras/vagrant/ in stable/1704 branch. Probably it should be done for all stable vpp branches. Regards, Jan -Original Message- From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun

[vpp-dev] API CHANGE: in vpp[stable/1707]: DHCP complete event sends mask length

2017-07-06 Thread Neale Ranns (nranns)
Hi All, I’d like to propose this commit to 17.07. https://gerrit.fd.io/r/#/c/7440/ It makes a change to the existing DCHP API by including, in the DHCP client complete notification, the advertised subnet mask length. This subnet is necessary for the host application to correctly configure its

Re: [vpp-dev] [csit-dev] API CHANGE: in vpp[stable/1707]: DHCP complete event sends mask length

2017-07-06 Thread Luke, Chris
I have no objection since it does not look like it will break anything; i.e., it's not a material change to the existing elements of the API, IMO. Chris. > -Original Message- > From: csit-dev-boun...@lists.fd.io [mailto:csit-dev-boun...@lists.fd.io] On > Behalf Of Neale Ranns (nranns) >

Re: [vpp-dev] Building on Fedora 24

2017-07-06 Thread Luke, Chris
This should now be fixed in master; stable was not impacted. I toyed with having the service startup scripts create the run dir, but in the end decided to move the existing code in the DPDK plugin that mkdir()’s /run/vpp into vlib and have both the console socket and DPDK code call it so that i

[vpp-dev] GDB File format not recognized

2017-07-06 Thread Anand Nandugudi
Hello, I am facing a problem while I'm trying to run VPP with gdb on the vagrant VM. gdb complains that "/vpp/build-root/build-vpp_debug-native/vpp/bin/vpp": not in executable format: File format not recognized The steps I follow - 1 . make build 2. gdb /vpp/build-root/build-vpp_debug-native/vpp/

Re: [vpp-dev] GDB File format not recognized

2017-07-06 Thread Luke, Chris
Are you able to execute it manually? eg "/vpp/build-root/build-vpp_debug-native/vpp/bin/vpp unix interactive" If not then check that /vpp is not mounted ‘noexec’ if it’s NFS’ed to the host, or some other similar silliness. Chris From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd

Re: [vpp-dev] GDB File format not recognized

2017-07-06 Thread Dave Barach (dbarach)
Please run gdb on .../install-vpp_debug-native/vpp/bin/vpp, not .../build-vpp_debug-native... Thanks… Dave From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Anand Nandugudi Sent: Thursday, July 6, 2017 10:07 AM To: vpp-dev@lists.fd.io Subject: [vpp-dev] GDB Fil

Re: [vpp-dev] A few questions regarding mcast fib

2017-07-06 Thread Nagaprabhanjan Bellari
Thanks much Neale! It worked. One last question for the day :-) an (S, G) route in vpp looks like as follows: -- (31.1.1.1, 239.2.1.1/32): Interfaces: mpls-tunnel0: Forward, RPF-ID:1 multicast-ip4-chain [@1]: dpo-replicate: [index:19 buckets:1 to:[0:0]] [0] [@2]: ipv4-mcast-midcha

Re: [vpp-dev] GDB File format not recognized

2017-07-06 Thread Anand Nandugudi
Thanks! it works now. On Thu, Jul 6, 2017 at 7:11 AM, Dave Barach (dbarach) wrote: > Please run gdb on .../install-vpp_debug-native/vpp/bin/vpp, not > .../build-vpp_debug-native... > > > > Thanks… Dave > > > > *From:* vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] *On > Behalf

Re: [vpp-dev] A few questions regarding mcast fib

2017-07-06 Thread Neale Ranns (nranns)
Hi nagp, Can’t be good if it’s in all caps ☺ It’s coming from format_vnet_rewrite() and indicates that the rewirte has not correctly set the sw_if_index. That should be OK at forwarding time – please confirm – as the MPLS tunnel midchain has no bytes of rewrite and the packet will following t

Re: [vpp-dev] GDB File format not recognized

2017-07-06 Thread Burt Silverman
Just FYI, although not so important in VPP world as Dave showed, but you would have had more luck with libtool --mode=execute gdb /vpp/build-root/build-vpp_ debug-native/vpp/bin/vpp than with your original incantation. Something to keep in mind for other projects. Credit to libtool user manual.

Re: [vpp-dev] 17.07 CIST Failures : FW: Change in vpp[stable/1704]: DHCP complete event includes the subnet mask

2017-07-06 Thread Dave Wallace
This is a side effect of a change made to ci-management (https://gerrit.fd.io/r/#/c/7173/). I will fix this issue for the stable vpp branches. Thanks, -daw- On 7/6/17 8:22 AM, Jan Gelety -X (jgelety - PANTHEON TECHNOLOGIES at Cisco) wrote: Hello Neale, If I am correct, it is necessary to mo

Re: [vpp-dev] [csit-dev] API CHANGE: in vpp[stable/1707]: DHCP complete event sends mask length

2017-07-06 Thread Dave Wallace
+1 On 7/6/17 9:08 AM, Neale Ranns (nranns) wrote: Hi All, I’d like to propose this commit to 17.07. https://gerrit.fd.io/r/#/c/7440/ It makes a change to the existing DCHP API by including, in the DHCP client complete notification, the advertised subnet mask length. This subnet is necessar

Re: [vpp-dev] C Rewrite of vppctl and 1707

2017-07-06 Thread Ed Warnicke
I've pushed https://gerrit.fd.io/r/#/c/7446/ to fix the vppctl sudo issue in 1707. Ed On Wed, Jul 5, 2017 at 6:29 PM, Ed Warnicke wrote: > Guys, > > I just noticed that https://gerrit.fd.io/r/#/c/7230/ (C Rewrite of > vppctl) went into master after the stable/1707 branch was pulled. Do we > in

Re: [vpp-dev] 17.07 CIST Failures : FW: Change in vpp[stable/1704]: DHCP complete event includes the subnet mask

2017-07-06 Thread Maciek Konstantynowicz (mkonstan)
Dave, Looks like we’ve been working on this in parallel. This is the fix, yes: diff --git a/jjb/vpp/include-raw-vpp-build.sh b/jjb/vpp/include-raw-vpp-build.sh index 5e603d2..582971c 100644 --- a/jjb/vpp/include-raw-vpp-build.sh +++ b/jjb/vpp/include-raw-vpp-build.sh @@ -32,16 +32,16 @@ echo "CC=$

Re: [vpp-dev] 17.07 CIST Failures : FW: Change in vpp[stable/1704]: DHCP complete event includes the subnet mask

2017-07-06 Thread Dave Wallace
Maciek, The vagrant directory is in the process of being moved from build-root/vagrant to extras/vagrant. Instead of having to ping-pong this location multiple times in ci-management, I would recommend that fix the VPP stable branches to be compatible with the new location. I have submitted

Re: [vpp-dev] 17.07 CIST Failures : FW: Change in vpp[stable/1704]: DHCP complete event includes the subnet mask

2017-07-06 Thread Maciek Konstantynowicz (mkonstan)
https://gerrit.fd.io/r/#/c/7459/ This should make it compatible for all branches IMV, as there is symbolic link in the right place, so no need to change: build-root $ ls -la | grep vagrant lrwxr-xr-x 1 maciek staff 17 6 Jul 16:48 vagrant -> ../extras/vagrant Whoever move the directory b

Re: [vpp-dev] 17.07 CIST Failures : FW: Change in vpp[stable/1704]: DHCP complete event includes the subnet mask

2017-07-06 Thread Maciek Konstantynowicz (mkonstan)
Our emails crossed mid-air, so resending here. Your patchwork https://gerrit.fd.io/r/#/c/7457/ Would need to applied to all stable VPP branches to make it work. Can’t we do it by keeping the symlink in place, and my patch ? -Maciek On 6 Jul 2017, at 17:25, Maciek Konstantynowicz (mkonstan) mai

Re: [vpp-dev] 17.07 CIST Failures : FW: Change in vpp[stable/1704]: DHCP complete event includes the subnet mask

2017-07-06 Thread Dave Wallace
Maciek, My patch replicates the movement of the directory and adds the link in build-root/vagrant for backwards compatibility in the stable branches, so that we can remove the link in build-root/vagrant in master. I'd prefer that we clean this up now and make build-root/vagrant go away in 17

Re: [vpp-dev] 17.07 CIST Failures : FW: Change in vpp[stable/1704]: DHCP complete event includes the subnet mask

2017-07-06 Thread Dave Wallace
On 07/06/2017 12:32 PM, Maciek Konstantynowicz (mkonstan) wrote: Our emails crossed mid-air, so resending here. Your patchwork https://gerrit.fd.io/r/#/c/7457/ Would need to applied to all stable VPP branches to make it work. Yes, my plan is to cherry-pick the patch to all of the release bran

Re: [vpp-dev] 17.07 CIST Failures : FW: Change in vpp[stable/1704]: DHCP complete event includes the subnet mask

2017-07-06 Thread Maciek Konstantynowicz (mkonstan)
I’m easy either way, community decides :) -Maciek On 6 Jul 2017, at 17:32, Maciek Konstantynowicz (mkonstan) mailto:mkons...@cisco.com>> wrote: Our emails crossed mid-air, so resending here. Your patchwork https://gerrit.fd.io/r/#/c/7457/ Would need to applied to all stable VPP branches to mak

Re: [vpp-dev] C Rewrite of vppctl and 1707

2017-07-06 Thread Neale Ranns (nranns)
Merged. Thanks, neale From: on behalf of Ed Warnicke Date: Thursday, 6 July 2017 at 17:06 To: vpp-dev Subject: Re: [vpp-dev] C Rewrite of vppctl and 1707 I've pushed https://gerrit.fd.io/r/#/c/7446/ to fix the vppctl sudo issue in 1707. Ed On Wed, Jul 5, 2017 at 6:29 PM, Ed Warnicke mail

Re: [vpp-dev] [csit-dev] 17.07 CIST Failures : FW: Change in vpp[stable/1704]: DHCP complete event includes the subnet mask

2017-07-06 Thread Neale Ranns (nranns)
Hi Dave, I am concerned that these sort of changes to CI-mgnt will result in us requiring to patch all previous SW versions – this will only increase in pain levels in the future. I would prefer it if the CI-mgnt system was aware of the VPP/CIST version is was building and could invoke the cor

Re: [vpp-dev] C Rewrite of vppctl and 1707

2017-07-06 Thread Ed Warnicke
Many thanks :) Ed On Thu, Jul 6, 2017 at 9:59 AM, Neale Ranns (nranns) wrote: > > > Merged. > > > > Thanks, > > neale > > > > *From: * on behalf of Ed Warnicke < > hagb...@gmail.com> > *Date: *Thursday, 6 July 2017 at 17:06 > *To: *vpp-dev > *Subject: *Re: [vpp-dev] C Rewrite of vppctl and 170

Re: [vpp-dev] [csit-dev] 17.07 CIST Failures : FW: Change in vpp[stable/1704]: DHCP complete event includes the subnet mask

2017-07-06 Thread Dave Wallace
Neale, I agree that patching release branches for build infra changes is not the most desirable solution in general. However, there is also a strong desire to insulate the ci-management scripts from release specific knowledge to help reduce their complexity over the long term. In general, t

[vpp-dev] Cleanup of /dev/shm files

2017-07-06 Thread Dave Wallace
Folks, I have pushed a patch which fixes a couple of bugs with cleanup of /deb/shm files: https://gerrit.fd.io/r/#/c/7399/ It also causes the removal of /dev/shm/global_vm and /dev/shm/db when VPP exits normally. I would like input from the community on whether anyone has an issue with the

Re: [vpp-dev] Compiling NSH_SFC 17.01 plugin for VPP

2017-07-06 Thread ni_hongjun6
Hi Srikanth, Yes,NSH_SFC has implemented NSH-proxy. You could use that. Please refer to NSH_SFC wiki/design for details. -Hongjun Send from iPhone > 在 2017年7月6日,16:54,Srikanth Lingala 写道: > > Thanks Hongjun, for your reply. I will ask in the community. > > But, before that I have a doubt. >