From: Ondrej Fabry Date: Wed, 26 Apr 2023 22:00:20 +0000 (+0200) Subject: api: nat44_ed - Mark old message versions as deprecated X-Git-Tag: v24.02-rc0~197 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F47%2F38647%2F4;p=vpp.git api: nat44_ed - Mark old message versions as deprecated List of changed messages: - nat44_add_del_static_mapping - nat44_user_session_dump - nat44_user_session_details - nat44_user_session_v2_dump - nat44_user_session_v2_details This change is part of VPP API cleanup initiative. Type: fix Signed-off-by: Ondrej Fabry Change-Id: I317ae93a0e763c3759a8c24fd550e1c97f6f4987 --- diff --git a/src/plugins/nat/nat44-ed/nat44_ed.api b/src/plugins/nat/nat44-ed/nat44_ed.api index ad4ad698be0..322260f7f96 100644 --- a/src/plugins/nat/nat44-ed/nat44_ed.api +++ b/src/plugins/nat/nat44-ed/nat44_ed.api @@ -522,6 +522,8 @@ define nat44_ed_output_interface_details @param tag - opaque string tag */ autoreply define nat44_add_del_static_mapping { + option deprecated; + u32 client_index; u32 context; bool is_add; @@ -829,6 +831,8 @@ define nat44_user_details { @param vrf_id - VRF_ID */ define nat44_user_session_dump { + option deprecated; + u32 client_index; u32 context; vl_api_ip4_address_t ip_address; @@ -857,6 +861,8 @@ define nat44_user_session_dump { twice-nat session) */ define nat44_user_session_details { + option deprecated; + u32 context; vl_api_ip4_address_t outside_ip_address; u16 outside_port; @@ -880,6 +886,8 @@ define nat44_user_session_details { @param vrf_id - VRF_ID */ define nat44_user_session_v2_dump { + option deprecated; + u32 client_index; u32 context; vl_api_ip4_address_t ip_address; @@ -910,6 +918,8 @@ define nat44_user_session_v2_dump { is active */ define nat44_user_session_v2_details { + option deprecated; + u32 context; vl_api_ip4_address_t outside_ip_address; u16 outside_port;