Re: [vpp-dev] Some DS Lite Questions

2018-04-02 Thread Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES@Cisco)
This will not work properly

Matus


From: vpp-dev@lists.fd.io  On Behalf Of Jon Loeliger
Sent: Friday, March 30, 2018 3:08 PM
To: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] Some DS Lite Questions

On Thu, Mar 29, 2018 at 2:58 PM, Jon Loeliger 
mailto:j...@netgate.com>> wrote:
Matus, et al,

Is there no way to remove either the B4 or AFTR tunnel endpoint once it is set?

So, I see one can use "::".  Is that the expectation here?

jdl





Re: [vpp-dev] Some DS Lite Questions

2018-04-02 Thread Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES@Cisco)
Hi Jon,

Currently there is no way to remove B4/AFTR tunnel endpoint address.
You are right ip4_addr fields are not used now, for example this can be used to 
report ICMP problems in future.

There is no plan to make any of the NAT startup config parameters available via 
API now, patches are welcome. Set “deterministic” or “is_ce” flag require flush 
of the current NAT configuration/state.

Regards,
Matus

From: vpp-dev@lists.fd.io  On Behalf Of Jon Loeliger
Sent: Thursday, March 29, 2018 9:59 PM
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] Some DS Lite Questions

Matus, et al,

I am looking at the DS Lite CLI and API calls.  I have a few questions.

Is there no way to remove either the B4 or AFTR tunnel endpoint once it is set?

It seems there is maybe a missing dslite_pool_addr_dump API call?

Is there a future for the ip4_addr fields on the "set B4" and "set AFTR" API 
calls?

The CLI doesn't set them.  And while the Python API appears to be able to
set them, they are not used in any implementation anywhere.

Finally, is there any plan to make any of the NAT parameters (snat_config())
available via an API call?  I'm specifically thinking about the "deterministic"
and "is_ce" flags.  It seems these, and perhaps others, could be set at
API handling time if we all agreed it mean flushing the current NAT state
and re-initializing things?

Thanks,
jdl





Re: [vpp-dev] Some DS Lite Questions

2018-03-30 Thread Jon Loeliger
On Thu, Mar 29, 2018 at 2:58 PM, Jon Loeliger  wrote:

> Matus, et al,
>
> Is there no way to remove either the B4 or AFTR tunnel endpoint once it is
> set?
>

So, I see one can use "::".  Is that the expectation here?

jdl


[vpp-dev] Some DS Lite Questions

2018-03-29 Thread Jon Loeliger
Matus, et al,

I am looking at the DS Lite CLI and API calls.  I have a few questions.

Is there no way to remove either the B4 or AFTR tunnel endpoint once it is
set?

It seems there is maybe a missing dslite_pool_addr_dump API call?

Is there a future for the ip4_addr fields on the "set B4" and "set AFTR"
API calls?

The CLI doesn't set them.  And while the Python API appears to be able to
set them, they are not used in any implementation anywhere.

Finally, is there any plan to make any of the NAT parameters (snat_config())
available via an API call?  I'm specifically thinking about the
"deterministic"
and "is_ce" flags.  It seems these, and perhaps others, could be set at
API handling time if we all agreed it mean flushing the current NAT state
and re-initializing things?

Thanks,
jdl