Re: [vpp-dev] Set up MPLS via jvpp

2017-08-21 Thread Andrej Mak
This is the request I’m using: IpAddDelRoute{nextHopSwIfIndex=1, tableId=2, classifyTableIndex=0, nextHopTableId=0, createVrfIfNeeded=0, isAdd=1, isDrop=0, isUnreach=0, isProhibit=0, isIpv6=0, isLocal=0, isClassify=0, isMultipath=0, isResolveHost=0, isResolveAttached=0, notLast=0, nextHopWeight

Re: [vpp-dev] Set up MPLS via jvpp

2017-08-21 Thread Neale Ranns (nranns)
Hi Andrej, Can you please show me exactly was data is passed across the API? Thanks, Neale From: Andrej Mak Date: Monday, 21 August 2017 at 07:05 To: "Neale Ranns (nranns)" , "Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco)" , "vpp-dev@lists.fd.io" Subject: RE: Set up MPLS via

Re: [vpp-dev] Set up MPLS via jvpp

2017-08-20 Thread Andrej Mak
Hi Neale, I’ve tested it without Honeycomb, I’ve just created simple jvpp app with IpAddDelRoute request as stated bellow. Here is the entry created via jvpp: vpp# sh ip fib index 2 10.10.2.3/32 detail ipv4-VRF:2, fib_index:2, flow hash:[src dst sport dport proto ] locks:1 10.10.2.3/32 fib:2 i

Re: [vpp-dev] Set up MPLS via jvpp

2017-08-18 Thread Neale Ranns (nranns)
Hi Marek, I don’t see anything wrong with the construction of the request. Can you please show me the HC logs of the message sent and also sh ip fib index 2 10.10.2.3/32 detail this API is used a lot in the unit-tests so I have some confidence that works under normal circumstances regards,

Re: [vpp-dev] Set up MPLS via jvpp

2017-08-17 Thread Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco)
Hi, So I was wrong. I haven't noticed next_hop_n_out_labels is u8... Neal: any idea why labels are not added? Regards, Marek From: Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco) Sent: 17 sierpnia 2017 12:17 To: 'Andrej Mak' ; vpp-dev@lists.fd.io Cc: Neale Ranns (nranns) Subject: R

Re: [vpp-dev] Set up MPLS via jvpp

2017-08-17 Thread Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco)
Hi, I think it is a bug in the C handler of the ip_add_del_route message. Byte order for next_hop_n_out_labels is not flipped. Please check if this fixes the issue: https://gerrit.fd.io/r/#/c/8080/ Regards, Marek From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behal