|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
17 import "vnet/ip/ip_types.api";
18 import "vnet/interface_types.api";
19 import "plugins/nat/lib/nat_types.api";
58 autoreply define nat44_plugin_enable_disable {
70 vl_api_nat44_config_flags_t
flags;
84 autoreply define nat44_ed_plugin_enable_disable {
93 vl_api_nat44_config_flags_t
flags;
100 define nat_control_ping
113 define nat_control_ping_reply
126 define nat_show_config
154 define nat_show_config_reply
182 define nat_show_config_2
212 define nat_show_config_2_reply
242 define nat44_show_running_config
268 define nat44_show_running_config_reply
291 autoreply define nat44_session_cleanup {
315 autoreply define nat_set_log_level {
327 autoreply define nat_set_workers {
337 define nat_worker_dump {
348 define nat_worker_details {
362 autoreply define nat_ipfix_enable_disable {
379 autoreply define nat_set_timeouts {
393 define nat_get_timeouts {
407 define nat_get_timeouts_reply {
429 autoreply define nat_set_addr_and_port_alloc_alg {
444 define nat_get_addr_and_port_alloc_alg {
461 define nat_get_addr_and_port_alloc_alg_reply {
478 autoreply define nat_set_mss_clamping {
489 define nat_get_mss_clamping {
500 define nat_get_mss_clamping_reply {
554 define nat_ha_get_listener_reply {
579 define nat_ha_get_failover_reply {
617 define nat_ha_resync_completed_event
634 autoreply define nat44_del_user {
651 autoreply define nat44_add_del_address_range {
665 define nat44_address_dump {
676 define nat44_address_details {
691 autoreply define nat44_interface_add_del_feature {
703 define nat44_interface_dump {
716 define nat44_interface_details {
731 autoreply define nat44_interface_add_del_output_feature {
743 define nat44_interface_output_feature_dump {
754 define nat44_interface_output_feature_details {
781 autoreply define nat44_add_del_static_mapping {
819 autoreply define nat44_add_del_static_mapping_v2 {
841 define nat44_static_mapping_dump {
863 define nat44_static_mapping_details {
889 autoreply define nat44_add_del_identity_mapping {
906 define nat44_identity_mapping_dump {
921 define nat44_identity_mapping_details {
939 autoreply define nat44_add_del_interface_addr {
951 define nat44_interface_addr_dump {
962 define nat44_interface_addr_details {
972 define nat44_user_dump {
984 define nat44_user_details {
998 define nat44_user_session_dump {
1026 define nat44_user_session_details {
1050 vl_api_ip4_address_t
addr;
1085 vl_api_nat44_lb_addr_port_t locals[local_num];
1111 define nat44_lb_static_mapping_dump {
1132 define nat44_lb_static_mapping_details {
1141 vl_api_nat44_lb_addr_port_t locals[local_num];
1158 autoreply define nat44_del_session {
1177 autoreply define nat44_forwarding_enable_disable {
1188 define nat44_forwarding_is_enabled {
1198 define nat44_forwarding_is_enabled_reply {
1209 autoreply define nat44_ed_set_fq_options {
1220 define nat44_ed_show_fq_options
1232 define nat44_ed_show_fq_options_reply
u64 nat64_bib_memory_size
vl_api_nat_config_flags_t flags
vl_api_nat_timeouts_t timeouts
vl_api_nat_config_flags_t flags
Show NAT handoff frame queue options reply.
vl_api_interface_index_t sw_if_index
Run nat44 garbage collection.
Show NAT44 plugin running config reply.
vl_api_ip4_address_t external_addr
vl_api_nat44_config_flags_t flags
void nat_ha_get_listener(ip4_address_t *addr, u16 *port, u32 *path_mtu)
Get HA listener/local configuration.
void nat_ha_flush(u8 is_resync)
Flush the current HA data (for testing)
Get values of timeouts for NAT sessions (seconds)
bool ipfix_logging_enabled
u32 session_refresh_interval
vl_api_interface_index_t sw_if_index
Add/delete NAT44 load-balancing static mapping rule backend.
vl_api_nat_config_flags_t flags
u32 max_translations_per_user
vl_api_interface_index_t sw_if_index
vl_api_ip4_address_t external_ip_address
NAT44 interface details response.
vl_api_interface_index_t sw_if_index
Get HA failover/remote settings.
Show NAT plugin startup config.
vl_api_ip4_address_t external_ip_address
vl_api_interface_index_t sw_if_index
u32 session_refresh_interval
vl_api_nat_config_flags_t flags
Get HA listener/local configuration reply.
Set values of timeouts for NAT sessions (seconds)
vl_api_nat_config_flags_t flags
Dump NAT44 static mappings.
vl_api_ip4_address_t ip_address
typedef nat44_lb_addr_port
NAT44 load-balancing address and port pair.
Resync HA (resend existing sessions to new failover)
Enable/disable NAT44ED plugin.
vl_api_nat_config_flags_t flags
vl_api_ip4_address_t ext_host_nat_address
Set TCP MSS rewriting configuration.
vl_api_ip4_address_t outside_ip_address
Control ping from the client to the server response.
@ NAT44_IS_STATIC_MAPPING_ONLY
vl_api_ip4_address_t local_ip_address
Response to check if forwarding is enabled or disabled.
Set HA failover (remote settings)
vl_api_interface_index_t sw_if_index
vl_api_ip4_address_t external_addr
vl_api_nat_config_flags_t flags
NAT44 load-balancing static mapping rule details response.
vl_api_nat44_config_flags_t flags
vl_api_ip4_address_t pool_ip_address
Get address and port assignment algorithm.
Get values of timeouts for NAT sessions reply.
vl_api_ip4_address_t external_addr
@ NAT44_IS_ENDPOINT_INDEPENDENT
u32 max_translations_per_user
Dump interfaces with NAT44 feature.
Enable/disable NAT IPFIX logging.
vl_api_nat_config_flags_t flags
int nat44_lb_static_mapping_add_del_local(ip4_address_t e_addr, u16 e_port, ip4_address_t l_addr, u16 l_port, nat_protocol_t proto, u32 vrf_id, u8 probability, u8 is_add)
vl_api_ip4_address_t local_ip_address
Set HA listener (local settings)
NAT44 static mapping details response.
Flush the current HA data (for testing)
NAT44 pool addresses interfaces details response.
Set NAT handoff frame queue options.
vl_api_nat_config_flags_t flags
bool static_mapping_connection_tracking
u64 nat64_bib_memory_size
vl_api_nat_config_flags_t flags
vl_api_ip4_address_t last_ip_address
static perfmon_event_t events[]
Set address and port assignment algorithm.
vl_api_interface_index_t sw_if_index
int nat44_set_session_limit(u32 session_limit, u32 vrf_id)
Set NAT44 session limit (session limit, vrf id)
Dump NAT44 pool addresses interfaces.
Dump NAT44 load-balancing static mapping rules.
vl_api_ip4_address_t address
Tell client about a HA resync completion event.
Show NAT plugin startup config.
vl_api_ip4_address_t ip_address
Add/delete NAT44 identity mapping.
vl_api_ip4_address_t local_ip_address
u32 translation_memory_size
vl_api_nat_config_flags_t flags
vl_api_nat_config_flags_t flags
Show NAT plugin startup config reply.
vl_api_nat44_lb_addr_port_t locals[local_num]
vl_api_interface_index_t sw_if_index
vl_api_ip4_address_t ext_host_address
@ NAT44_IS_ENDPOINT_DEPENDENT
Add/delete NAT44 load-balancing static mapping rule.
vl_api_nat_config_flags_t flags
vl_api_nat_config_flags_t flags
vl_api_ip4_address_t ip_address
vl_api_ip4_address_t ip_address
Dump interfaces with NAT44 output feature.
vl_api_ip4_address_t ip_address
NAT44 interface with output feature details response.
Add/delete NAT44 pool address from specific interfce.
Check if forwarding is enabled or disabled.
Enable/disable NAT44 plugin.
vl_api_ip4_address_t external_ip_address
Get HA failover/remote settings reply.
Add/del NAT44 address range.
vl_api_ip4_address_t ip_address
Get HA listener/local configuration.
vl_api_nat_config_flags_t flags
vl_api_nat_log_level_t log_level
Add/delete NAT44 static mapping.
vl_api_nat_log_level_t log_level
Enable/disbale NAT44 as an interface output feature (postrouting in2out translation)
bool static_mapping_connection_tracking
vl_api_nat44_config_flags_t flags
vl_api_interface_index_t external_sw_if_index
vl_api_ip4_address_t ip_address
vl_api_nat44_lb_addr_port_t local
vl_api_interface_index_t external_sw_if_index
NAT44 identity mapping details response.
vl_api_ip4_address_t ip_address
vl_api_nat_config_flags_t flags
NAT44 user's sessions response.
int nat_ha_set_failover(vlib_main_t *vm, ip4_address_t *addr, u16 port, u32 session_refresh_interval)
Set HA failover (remote settings)
u32 max_translations_per_thread
int nat_ha_resync(u32 client_index, u32 pid, nat_ha_resync_event_cb_t event_callback)
Resync HA (resend existing sessions to new failover)
vl_api_interface_index_t external_sw_if_index
Get TCP MSS rewriting configuration reply.
vl_api_ip4_address_t ip_address
int nat_ha_set_listener(vlib_main_t *vm, ip4_address_t *addr, u16 port, u32 path_mtu)
Set HA listener (local settings)
Enable/disable NAT44 feature on the interface.
Enable/disable forwarding for NAT44 Forward packets which don't match existing translation or static ...
Add/delete NAT44 static mapping.
vl_api_ip4_address_t first_ip_address
int nat44_add_del_lb_static_mapping(ip4_address_t e_addr, u16 e_port, nat_protocol_t proto, nat44_lb_addr_port_t *locals, u8 is_add, twice_nat_type_t twice_nat, u8 out2in_only, u8 *tag, u32 affinity)
Add/delete static mapping with load-balancing (multiple backends)
vl_api_nat44_lb_addr_port_t locals[local_num]
Get TCP MSS rewriting configuration.
@ NAT44_IS_CONNECTION_TRACKING
Show NAT handoff frame queue options.
vl_api_ip4_address_t ext_host_address
NAT44 address details response.
Show NAT44 plugin running config.
NAT workers details response.
vl_api_ip4_address_t ip_address
vl_api_nat_config_flags_t flags
Control ping from client to api server request.
Get address and port assignment algorithm reply.
void nat_ha_get_failover(ip4_address_t *addr, u16 *port, u32 *session_refresh_interval)
Get HA failover/remote settings.
Dump NAT44 identity mappings.
vl_api_ip4_address_t inside_ip_address
u64 translation_memory_size
DEPRECATED: Show NAT plugin startup config reply.