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

2017-11-15 Thread Ole Troan (otroan)
> The concern would be that without CI you have very limited visibility into > the impact of the patches pre-merge. The automation at fd.io does a *lot* > for you… Absolutely. For the hackathons CI was an order or two of magnitude too slow. And we would be doing the testing there and then. I

Re: [vpp-dev] jvpp core future test failure (gerrit 8743)

2017-10-13 Thread Ole Troan (otroan)
s/map/dns if you were to cut and paste. #define vl_msg_name_crc_list #include #undef vl_msg_name_crc_list static void setup_message_id_table (api_main_t * am) { #define _(id,n,crc) vl_msg_api_add_msg_name_crc (am, #n "_" #crc, id); foreach_vl_msg_name_crc_dns; #undef _ } Ole On 13 Oct

Re: [vpp-dev] jvpp core future test failure (gerrit 8743)

2017-10-13 Thread Ole Troan (otroan)
Dear Dave, I wonder if you forgot to hookup the messages in the CRC dictionary? #define vl_msg_name_crc_list #include #undef vl_msg_name_crc_list static void setup_message_id_table (api_main_t * am) { #define _(id,n,crc) vl_msg_api_add_msg_name_crc (am, #n "_" #crc, id);

Re: [vpp-dev] plugins/flowprobe vs. vnet/flow

2017-06-16 Thread otroan
the Choonho, > flowprobe and flow looks like ipfix. > What is difference? in short, src/vnet/flow is the "exporting process" and src/plugins/flowprobe is the "metering process". flowprobe supports stateful L2, IP4, IP6 flows with reporting of L2, L3 and L4 information. the exporter only

Re: [vpp-dev] ALG

2017-06-16 Thread otroan
Hi Denis, > Today we are testing SNAT plugin and PPTP connection by public ip and this is > not working. > Both machines have a static mapping, we are testing pptp by snat hairpin. > Even if one machine (in outside VPP netwrok) can trying to connect to machine > in inside VPP network (with

Re: [vpp-dev] 17.04 dot releases not pushed to Nexus

2017-06-16 Thread otroan
Hi Billy, > I noticed that 17.04.1 and 17.04.2 releases were not pushed to Nexus (or I'm > looking in the wrong spot). I think they should be but was wondering if there > was a reason they weren't. > > Example: > >

Re: [vpp-dev] plugins/flowprobe vs. vnet/flow

2017-06-16 Thread otroan
> the Choonho, s/the/Dear// :-) > >> flowprobe and flow looks like ipfix. >> What is difference? > > in short, src/vnet/flow is the "exporting process" and src/plugins/flowprobe > is the "metering process". > > flowprobe supports stateful L2, IP4, IP6 flows with reporting of L2, L3 and > L4

Re: [vpp-dev] ALG

2017-06-14 Thread otroan
Hi Denis, > We are trying to test SIP to asterisk (which outside VPP network) port 5060 > UDP and its work normaly via SNAT plugin (static and dynamic nat working > well).Also we are trying to test SIP to yate (minimal sip server) inside VPP > network with SNAT hairpin and its work correctly

Re: [vpp-dev] VPP API improvements - community discussion.

2017-06-13 Thread otroan
Jon, > I don't know about user friendly; I can wade through the technical details. > > I think one thing that is annoying about the API is a lack of consistency. > Here are some examples: > >- Sometimes the flag is "u8 is_ipv4", other times it is "u8 is_ipv6". >- Sometimes the flag is

Re: [vpp-dev] ALG

2017-06-13 Thread otroan
Denis, > Hi! Im working on Internet service provider, and ALG require for clients > which connected to their offices via pptp, sip, etc. > But current SNAT plugin in master (build #2482) doesnt support pptp proto > inside (maybe sip also). Yeah, don't use PPTP. Insecure and broken. SIP

Re: [vpp-dev] How to get interface stats using python api?

2017-06-13 Thread otroan
Weitao, > I noticed that in interface.api. > > manual_print manual_endian define vnet_interface_combined_counters > { > /* enums - plural - in vnet/interface.h */ > u8 vnet_counter_type; > u32 first_sw_if_index; > u32 count; > vl_api_vlib_counter_t data[count]; > }; > > > Should

Re: [vpp-dev] How to get interface stats using python api?

2017-06-13 Thread otroan
Hi again, > I tried the method you told me, but the data that I got is '\x00'. > > Like this, vnet_interface_counters(_0=49, vnet_counter_type=1, is_combined=1, > first_sw_if_index=0, count=7, data='\x00\x00\x00\x00\x00\x00\x00') > > I don't why this happened. Ah, yes sorry. Forgot to tell

Re: [vpp-dev] How to get interface stats using python api?

2017-06-13 Thread otroan
Hello, > How to get interface stats using python api? > For example, I want to know "GigabitEthernete/0/1" rx packets, what shoud I > do? You register for stats with the want_stats call. Before that you must register an event handler with VPP.register_event_callback Then that callback will be

Re: [vpp-dev] VPP Node Debug

2017-06-06 Thread otroan
Hi Alessio, If you want to extend what I did (with the punt socket. You need to also start VPP with: punt { socket } Then you should see the print messages you added in on the VPP console / cli. Best regards, Ole > On 5 Jun 2017, at 19:49, Alessio Silvestro wrote: >

Re: [vpp-dev] VPP Node Debug

2017-06-02 Thread otroan
Alessio, Run in the foreground with unix { interactive }. And directly from a the build directory. The vagrant stuff is mostly useful for demo and first look. Sounds like you really want to do some development. Cheers, Ole > On 2 Jun 2017, at 13:31, Alessio Silvestro

Re: [vpp-dev] VPP & UDP Traffic

2017-05-30 Thread otroan
Alessio, I also did an experimental patch to drop chosen UDP packets to a UDS socket. https://gerrit.fd.io/r/#/c/6721/ Currently being used for integration with DHCPKIT. Cheers, Ole > On 30 May 2017, at 19:37, Florin Coras wrote: > > Hi Alessio, > > Take a look at

Re: [vpp-dev] OPENFLOW

2017-05-30 Thread otroan
Hi there Ewan, > Is there any plan to surpport openflow? I thought that particular unicorn was dead. ;-) But if you find a problem openflow solves... What are you trying to do? Best regards, Ole signature.asc Description: Message signed with OpenPGP

Re: [vpp-dev] ALG

2017-05-26 Thread otroan
Hi there, > Many applications have two channels, one is data channel, the other is > control channel, both have different ports, > so we need ALG to help these protocols to cut through FW, i think it is a > pretty important feature and > it has been surpported by almost every manufacturer on

Re: [vpp-dev] ALG

2017-05-23 Thread otroan
Hi Ewan, > Is there any plan to surpport ALG? I am quite the non-believer with regards to ALGs. But you can always make a proposal. What ALGs do you need and why? Best regards, Ole signature.asc Description: Message signed with OpenPGP ___ vpp-dev

Re: [vpp-dev] five tuple nat

2017-05-20 Thread otroan
t; > Regards, > Ewan > ewan > > From: otroan > Date: 2017-04-25 16:06 > To: yugang > CC: vpp-dev > Subject: Re: [vpp-dev] five tuple nat > Ewan, > > > Do we have any plan to surpport five tuple nat like linux kernel? > > That should already be supporte

Re: [vpp-dev] sharding in tunnel

2017-05-08 Thread otroan
; > Thanks, > xyxue > > From: xy...@fiberhome.com > Date: 2017-05-08 15:42 > To: otroan > CC: vpp-dev > Subject: Re: Re: [vpp-dev] sharding in tunnel > > I'm sorry I didn't say it clearly. > My questions: > Does the VPP support ip fragment in GRE、L2TP、MPLS tu

Re: [vpp-dev] sharding in tunnel

2017-05-08 Thread otroan
> When the IP message enters the GRE、L2TP、MPLS tunnel, does the VPP support > sharding? I'm not quite sure what "sharding" would mean in this context. Are you thinking of point to multipoint tunnels? Or ECMP to a set of anycast tunnel destinations or something completely different? Cheers, Ole

Re: [vpp-dev] Host with FDIO not acquiring global IPV6 address from ICMPv6 RA advertisement

2017-05-04 Thread otroan
Senthil, > >A host with FDIO enable is connected to a Linux server with IPv6 > forwarding enabled. The host does not acquire global IP address reacting to > the RA message from the router. > Is there any configuration that has to be explicitly enabled in Host FDIO > so that it forms

Re: [vpp-dev] vpp_papi: No such message type or failed CRC checksum

2017-04-27 Thread otroan
Weitao, > I installed vpp 17.04 release in a new clean ubuntu 16.04 server, except > that, I did nothing. > > When I first connect vpp using python api, the terminal show those DEBUG > messages. > > Is this phenomenon right? No. Turns out that the CRC table wasn't setup correctly for

Re: [vpp-dev] How can I get API messages IDs?

2017-04-25 Thread otroan
Weitao, > I'm using Python binding for the VPP API. I want to receive some asynchronous > messages and use the register_event_callback to register a > papi_event_handler, just like wiki Python Language Binding does. > > But I dont know how to distinguish what kind of messages I received >

Re: [vpp-dev] vpp_papi: No such message type or failed CRC checksum

2017-04-25 Thread otroan
Hi, This means that you give the Python API a JSON definition for an API message not available on the running VPP instance. That might be caused by a plugin not loaded, version mismatch... Best regards, Ole > When I try to connect vpp using python api, it shows the debug messages. > > My

Re: [vpp-dev] How can I get API messages IDs?

2017-04-25 Thread otroan
Hi, > Every API message has a ID number, where can I get the specific number? The API client gets the message dictionary on connect. The message ID numbers depend on the plugins loaded and so on. There is an API where you can map name to ID. vppapiclient.h: int vac_get_msg_index(unsigned char

Re: [vpp-dev] five tuple nat

2017-04-25 Thread otroan
Ewan, > Do we have any plan to surpport five tuple nat like linux kernel? That should already be supported in the SNAT plugin. https://wiki.fd.io/view/VPP/SNAT Best regards, Ole signature.asc Description: Message signed with OpenPGP ___ vpp-dev

Re: [vpp-dev] VPP 17.04 released

2017-04-20 Thread otroan
Chris, > But also, eek! I think the 17.01 release notes didn't get dual-committed last > time around. It's empty. > > I'm about to head out; I'll rustle that up when I get home if nobody else > beats me to it. Merged in the 1701 release notes into stable/1704 and master now. So a) we'll be OK

[vpp-dev] VPP 17.04 released

2017-04-19 Thread otroan
The images are built, the wiki is updated (let me know if something has been missed). Release notes: https://docs.fd.io/vpp/17.04/release_notes_1704.html Images at: https://nexus.fd.io/ Best regards, Ole signature.asc Description: Message signed with OpenPGP

Re: [vpp-dev] snat plugin make failed

2017-04-18 Thread otroan
Hi Juan, I am not familiar with the Java stuff. I did remember having seen something similar in the past, but not lately. Can you reproduce this on 17.04 or latest master? Best regards, Ole > On 16 Apr 2017, at 09:44, Juan Salmon wrote: > > Hi, > > I used VPP

Re: [vpp-dev] VPP project committer nomination: Sergio Gonzales Monroy

2017-03-27 Thread otroan
+1. Best regards, Ole > On 27 Mar 2017, at 06:12, Damjan Marion (damarion) wrote: > > > Hello VPP committers, > > I would like to nominate Sergio Gonzales Monroy as a VPP project committer. > > History of Sergio’s merged contributions to the VPP project: > >

Re: [vpp-dev] vpp-api python error during vpp installation

2017-03-25 Thread otroan
Hi Igor, > I've been trying configuring and installing vpp packages, but at the end of > the .deb packages this error appears as show in the attatched image. Does > anyone know how to fix it ? There should be a fix for this in: https://gerrit.fd.io/r/#/c/5799/ It is waiting for a dependency

[vpp-dev] VPP 17.04 RC1 - stable/1704 pulled

2017-03-22 Thread otroan
All, The stable/1704 branch has been pulled and tags have been laid. Master is now open again for all changes. With regards to stable/1704 (from the release wiki): Once we've pulled the 17.04 release throttle We need to be disciplined with respect to bugfix commits. Here are a few common-sense

Re: [vpp-dev] VPP Python API for create host-interface ?

2017-03-21 Thread otroan
Hi there, > I am running the latest vpp code from master branch. > I am looking at the python APIs that vpp provides. > I am specifically trying to find the API for the following cli command - > create host-interface [] > > I could not find where exactly this is defined in the json files in >

Re: [vpp-dev] Make pkg-rpm seems to be failing...

2017-03-19 Thread otroan
> On 19 Mar 2017, at 05:03, Burt Silverman wrote: > > I may have found it. Install python2-rpm-macros from yum. Also install > python-rpm-macros. It's looking good. > > Hopefully Ed or Ole can make sure those are part of the install-deps: unlike > some other things, these

Re: [vpp-dev] Make pkg-rpm seems to be failing...

2017-03-17 Thread otroan
Hi Jon, > So, the "make pkg-rpm" target seems to be failing near a > line like this: > > # Python bindings > cd /home/jdl/workspace/vpp/build-root/../src/vpp-api/python > %py2_install > > That is from the RPM tmp file. The actual log of the error follows. > > Anyone?

Re: [vpp-dev] Missing lib pneum during build?

2017-03-17 Thread otroan
Jon, > > I am no fairly confident that this patch fixes the race condition issue > that I was seeing. > > Now. I am now failry confident > > And I am still seeing the build failure. Is there any chance > of getting this patch or a similar fix in place? Yes, that should now be taken care

[vpp-dev] Fixed offset from UTC meeting time?

2017-03-14 Thread otroan
All, It was a very quiet meeting at 1600UTC today... Could we in the future have the meeting time set fixed against UTC so that we avoid any confusion whenever different regions of the world randomly chooses to move their clocks forward or backward? Best regards, Ole signature.asc

Re: [vpp-dev] Missing lib pneum during build?

2017-03-08 Thread otroan
Jon, > On 8 Mar 2017, at 01:34, Jon Loeliger wrote: > > On Mon, Mar 6, 2017 at 2:57 PM, Jon Loeliger wrote: > > Hi Billy, > > S, despite the Peanut Gallery, I'm not yet crazy... :-) > > Now all we have to do is find the missing dependency in a

[vpp-dev] VPP API Freeze date coming up -- March 8

2017-03-02 Thread otroan
All, Please refer to the 17.04 release plan: https://wiki.fd.io/view/Projects/vpp/Release_Plans/Release_Plan_17.04 Any/all binary API changes must be merged no later than the F0 date, March 8th. Otherwise they will not make the 17.04 release. Other projects depend on that for their release

Re: [vpp-dev] Traceback Seen in invoke Python APIs with Parameters

2017-02-18 Thread Ole Troan (otroan)
Hi Hang, You have to use named arguments. Change in 17.01. Best regards, Ole > On 18 Feb 2017, at 19:13, Hang Shi wrote: > > Hi, > > I am trying to use VPP python APIs and seeing the tracebacks (see below) for > Python APIs with parameters, while Python APIs without

[vpp-dev] VPP 17.04: Week 5 status

2017-02-07 Thread otroan
Hi, As the designated release manager for 17.04 I thought I should put together a weekly status per email. Please let me know if you find this useful (or hopefully not, cause then I'll stop doing it). ;-) Last week we had 43 commits. cisco.com 35 (68.63%) netgate.com 6 (11.76%)

Re: [vpp-dev] Router advertisment api

2017-02-06 Thread otroan
Hi Marek, > I am looking into adding support for SLAAC configuration to Honeycomb. > It looks like it can be configured from CLI using ip6 nd command. The API also looks complete. > And here come my questions: > > 1) Is there a difference between off-link and no-onlink flags (docs say >

Re: [vpp-dev] Weird VPP API message processing failure

2017-01-17 Thread otroan
> We have seen a similar issue related to the same ‘API refactoring : dpdk’ > change. > We are using an external API binding layer in C-language in our VPP based > solution. > After the change, it took some digging to add –DDPDK=1 to get things back to > working. > > Looking forward, should it

Re: [vpp-dev] Weird VPP API message processing failure

2017-01-17 Thread otroan
Hi Jon, > We are seeing a really strange VPP API message processing problem. > The scenario goes like this... > > Our CLI issues C API calls through the vlib API. The messages hit > the shared memory queue, but are not processed. They sit there. Is it VPP that does not process the messages or

Re: [vpp-dev] Committer / Maintainer model.

2016-12-21 Thread Ole Troan (otroan)
Ray, > Well if they are a 'committer' then dispense with the extra bureaucracy and > give them commit rights? It's a matter of granularity really. I could certainly imagine myself only having control of vnet/map and not want to have responsibility or authority over anything else. When it

Re: [vpp-dev] Heads up: make test + API changes.

2016-12-07 Thread otroan
What ho, > The new API Python changes also requires some changes to the test > infrastructure in test/ > Working out the issues now, expect to commit this evening. Until then don't > expect exhilarating happiness from make test. "make test" should be all good to go now. I noticed a couple of

Re: [vpp-dev] VPP policy imposition meeting

2016-11-02 Thread otroan
Keith, I'd certainly like to participate in that. Would it be possible to do it Friday or next week? (And for Europeans remember that the US is still on daylight savings time.) Best regards, Ole > On 1 Nov 2016, at 01:26, Keith Burns wrote: > > I scheduled a meeting on

Re: [vpp-dev] VPP project committer nomination: Neale Ranns

2016-10-27 Thread otroan
> Would the current vpp committers please vote (+1, 0, -1) by email to > vpp-dev@lists.fd.io no later than Tuesday, 11/1 at 11:59pm EDT? +1 (without doubt). Cheers, Ole ___ vpp-dev mailing list vpp-dev@lists.fd.io