aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/nat.api
diff options
context:
space:
mode:
authorFilip Varga <fivarga@cisco.com>2020-02-13 14:52:18 +0100
committerOle Trøan <otroan@employees.org>2020-02-20 09:29:41 +0000
commit98301bd5603ce691d809759ec444641953cb5caa (patch)
tree00db0e0d15d4faf4d5e3788df736301379e48e9b /src/plugins/nat/nat.api
parent1284f8c71da8ec35cba04351cf62cba7bdd7f847 (diff)
nat: user deletion function & extra metrics
Type: improvement Signed-off-by: Filip Varga <fivarga@cisco.com> Change-Id: Ia5dbfe864c18e953ff49147a9a4684d2ca14b96e
Diffstat (limited to 'src/plugins/nat/nat.api')
-rw-r--r--src/plugins/nat/nat.api13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/plugins/nat/nat.api b/src/plugins/nat/nat.api
index 0294d400966..4567cb5f99c 100644
--- a/src/plugins/nat/nat.api
+++ b/src/plugins/nat/nat.api
@@ -456,6 +456,19 @@ service {
* NAT44 APIs
*/
+/** \brief Del NAT44 user
+ @param client_index - opaque cookie to identify the sender
+ @param context - sender context, to match reply w/ request
+ @param ip_address - IPv4 address
+ @param fib_index - FIB index
+*/
+autoreply define nat44_del_user {
+ u32 client_index;
+ u32 context;
+ vl_api_ip4_address_t ip_address;
+ u32 fib_index;
+};
+
/** \brief Add/del NAT44 address range
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request