Re: [vpp-dev] Write simple program that can work with VPP API

2017-12-11 Thread Dave Wallace
Samuel, Your main() function is missing the initialization of the connection to VPP as well as vppinfra initialization should you decide to use such features in your app. I would recommend that you review the vat (VPP API Test) application main() function which is the application used to tes

Re: [vpp-dev] How can i use VPP as MPLS PE/P device

2017-12-11 Thread Jerome Tollet (jtollet)
Hello Michael, HC BGP currently doesn’t support EVPN and we have no current plan for OSPF and LDP in HC. However, suggestions and contribs are more than welcome? BTW, you may also be interested in having a look ath the ligato project that supports GoBGP. Regards, Jerome De : au nom de Michael

Re: [vpp-dev] How can i use VPP as MPLS PE/P device

2017-12-11 Thread Michael Borokhovich
Thanks, Ray. Do you know if HC BGP supports EVPN? Also, is there current or planned OSPF and LDP support in HC? On Mon, Dec 11, 2017 at 6:39 AM, Kinsella, Ray wrote: > At the moment - there is no direct/easy way to do this AFAIK. > > Router plugin is the best example of this, the other option is

Re: [vpp-dev] How can i use VPP as MPLS PE/P device

2017-12-11 Thread Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco)
Hi, just some clarification regarding honeycomb and MPLS. HC does not populate Linux MPLS table currently. VPP MPLS configuration support is planned for 18.01: - Netconf/Restconf - already done: https://gerrit.fd.io/r/#/q/topic:mpls+project:hc2vpp https://git.fd.io/hc2vpp/tree/docker/mpls_demo

Re: [vpp-dev] undefined refrence to

2017-12-11 Thread Dave Barach (dbarach)
Gld doesn’t know that e.g. vpp_api.o needs e.g. format until after it’s already processed -lvppinfra. Reorder the command line. From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Samuel S Sent: Monday, December 11, 2017 2:05 AM To: vpp-dev@lists.fd.io Subject: [v

Re: [vpp-dev] Build error when trying to cross-compile vpp

2017-12-11 Thread Dave Barach (dbarach)
Look in config.log and work out the name of the compiler. Fix in .../build-data/platforms/x86_64.mk or override from the command line. From: nikhil ap [mailto:niks3...@gmail.com] Sent: Sunday, December 10, 2017 8:43 AM To: Dave Barach (dbarach) Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Buil

Re: [vpp-dev] MACIP ACL replace causes ip4_table_index change?

2017-12-11 Thread Dave Barach (dbarach)
Folks will miss a clib_warning, unless they check syslog. I'd consider returning VNET_API_ERROR_ENTRY_ALREADY_EXISTS and calling it a day. Thanks… Dave -Original Message- From: Andrew 👽 Yourtchenko [mailto:ayour...@gmail.com] Sent: Sunday, December 10, 2017 9:04 AM To: Dave Barach (dba

Re: [vpp-dev] Measure plugin performances

2017-12-11 Thread Kinsella, Ray
Justin, Suggest adding vpphost and iperfvpp to different network namespaces. All that is happening at the moment is the kernel is recognizing it owns both IPs and bypassing everything. You also need to add vppiperf and vppout to a bridge domain in VPP. Take a look at VPP bootstrap in vppsb, i

Re: [vpp-dev] Measure plugin performances

2017-12-11 Thread Justin Iurman
Oh and by the way, when I say "Pings work" I mean "pings on vpp interfaces" and that's the only way I can see packets in VPP (which is normal after all). But still, pings to 10.10.2.2 work but no trace in VPP (same as iperf packets). Just wanted to clarify this, because it was a bit unclear. Ju

[vpp-dev] Measure plugin performances

2017-12-11 Thread Justin Iurman
Hi everyone, Just wanted to know if there is already something inside VPP to measure some metrics when testing performances of our own plugin ? I know there are some useful info with "vppctl show ..." but is it enough/all ? Actually, based on this link ( https://wiki.fd.io/view/VPP/Progressive

Re: [vpp-dev] How can i use VPP as MPLS PE/P device

2017-12-11 Thread Kinsella, Ray
At the moment - there is no direct/easy way to do this AFAIK. Router plugin is the best example of this, the other option is to use HC instead of FRR for BGP. Ray K On 08/12/2017 21:23, Michael Borokhovich wrote: So, for the control plane, we can use e.g., FRR that will populate Linux's FIB

Re: [vpp-dev] There is no nat-plugin directory in plugins folder.

2017-12-11 Thread Ole Troan
Mirzaei, > I want to build Hc2vpp project according to this url, but when when i execute > this step: > > cd ../../plugins/nat-plugin/ > There is no nat-plugin directory in plugins folder. > > I have no idea what i am doing wrong. Can you please help me to solve this > problem? If this is mea

Re: [vpp-dev] ACL Plugin: check for null session

2017-12-11 Thread khers
Dear Andrew I'm working on d594711a5d79859a7d0bde83a516f7ab52051d9b commit on stable/1710 branch. sorry for less info. I can't reproduce last issue I have reported, forgot the commit I were working on. Regards, Khers On Mon, Dec 11, 2017 at 12:24 PM, Andrew Yourtchenko wrote: > Dear Khers, > >

Re: [vpp-dev] [FATAL] Non-resolvable parent POM for io.fd.hc2vpp.common:hc2vpp-parent:1.17.10.1-SNAPSHOT

2017-12-11 Thread Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco)
Hi, these artifacts are present in nexus: https://nexus.fd.io/content/repositories/fd.io.snapshot/io/fd/honeycomb/common/honeycomb-parent/1.17.10.1-SNAPSHOT/ Our Jenkins jobs for 1710 are doing well. Please revisits settings.xml section of the build guide or build honeycomb from stable/1710 bran

Re: [vpp-dev] ACL Plugin: check for null session

2017-12-11 Thread Andrew Yourtchenko
Dear Khers, At least the exact commit# you are working with to get more context would be useful - line 1029 on master points to a call acl_fill_5tuple to me... Also, I have not heard - were you able to reproduce the issue you contacted about a while ago ? --a > On 11 Dec 2017, at 08:46, khers

[vpp-dev] ACL Plugin: check for null session

2017-12-11 Thread khers
Dear VPP folks, The get_session_ptr function may return null pointer, while we do not check this situation in code, for example fa_node.c line 1029, if the sess equals null, we get segmentation fault in next usage of sess. Please share your thought about this. Regards, Khers _

[vpp-dev] There is no nat-plugin directory in plugins folder.

2017-12-11 Thread mirzaei.reza
Hi I want to build Hc2vpp project according to this url [1], but when when i execute this step: cd ../../plugins/nat-plugin/ There is no NAT-PLUGIN directory in PLUGINS folder. I have no idea what i am doing wrong. Can you please help me to solve this problem? Best regards Reza Links: -

[vpp-dev] [FATAL] Non-resolvable parent POM for io.fd.hc2vpp.common:hc2vpp-parent:1.17.10.1-SNAPSHOT

2017-12-11 Thread mirzaei.reza
I want to build Hc2vpp project according to this url, but i got some errors in this step: MVN CLEAN INSTALL *** [INFO] Scanning for projects... [ERROR] [ERROR] Some problems were encoun