Re: [vpp-dev] ioam-plugin build fails

2016-11-22 Thread Ole Troan
Ray, > That seems to work - does that mean that build-vpp-api should be a sub-target > of plugins? appears so. add "vpp-api-install" to build-data/packages/plugins.mk plugins_configure_depend = \ vppinfra-install\ vlib-api-install

Re: [vpp-dev] Clean-up tasks: 17.01 F0 -> RC0

2016-10-31 Thread Ole Troan
> It’s an SMT [simple matter of typing] to create a number xxx.api files, > related message handler implementation files, and to place them next to > whatever the indicate API collection controls. > > The current setup is a historical artifact. I'll have a go at the MAP APIs ASAP. (Been on

[vpp-dev] Committer / Maintainer model.

2016-12-21 Thread Ole Troan
adds the component owner lists or individuals to the reviews list. (e.g. Ole Troan (vnet/map), Neale Ranns (vnet/ip)) 3) A committer will then see when maintainers have +1 for each affected component. And then either submit or chase component owners for review. A maintainer can then raise

Re: [vpp-dev] Neighbor unreachability detection in vpp

2017-07-16 Thread Ole Troan
Andrej, What use case do you have in mind for NUD? NUD is typically more useful in the host -> router direction, in case there are multiple routers on the link. If this is between two routers, BFD offers a much quicker and lower overhead detection option. Best regards, Ole > On 13 Jul 2017,

Re: [vpp-dev] set mapping from node to thread

2017-07-08 Thread Ole Troan
Yulilang, > Thanks for the detailed response. > > However, from the experiment I did, I see the same packet being processed by > two threads. That is why I asked this question. Maybe I made some mistakes, > here is what I did: > > - In vlib_main_or_worker_loop function, I print out all

Re: [vpp-dev] Dump/Details API Error

2017-07-18 Thread Ole Troan
Hi Isabelle, > On 18 Jul 2017, at 08:43, Isabella g wrote: > > I call Dump/Details API from Python app and it return me an error > ERROR:vpp_call:[Errno 2] Reply message undefined > What does this mean? > How can i solve this error? It means that in the message stream

Re: [vpp-dev] use a single interface for SNAT

2017-07-19 Thread Ole Troan
> On 19 Jul 2017, at 01:21, Yuliang Li wrote: > > Never mind. Solved. How did you solve that? Cause it's on the todo list... Cheers Ole > >> On Tue, Jul 18, 2017 at 3:51 PM, Yuliang Li wrote: >> Hi, >> >> I want to setup SNAT on a server with

Re: [vpp-dev] IPv4 Option field

2017-06-30 Thread Ole Troan
> I want to know what this IPv4 Option field affects the end user? Are there > any protocols or user programs that stop working without this? No. Nothing on the Internet. > We, as a communication operator, need to know this issue, because we want to > use VPP as high-loaded NAT instead of

Re: [vpp-dev] IPv4 Option field

2017-06-30 Thread Ole Troan
Joel, At the risk of turning this into the IETF list. > The issue is that many existing routers will drop, or if you are very lucky > slow-path, and IP4 packets with options. > Yes, the specification allows such options. The IPv4 specs even allow adding > and removing such options. > However,

Re: [vpp-dev] ALG

2017-06-21 Thread Ole Troan
Denis, > PPTP connection working well via Hairpin NAT 1:1. Good to hear! Now if I could ask you for one favour to settle if we need an ALG or not. Could you analyse all your PPTP sessions (or all sessions that aren't TCP/UDP for that matter) and determine the total number of concurrent

Re: [vpp-dev] Отв.: Re: ALG

2017-06-20 Thread Ole Troan
Hi Denis, Thanks a lot for testing! > 1st scheme: > Machine A (inside VPP with 1:1 static mapping) running PPTP _server_. > Machine B (outside VPP with 1:1 iptables static mapping) running PPTP client. > This scheme works well. Splendid. > 2st scheme: > Machine A (inside VPP with 1:1 static

Re: [vpp-dev] Create separate directory for APIs

2017-06-21 Thread Ole Troan
Hi, > I want to write some VPP API and I decide to create separate directory for > this APIs. > Which libraries are required to register this API? > What is the right way to add and register APIs? > How to add this directory to Makefile? Take a look at src/examples/sample-plugin Typically the

[vpp-dev] DHCPv6 server on VPP

2017-06-21 Thread Ole Troan
In interesting news, Sander Stefann the author of DHCPKit has integrated his software with VPP. http://dhcpkit-vpp.readthedocs.io/en/stable/ http://dhcpkit.readthedocs.io/en/stable/ It depends on https://gerrit.fd.io/r/#/c/6721/ for sending and receiving packets. (I will clean that one up and

Re: [vpp-dev] flowprobe ip4 at L2 interface

2017-06-22 Thread Ole Troan
Hi Choonho, Specify l2 in the feature add command. That determines where (in l2 bridging , ip4/6 forwarding) the ipfix monitoring is done. The params command what information to collect. Cheers Ole > On 22 Jun 2017, at 03:07, Choonho Son wrote: > > Hi All, > > I

Re: [vpp-dev] flowprobe ip4 at L2 interface

2017-06-22 Thread Ole Troan
Choonon, > After update configuration like below, I can see flow information. > > flowprobe params record l3 > flowprobe add-feature TengigabitEthernet4/0/0 l2 > > One more question, > The flow is out-bounding traffic. Can I collect inbound traffic? it is currently only an output feature.

Re: [vpp-dev] syslog in snat

2017-06-22 Thread Ole Troan
Matt, It will not have it for 17.07. We have ipfix support now as well as deterministic. Do you need it? Cheers Ole > On 22 Jun 2017, at 21:33, Matt Paska wrote: > > Hi, > > Is Snat syslog based logging support still planned for 17.07? I see it > mentioned on the

Re: [vpp-dev] PPPOE

2017-06-26 Thread Ole Troan
Hi Hongjun, > PPPoE plugin will support any kind of control plan projects. > > Currently, we plan to test slow path code using below open source control > plan project: > https://github.com/wfnex/openbras > > We will create a tap port hooked to the kernel -> OpenBRAS > The slow path graph node

Re: [vpp-dev] PPPOE

2017-06-16 Thread Ole Troan
> Is there any plan to surpport pppoe? Not as far as I know. Feel free to start a PPP project. You would need to implement some NCPs too. Cheers, Ole signature.asc Description: Message signed with OpenPGP ___ vpp-dev mailing list vpp-dev@lists.fd.io

Re: [vpp-dev] snat and fragmented packet

2017-09-18 Thread Ole Troan
Ewan, > When will this be ok, any plan? You can try it now. https://gerrit.fd.io/r/#/c/8056/ Best regards, Ole > > Regards, > Ewan > yug...@telincn.com > > From: Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) > Date: 2017-09-04 13:17 > To: yug...@telincn.com; vpp-dev > Subject:

Re: [vpp-dev] syslog in snat

2017-10-17 Thread Ole Troan
Matt, > > I'll look through and see if I can help conjure something. I plan on using it > by siphoning to our central logging system. I didn't look at other ways, what > are your suggestions? If you have an existing system using syslog you need to integrate with then sure syslog is the

Re: [vpp-dev] SNAT hash tables

2017-10-17 Thread Ole Troan
Yuliang, > Get it. It use spinlock (in vppinfra/bihash_template.c): > > while (__sync_lock_test_and_set (h->writer_lock, 1)) > > On Mon, Oct 16, 2017 at 11:39 AM, Yuliang Li wrote: > Hi all, > > I am curious in the SNAT implementation. I see that SNAT's hash tables are >

Re: [vpp-dev] syslog in snat

2017-10-14 Thread Ole Troan
2, 2017 at 9:26 PM, Matus Fabian -X (matfabia - PANTHEON >> TECHNOLOGIES at Cisco) <matfa...@cisco.com> wrote: >> Syslog in NAT plugin is not a part of 17.10 release. >> >> Matus >> >> >> From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io]

Re: [vpp-dev] Are VAPI ERROR messages normal during build?

2017-10-11 Thread Ole Troan
autoreply define pot_profile_add { u32 client_index; u32 context; u8 id; u8 validator; u64 secret_key; u64 secret_share; u64 prime; u8 max_bits; u64 lpc; u64 polynomial_public; u8 list_name_len; u8 list_name[0]; }; The last field should have been: u8

Re: [vpp-dev] multiple ips for an interface

2017-08-30 Thread Ole Troan
Pragash, > I have a quick question, i am able to assign multiple ips for an interface in > vpp. Is this correct behavior. Yes. Shouldn't it be? Note that VPP itself doesn't implement source address selection so the local application would have to deal with that. Best regards, Ole > >

Re: [vpp-dev] mheap performance

2017-09-05 Thread Ole Troan
Jacek, It's also been on my list for a while to add a better bulk add for MAP domains / rules. Any idea of the scale you are looking at here? Best regards, Ole > On 5 Sep 2017, at 15:07, Jacek Siuda wrote: > > Hi, > > I'm conducting a tunnel test using VPP (vnet) map

Re: [vpp-dev] Problem with new c api patch commit 8f2a4ea merged on September 19

2017-09-25 Thread Ole Troan
> I don't know about CSIT, but "make test" tests use python API bindings, > which internally uses old C API bindings (vapiclient). Unless we want > to remove old C API, there is little motivation to rework python API > binding as it contains more or less the same logic as the new C/C++ API >

Re: [vpp-dev] local packets distribute

2017-09-30 Thread Ole Troan
Hi Ewan, > I have one main core and five worker cores, is there a way to deliver some > specific packets from one core to another? Yes there is. Check out src/vnet/handoff.[ch]. Check out usage in the NAT plugin (src/plugins/nat/) For now you should be careful about setups where worker A hands

[vpp-dev] API versioning

2017-10-02 Thread Ole Troan
All, I have received a few suggestions that especially the dynamic language bindings (Python, Lua) would benefit from a better versioning system than depending and storing the CRC values of each VPP API message. Could you please take a look at the proposal for semantic versioning of API

Re: [vpp-dev] local packets distribute

2017-10-02 Thread Ole Troan
Ray, > I gave the code a quick read through - as this is question I get all the time > about VPP. > So can I assign different worker threads to 'In' and 'Out' interfaces. > The NAT'ing plugin is breaking up the In/Out pipelines, > doing the NAT'ing itself on a given worker, and then the routing

Re: [vpp-dev] local packets distribute

2017-10-03 Thread Ole Troan
Ray, > Thanks for the clarification, that makes more sense. > So the RX core is essentially doing LB across worker cores, not that > dis-similar to the RSS. In principle yes. With the added complexity that it has to deal with the requirement that flows are bidirectional and packets are

[vpp-dev] VPP S-NAT rename

2017-08-21 Thread Ole Troan
Hi, The 'S' in VPP's S-NAT plugin name has often been confused with Linux' "Source NAT". The 'S' originally stood for "Simple", implying that it was a less complex implementation of NAT than the previous VCGN implementation. Because of this confusion (and possibly valid arguments that it isn't

Re: [vpp-dev] VPP S-NAT rename

2017-08-23 Thread Ole Troan
Jon, > >> Opinions? > > Changing its name would be good. > > I can track the name changes if you just want to slam them out there. They are now both there in parallel. With a warning in the wiki that the old one will be removed after 17.10.

Re: [vpp-dev] multiple ips for an interface

2017-08-31 Thread Ole Troan
> email : pxv3...@rit.edu > ph : 585 764 4662 > > > On Thu, Aug 31, 2017 at 5:53 AM, Ole Troan <otr...@employees.org> wrote: > Pragash, > > > Is there any cli command for source address selection in the vpp? > > No. Source address selection only comes into play for loc

Re: [vpp-dev] ip6 routing issue

2017-09-04 Thread Ole Troan
Pragash, > Ignore this thread. > > 17.10-rc0 does not have this issue. Good. As general advice don't use addresses from 2002::/16 in your lab. That address space is used for a particular transition mechanism. Cheers Ole > > Pragash Vijayaragavan > Grad Student at Rochester Institute of

Re: [vpp-dev] why passive time must be greater than active timer in ipfix plugin?

2017-09-01 Thread Ole Troan
H Chu, > I found ipfix plugin declares that passive time must be greater than > active timer. At Cisco router, we configure cache active timeout or inactive > timeout for ipfix or netflow. I think that active timer in vpp compares to > active timeout in Cisco router and passive timer in

Re: [vpp-dev] missing vpp_api module when I execute "make test"

2017-10-12 Thread Ole Troan
Klement, Burt, > looking at vpp_papi (which is Ole's deed), I see > > vpp_api = ffi.dlopen('libvppapiclient.so') > > so it looks like it couldn't load said .so. It surely should've been > built as part of 'make test'. Does it exist in your WS? > > Ole, thoughts? No, this is indeed a sign of

[vpp-dev] VPP @ Hackathon IETF 100

2017-09-27 Thread Ole Troan
All, We have taken VPP to the IETF hackathon, and apart from winning, shown how useful it is for the IETF to have an open source data plane to ensure it's principle of "running code first". In the past we have done Source Address Dependent Routing, ILA, SFC. For IETF 100 I'm going to be there

[vpp-dev] VPP Python version policy

2017-09-27 Thread Ole Troan
In light of the recent debate on the C/C++ API patch and consequences of adding Python 3 tools for Linux distros. Here is a VPP Python Version Policy Proposal. Or VPPPVPP for short. ;-) - All Python tools used as part of the VPP build MUST use Python 2. (I include the automated unit testing

Re: [vpp-dev] API versioning

2017-10-09 Thread Ole Troan
+ required versions, and get a yes/no reply back. Best regards, Ole > > From: <vpp-dev-boun...@lists.fd.io> on behalf of "Marek Gradzki -X (mgradzki > - PANTHEON TECHNOLOGIES at Cisco)" <mgrad...@cisco.com> > Date: Thursday, October 5, 2017 at 4:38 AM > To: O

Re: [vpp-dev] SNAT hash tables

2017-10-17 Thread Ole Troan
llowing the git repo directly. Best regards, Ole > > Thanks, > Yuliang > > On Tue, Oct 17, 2017 at 3:01 AM, Ole Troan <otr...@employees.org> wrote: > Yuliang, > > > Get it. It use spinlock (in vppinfra/bihash_template.c): > > > > while (__sync_lock_te

Re: [vpp-dev] 17.10 draft release notes

2017-10-23 Thread Ole Troan
Hi Florin, > You can find a draft of VPP 17.10 release notes here [1]. Feel free to add > comments, reply to this message or send me private messages if something is > missing. That's quite a lot of API changes. Assuming all those "definition changed" changes are justified. Would it be

Re: [vpp-dev] Discussion Topic: creating demo branches in git.fd.io/vpp

2017-11-15 Thread Ole Troan
Just as a data-point. What we have done for IETF hackathons is to create a branch on github. E.g: https://github.com/vpp-dev/vpp/tree/ietf100-nat This allows us to do "high speed collaboration". Then cherry pick what has value after the event. Perhaps something similar could be done for

Re: [vpp-dev] Papi usage example

2017-11-28 Thread Ole Troan
Holoo, > I want to do the following vpp command with python api: > ip route add table 1 1.2.3.4/24 10.0.0.2 GigabitEthernet2/0/1 weight 7" > So, how can i know the name and where to find the definition of the > corresponding api? ip_add_del_route in src/vnet/ip/ip.api. Best regards, Ole

Re: [vpp-dev] Must vpp be installled at root ?

2017-11-23 Thread Ole Troan
Holoo, > Does it differ that where we "git clone" then make vpp? > Should it be at root (/) ? Wherever you like. Ole signature.asc Description: Message signed with OpenPGP ___ vpp-dev mailing list vpp-dev@lists.fd.io

Re: [vpp-dev] Papi usage example

2017-11-29 Thread Ole Troan
Holoo, > As far as I understand, VPP class defined in vpp_papi.py opens json files and > iterate over it, extracting messages and makes functions which are > dynamicallt added to our object that has been created earlier from VPP class. > some functions like "ip_fib_dump" do not need any

Re: [vpp-dev] api functions using shared memory

2017-11-30 Thread Ole Troan
Gabriel, > I am looking at the get_node_graph() api function, for use in python. > It returns a u64 reply_in_shmem value which points to the shared memory and > must then be processed by vlib_node_unserialize() (as is done in vat) but I > only saw such a function in C. > Is there any way to do

Re: [vpp-dev] FOSDEM 2018

2017-11-17 Thread Ole Troan
Ray, I did submit a loosely defined one on VPP. Anyone else? Great if we can coordinate a little up front so we don't end up repeating ourselves too much. cheers, Ole > On 17 Nov 2017, at 00:19, Kinsella, Ray wrote: > > Folks, > > The Call for Content for FOSDEM 2018 is

Re: [vpp-dev] Flowprobe Question

2017-11-17 Thread Ole Troan
quot;. > > I get the examples working as is, however they only allow ICMP traffic > through, TCP and UDP gets dropped somewhere and can't get through. > > Do I need to change the setup to get TCP/UDP to go through? > > /Johan > > On 11/13/17, 10:53 AM, "Ole Troan"

[vpp-dev] NAT API change (was: Re: ACLAPI Change)

2017-11-13 Thread Ole Troan
Jon, [...] > Which is all pretty much fine... Except that it continues to use a > field named "is_inside", and when passed _back_ to the Client in a > DUMP/DETAIL, > message, it is a tri-state value: > is_inside == 0 <==> "outside" > is_inside == 1 <==> "inside" > is_inside == 2

Re: [vpp-dev] make test-all

2017-11-13 Thread Ole Troan
Klement, > I don't know what to tell you ... I was never a fan of getting the API > trace post test run and putting it into test log (which is the cause > of 25MB allocation in this case - it's the CLI output) - from my POV > this is duplicate information as every API call is already logged >

Re: [vpp-dev] Flowprobe Question

2017-11-13 Thread Ole Troan
Hi Johan, You have a route to 192.168.65.2? Nothing shows up in "show error"? You can look at test/test_flowprobe.py for examples. And you might also try a make test TEST=flowprobe to ensure your build works. On second pass on your configuration. You have enabled flow collection in the L2

Re: [vpp-dev] Deprecate [S]NAT APIs

2017-11-20 Thread Ole Troan
Jon, Thanks will do! Ole > On 20 Nov 2017, at 20:00, Jon Loeliger wrote: > > On Mon, Nov 20, 2017 at 9:59 AM, Neale Ranns (nranns) > wrote: > > From src/plugins/nat/nat.api > > /* > * Old "snat" APIs, will be deprecated after 17.10 > */ > > is it

Re: [vpp-dev] Import/includes in .api files

2017-11-20 Thread Ole Troan
> Since the beginning of time, we've been running .api files through the C > preprocessor. Put all of your "typeonly..." definitions in a file, and > #include it. Should work immediately. But not for any of the other language bindings... Ole > > Thanks to Damjan, there's only one copy of the

Re: [vpp-dev] Import/includes in .api files

2017-11-20 Thread Ole Troan
Dave, > Since the beginning of time, we've been running .api files through the C > preprocessor. Put all of your "typeonly..." definitions in a file, and > #include it. Should work immediately. > > Thanks to Damjan, there's only one copy of the suffix rule, in > .../src/suffix-rules.mk.

[vpp-dev] VPP @ IETF 100

2017-11-01 Thread Ole Troan
Guys, VPP is in a couple of projects at the IETF 100 Hackathon in Singapore. https://www.ietf.org/registration/MeetingWiki/wiki/100hackathon If you aren't able to join there, but are in Singapore later in the week. Would you be interested in a small VPP developer gathering? Lunch, dinner or

Re: [vpp-dev] some error in < make test TEST=test_papi >

2017-11-03 Thread Ole Troan
Holoo, Look in the log file or do make V=2. Cheers, Ole > On 3 Nov 2017, at 14:01, Holoo Gulakh wrote: > > Hi > I have got some errors when i use make test TEST=test_api, while all other > tests are ok: > >

Re: [vpp-dev] WHERE IS libpneum.so ???

2017-11-02 Thread Ole Troan
Hi, as Chris said it has been renamed to libvppapiclient.so First to update the wiki gets an ice cream in the mail! Best regards, Ole > On 2 Nov 2017, at 14:31, Holoo Gulakh wrote: > > Hi > I am installing VPP Python API > Here https://wiki.fd.io/view/VPP/Python_API >

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

Re: [vpp-dev] NFV with VPP

2017-12-06 Thread Ole Troan
Yuliang, > If I want to run a VNF chain (e.g., FW, NAT, IDS, VPN gateway...), what is > the normal way of running them with VPP? Do we run each VNF in a VM/container > and use VPP as a software switch, or run each VNF as a node in the VPP graph? > If it is the latter case, is there any open

Re: [vpp-dev] vpp-api-python depends on vpp (= 17.10-9~gd594711); however: Version of vpp on system is 17.10-release.

2017-12-05 Thread Ole Troan
Mirzaei, > I want to build vpp to integrate it with honeycomb according to this url, but > I failed in the at this command: > > $sudo dpkg -i *.deb > > the error : > > (Reading database ...

Re: [vpp-dev] 17.10 draft release notes

2017-10-25 Thread Ole Troan
Hi Florin, What about something like this? #!/usr/bin/env python import os, fnmatch, subprocess starttag = 'v17.07' endtag = 'v17.10-rc2' apifiles = [] for root, dirnames, filenames in os.walk('.'): for filename in fnmatch.filter(filenames, '*.api'):

Re: [vpp-dev] 17.10 draft release notes

2017-10-25 Thread Ole Troan
Florin, > Looks good to me. I’d add it after the list of APIs that changed. Is that > fine with you? > Sure is! Cheers Ole > Cheers, > Florin > >> On Oct 25, 2017, at 5:28 AM, Ole Troan <otr...@employees.org> wrote: >> >> Hi Florin, >>

Re: [vpp-dev] 17.10 draft release notes

2017-10-25 Thread Ole Troan
Thanks Jon, love that! So something like: git shortlog --format="* [%h] %s" v17.07..v17.10-rc2 -- *.api Cheers, Ole > On 25 Oct 2017, at 07:13, Jon Loeliger <j...@netgate.com> wrote: > > On Wed, Oct 25, 2017 at 7:28 AM, Ole Troan <otr...@employees.org>

Re: [vpp-dev] Python API for specific VPP instance

2018-05-04 Thread Ole Troan
Justin, > How can I "connect" to a specific instance of VPP through the python API ? > > Each instance (together, they form a topology) is run as follow: > sudo vpp unix { log /tmp/vpp1.log cli-listen /run/vpp/cli-vpp1.sock } > api-segment { prefix vpp1 } plugins { plugin dpdk_plugin.so {

Re: [vpp-dev] Query on VPP behaviour when IP from same subnet configured on plain and vlan interface

2018-05-14 Thread Ole Troan
> Thanks for the response. Any plans to differ this behaviour in future to > support multiple interfaces in the same subnet? How do you intend for that to work? (While IPv6 notionally has support for that, as far as I know no implementations support it. Best regards, Ole

Re: [vpp-dev] Query on VPP behaviour when IP from same subnet configured on plain and vlan interface

2018-05-15 Thread Ole Troan
Hi Bindiya, > Linux had allowed this configuration and test cases which were running on > Linux failed on VPP. > The reason why it had passed is that linux always picks up the 1st entry that > gets added in routing table i.e. plain interface while in VPP fib entry > always return last

Re: [vpp-dev] MTU in vpp

2018-05-09 Thread Ole Troan
> If dpdk plugin used, which is the default case in VPP, MTU to each interface > is set by retrieving MTU information from underlying DPDK PMD API: > rte_eth_dev_info_get(). So if the device supports max MTU say 9216 then that > will be configured. > > I don't think setting MTU via vpp cli or

Re: [vpp-dev] nat

2018-05-08 Thread Ole Troan
Gulakh, > I have used linux iptables for NAT, but now I want VPP nat. > > could you please give me some examples corresponding to the iptables one on > how to use VPP nat? > > e.g. iptables rule : ,vpp rule: yy https://wiki.fd.io/view/VPP/NAT Best regards,

Re: [vpp-dev] MTU in vpp

2018-05-09 Thread Ole Troan
> -- > Regards, > Akshaya N > > -Original Message- > From: Ole Troan <otr...@employees.org> > To: Nitin Saxena <nitin.sax...@cavium.com> > Cc: vpp-dev@lists.fd.io > Subject: Re: [vpp-dev] MTU in vpp > Date: Wed, 9 May 2018 10:18:02 +0200 > > >

Re: [vpp-dev] vpp project patch verification broken

2018-06-19 Thread Ole Troan
Hi Ed, > On 19 Jun 2018, at 17:24, Ed Kern (ejk) wrote: > > > >> On Jun 19, 2018, at 7:33 AM, Ole Troan wrote: >> >> Dave, et al, >> >> Yes, all these are indications of the verify job running a different (and >> cached) version of t

Re: [vpp-dev] creat mpls tunnel

2018-06-15 Thread Ole Troan
But you can easily just make your own names on interfaces. Just map sw_if_index to whatever you like in your user interface. Cheers, Ole > On 15 Jun 2018, at 05:43, Neale Ranns via Lists.Fd.Io > wrote: > > > You can’t with the current API. Nor can you with any other type of tunnel. > >

Re: [csit-dev] [vpp-dev] VPP make test gives false positive

2018-06-22 Thread Ole Troan
> 13188 is already merged. 13186 fails consistently locally too, investigating. I think this was introduced with a98346f664aae148d26a8e158008b773d73db96f Cheers, Ole > > From: vpp-dev@lists.fd.io On Behalf Of Ed Kern via > Lists.Fd.Io > Sent: Friday, June 22, 2018 12:07 PM > To: Jan Gelety

[vpp-dev] make test / verify status

2018-06-25 Thread Ole Troan
All, After a bit of a hiccup before the weekend, make test should now run cleanly. The root cause for this issue was the retry mechanism in the make test framework. When a test failed and was retried, it was possible that the test framework would give a false positive. That was fixed in:

Re: [vpp-dev] vpp project patch verification broken

2018-06-19 Thread Ole Troan
Dave, et al, Yes, all these are indications of the verify job running a different (and cached) version of the Python VPP package than the one in build tree. That stopped working as soon as I changed the in-tree one (and the caching system picking up and apparently being stuck with a broken

Re: [vpp-dev] Packet rate & throughput satistics for SW interfaces & Error Counters

2018-06-27 Thread Ole Troan
Hi Kingwei, Did you see the new stats infrastructure where counters where exported to a shared memory segment? Based on that you could write an external agent, that looked for example like top that would scrape the interface counters and display pps in real time. I think that would be a

Re: [vpp-dev] Python API - Issue with receiving statistics

2018-05-03 Thread Ole Troan
Hi Michael, > On 3 May 2018, at 20:24, Michael wrote: > > Hi, > > I am doing some tests with the Python API for VPP and I’ve run into some > problems with asynchronous operations. > > My current test script is loosely based on the examples from the wiki page - > I

Re: [vpp-dev] Heads up: VPPAPIGEN rewrite

2018-01-19 Thread Ole Troan
Jon, > So, I might caution that this runs the risk of introducing a whole bunch > of complexity and dependency where we might not need more. We > need better writing and a willingness to write more complete sentences > with an eye toward understanding that the details are maybe not yet > obvious

Re: [vpp-dev] Why is IP reassemble not supported in VPP?

2018-01-22 Thread Ole Troan
This is not an argument against implementing IP fragmentation and reassembly, but... > My question is why IP reassemble is not supported in VPP? It is > understandable that IP reassemble is not required for pure packet forwarding. > But as a router platform, there are also plenty of control

Re: [vpp-dev] RFC: Error Codes

2018-01-23 Thread Ole Troan
Dave, Jon, > On 22 Jan 2018, at 19:34, Dave Barach (dbarach) wrote: > > Dear Jon, > > That makes sense to me. Hopefully Ole will comment with respect to adding > statements of the form > > error { FOO_NOT_AVAILABLE, “Resource ‘foo’ is not available } ; > > to the new

Re: [vpp-dev] openSUSE build fails

2018-01-25 Thread Ole Troan
Hi Hongjun, > I have no OpenSUSE at hand, and could not give it a try. Neither do I. Ole > > From: Ole Troan [mailto:otr...@employees.org] > Sent: Friday, January 26, 2018 2:08 PM > To: Ni, Hongjun <hongjun...@intel.com> > Cc: Dave Barach (dbarach) <dbar..

Re: [vpp-dev] openSUSE build fails

2018-01-25 Thread Ole Troan
Hongjun, This looks suspect: 03:32:31 APIGEN vlibmemory/memclnt.api.h 03:32:31 JSON API vlibmemory/memclnt.api.json 03:32:31 SyntaxError: invalid syntax (vppapigentab.py, line 11) 03:32:31

[vpp-dev] Heads up: VPPAPIGEN rewrite

2018-01-17 Thread Ole Troan
Hi there, For a while there has been some interest in making the API language more explicit. This is a rewrite of the vppapigen generator with support for services {} (like grpc), enums, output plugins, better error checking. Currently supported is C/JSON output plugins. It also removes the

Re: [vpp-dev] Heads up: VPPAPIGEN rewrite

2018-01-18 Thread Ole Troan
Hi Jon, > Can we add to the "Future Plans" list? > I would like to see it draw a correlation between a message's actual > list of fields and the attempt at a documentation for those fields. > Specifically, there always seems to be some discrepancy and it is > hard to tell which to believe without

Re: [vpp-dev] Missing PLY ?

2018-01-24 Thread Ole Troan
>> Did you try the evergreen: >> >> make wipe >> make install-dep >> make build >> >> Yeah, have done a "make install-dep" a couple times now >> and it doesn't improve things at all. >> >> I seem to be using python 2.7.5. > > This seems to be working fine on centos7. They say ply is

Re: [vpp-dev] Building APIs outside of the VPP tree

2018-01-28 Thread Ole Troan
Thanks for fixing it Jon! I'm not sure there is anything much better than that. ;-) Cheers, Ole > On 28 Jan 2018, at 17:28, Jon Loeliger wrote: > > On Sat, Jan 27, 2018 at 3:37 PM, Jon Loeliger wrote: > Folks, > > I have updated to top-of-vpp master, now

Re: [vpp-dev] New Committer Nomination: Marco Varlese

2018-02-06 Thread Ole Troan
> In view of significant code contributions to the vpp project – see below – > I’m pleased to nominate Marco Varlese as a vpp project committer. I have high > confidence that he’ll be a major asset to the project in a committer role. > > Marco has contributed 46 merged patches, including

Re: [vpp-dev] RADIUS authentication #vpp

2018-02-22 Thread Ole Troan
> Hi devs! I want to know will there any plans for implementation RADIUS > authentication for policing and ACL to NAT plugin? > Im telling about VPP as RADIUS client. Not as far as I know. Feel free to make a patch or submit a request with more details of how this would work. Cheers, Ole

Re: [vpp-dev] bond

2018-01-03 Thread Ole Troan
Jim, > src/vnet/ethernet/ptp_ethernet* > > https://github.com/FDio/vpp/commit/15ac81c16fba83033090299413a3a2dbb848a0f9 P2P Ethernet is a different thing altogether. P2P Ethernet is a mechanism to emulate L3 P2P links on top of a shared (or non shared) Ethernet link. Ewan is asking for 802.3ad

Re: [vpp-dev] bond

2018-01-03 Thread Ole Troan
北京市朝阳区望京西路金隅国际G座2305 > 网站:http://www.telincn.com > > From: Ole Troan > Date: 2018-01-03 17:40 > To: Jim Thompson > CC: lin huang; yug...@telincn.com; vpp-dev > Subject: Re: [vpp-dev] bond > Jim, > > > src/vnet/ethernet/ptp_ethernet* > > > > https://g

Re: [vpp-dev] New Option for fd.io mailing lists: groups.io

2017-12-22 Thread Ole Troan
Two points: - What's their business model? Are we now going to be the product? - History has shown that doing mail correctly has been too hard for many... is there any indication that these people have clue? Or are they just focusing on "pretty" and lockin? Consider me skeptical, Ole > On 14

[vpp-dev] Verify consistently failing

2018-06-19 Thread Ole Troan
Seems like my patch https://gerrit.fd.io/r/#/c/13013/ broke the verification job. I provided a fix, but for some strange reason it seems like the verifiy build is stuck with the broken version of the vpp_papi package. This problem seems to persist even after I reverted 13013 with

Re: [vpp-dev] Large memory spike during make verify on ARM machine ThunderX

2018-08-03 Thread Ole Troan
Move the C++ language binding to extras? Ole > On 3 Aug 2018, at 12:45, Juraj Linkeš wrote: > > Hi Neale, > > Yea they do require a lot of memory - the same is true for x86. Is there a > way to specify the max number of these? Or is that done with -j? > > Would it be worthwhile to

Re: [vpp-dev] Synchronous VPP-client over SHM

2018-07-30 Thread Ole Troan
Hi, You can run synchronously, but then you need to find a way to deal with asynchronous events. Like the want_ apis. src/vpp-api/client has a knob to choose if you want the rx thread or not. Cheers Ole > On 30 Jul 2018, at 23:19, Gudimetla, Leela Sankar wrote: > > Hello, > > We are

Re: [vpp-dev] [**EXTERNAL**] RE: Synchronous VPP-client over SHM

2018-07-31 Thread Ole Troan
Hi Leela, I presume you want to do this in C? If so it might be worth looking at VAPI too as a higher level interface. Cheers Ole > On 31 Jul 2018, at 19:54, Gudimetla, Leela Sankar wrote: > > Thanks Dave for the details. Since the client is a single-threaded, I would > want to take a

Re: [**EXTERNAL**] Re: [vpp-dev] Synchronous VPP-client over SHM

2018-07-31 Thread Ole Troan
s instead. Cheers, Ole > > Thanks, > Leela sankar > > From: on behalf of Ole Troan > Date: Monday, July 30, 2018 at 3:24 PM > To: Leela Gudimetla > Cc: "vpp-dev@lists.fd.io" > Subject: [**EXTERNAL**] Re: [vpp-dev] Synchronous VPP-client over SHM > &g

Re: [vpp-dev] NAT Fragment Reassembly

2018-08-15 Thread Ole Troan
Jon, Thanks for bringing this up. In addition to Matus’ answer. There is a distinction to be made between forwarding and terminating traffic. And there is a nice grey middle ground between the two. Some features does forwarding on the transport header, like NAT, MAP-E, MAP-T and so on, those

Re: [vpp-dev] syslog in snat

2018-08-14 Thread Ole Troan
Hi Matt, > I see NAT syslog mentioned in the VPP 18.07 release notes > (https://docs.fd.io/vpp/18.07/release_notes_1807.html) but I'm unable to find > documentation on how to implement, any tips? Or are there examples somewhere? Currently only ipfix supported. Feel free to provide a patch. We

Re: [vpp-dev] Overlapping IP/subnet support on base/vlan interface

2018-08-14 Thread Ole Troan
Michael, > I have checked the latest code in master branch and confirm ” VPP does not > support multiple interfaces in the same subnet” is still true. > And I can understand the commit https://gerrit.fd.io/r/#/c/8057/ is to expand > the check of overlapping subnet to all interfaces in the same

Re: [vpp-dev] IP reassembly doesn't work in VPP 18.07

2018-08-06 Thread Ole Troan
Looks to me like it’s IPv4 fragmentation that fails, not reassembly. Currently fragmentation on buffer chains isn’t supported. Try this patch for an ugly hack: https://gerrit.fd.io/r/#/c/13918/ Cheers, Ole > On 6 Aug 2018, at 08:34, Ni, Hongjun wrote: > > Hi all, > > We performed below test

Re: [vpp-dev] IP reassembly doesn't work in VPP 18.07

2018-08-06 Thread Ole Troan
ckets, > then try to reassemble them, then fail. Is my understanding not right? > Thanks. From the trace it looks like it’s the ICMP echo response that’s getting fragmented (after the request was reassembled.). Cheers, Ole > > -Original Message- > From: vpp-dev@lists.fd.io On B

  1   2   3   4   5   >