Re: [vpp-dev] SNAT API Question

2017-02-21 Thread Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco)
Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) Cc: vpp-dev Subject: Re: [vpp-dev] SNAT API Question Jon, Comments inline... On 02/20/2017 03:14 PM, Jon Loeliger wrote: Hi Matus, Thanks for your answers here. On Sat, Feb 18, 2017 at 12:36 AM, Matus Fabian -X (matfabia - PANTHEON

Re: [vpp-dev] SNAT API Question

2017-02-21 Thread Dave Wallace
Jon, Comments inline... On 02/20/2017 03:14 PM, Jon Loeliger wrote: Hi Matus, Thanks for your answers here. On Sat, Feb 18, 2017 at 12:36 AM, Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) > wrote: If external_sw_if_index value is ~0 (-1) externa

Re: [vpp-dev] SNAT API Question

2017-02-20 Thread Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco)
Hi Jon, comments inline, Matus From: Jon Loeliger [mailto:j...@netgate.com] Sent: Monday, February 20, 2017 9:14 PM To: Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) Cc: vpp-dev Subject: Re: [vpp-dev] SNAT API Question Hi Matus, Thanks for your answers here. On Sat, Feb 18

Re: [vpp-dev] SNAT API Question

2017-02-20 Thread Jon Loeliger
Hi Matus, Thanks for your answers here. On Sat, Feb 18, 2017 at 12:36 AM, Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) wrote: > If external_sw_if_index value is ~0 (-1) external_ip_address is ussed from > API (snat.c line 363). > OK, I see that in the code, but it is nowhere des

Re: [vpp-dev] SNAT API Question

2017-02-17 Thread Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco)
09 PM To: Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) Cc: vpp-dev Subject: Re: [vpp-dev] SNAT API Question On Tue, Feb 14, 2017 at 11:52 PM, Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) mailto:matfa...@cisco.com>> wrote: Hi Jon, snat_static_mapping_dum

Re: [vpp-dev] SNAT API Question

2017-02-17 Thread Jon Loeliger
On Tue, Feb 14, 2017 at 11:52 PM, Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) wrote: > Hi Jon, > > > > snat_static_mapping_dump list only static mappings with resolved outside > address so snat_static_mapping_details doesn’t contain > external_sw_if_index. But we missing read API

Re: [vpp-dev] SNAT API Question

2017-02-14 Thread Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco)
Hi Jon, snat_static_mapping_dump list only static mappings with resolved outside address so snat_static_mapping_details doesn’t contain external_sw_if_index. But we missing read API for static mappigs with unresolved outside address, I will add those to snat_static_mapping_dump too. Thanks, Ma