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)
, Matus From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Jon Loeliger Sent: Tuesday, February 14, 2017 11:15 PM To: vpp-dev Subject: [vpp-dev] SNAT API Question VPPers, Somewhat recently, (commit 36532bda926f5255a323c9cac3144dd758a05667), the

[vpp-dev] SNAT API Question

2017-02-14 Thread Jon Loeliger
VPPers, Somewhat recently, (commit 36532bda926f5255a323c9cac3144dd758a05667), the external_sw_if_index was added to the SNAT API snat_add_static_mapping message. However, when dumping the static mappings with snat_static_mapping_dump the corresponding snat_static_mapping_details does not contain