cnat: Add calico/k8s src policy 87/28587/39
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>
Thu, 25 Feb 2021 16:42:50 +0000 (17:42 +0100)
committerDave Barach <openvpp@barachs.net>
Thu, 4 Mar 2021 12:35:15 +0000 (12:35 +0000)
commit516b0adf6d8bbc6533ab58d7add96ec74d8be05a
tree57cc09232a708ee6510ded4f00c3e9e0745e3b8e
parent3fd77f7dea1ac91c5b4c9ede69b992a4e2243153
cnat: Add calico/k8s src policy

This patch implements k8s-specific extensions
to the cnat plugin.

This could be done by exposing a richer semantic
on srcNAT policies, but this might be too complex
work at this point. Also k8s fits quite well as a
'cloud NAT' usecase.

Type: feature

Change-Id: I2266daf7b10a92e65f5ed430838a12ae826bd333
Signed-off-by: Aloys Augustin <aloaugus@cisco.com>
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
src/plugins/cnat/cnat.api
src/plugins/cnat/cnat_snat_policy.c
src/plugins/cnat/cnat_snat_policy.h