aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/nat44-ed/nat44_ed.api
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/nat/nat44-ed/nat44_ed.api')
-rw-r--r--src/plugins/nat/nat44-ed/nat44_ed.api24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/plugins/nat/nat44-ed/nat44_ed.api b/src/plugins/nat/nat44-ed/nat44_ed.api
index 6a2d44a6b9c..4028aa71d7b 100644
--- a/src/plugins/nat/nat44-ed/nat44_ed.api
+++ b/src/plugins/nat/nat44-ed/nat44_ed.api
@@ -56,6 +56,7 @@ enum nat44_config_flags : u8
NAT44_IS_OUT2IN_DPO
*/
autoreply define nat44_plugin_enable_disable {
+ option deprecated;
u32 client_index;
u32 context;
u32 inside_vrf;
@@ -69,6 +70,29 @@ autoreply define nat44_plugin_enable_disable {
vl_api_nat44_config_flags_t flags;
};
+/** \brief Enable/disable NAT44ED plugin
+ @param client_index - opaque cookie to identify the sender
+ @param context - sender context, to match reply w/ request
+ @param inside_vrf - inside vrf id
+ @param outside_vrf - outside vrf id
+ @param sessions - maximum number of sessions per thread
+ @param session_memory - overwrite hash allocation parameter
+ @param enable - true if enable, false if disable
+ @param flags - flag NAT44_IS_STATIC_MAPPING_ONLY,
+ NAT44_IS_CONNECTION_TRACKING
+*/
+autoreply define nat44_ed_plugin_enable_disable {
+ option in_progress;
+ u32 client_index;
+ u32 context;
+ u32 inside_vrf;
+ u32 outside_vrf;
+ u32 sessions;
+ u32 session_memory;
+ bool enable;
+ vl_api_nat44_config_flags_t flags;
+};
+
/** \brief Control ping from client to api server request
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request