option version = "1.0.0";
import "vnet/ip/ip_types.api";
import "vnet/interface_types.api";
-import "plugins/nat/nat_types.api";
+import "plugins/nat/lib/nat_types.api";
/**
* @file det44.api
u32 inside_vrf;
u32 outside_vrf;
bool enable;
- vl_api_interface_index_t sw_if_index;
- option status="in_progress";
};
/** \brief Enable/disable DET44 feature on the interface
bool is_add;
bool is_inside;
vl_api_interface_index_t sw_if_index;
- option status="in_progress";
};
/** \brief Dump interfaces with DET44 feature
define det44_interface_dump {
u32 client_index;
u32 context;
- option status="in_progress";
};
/** \brief DET44 interface details response
bool is_inside;
bool is_outside;
vl_api_interface_index_t sw_if_index;
- option status="in_progress";
};
/** \brief Add/delete DET44 mapping
u8 in_plen;
vl_api_ip4_address_t out_addr;
u8 out_plen;
- option status="deprecated";
+ option deprecated;
};
/** \brief Get outside address and port range from inside address
u32 client_index;
u32 context;
vl_api_ip4_address_t in_addr;
- option status="deprecated";
+ option deprecated;
};
/** \brief Get outside address and port range from inside address
u16 out_port_lo;
u16 out_port_hi;
vl_api_ip4_address_t out_addr;
- option status="deprecated";
+ option deprecated;
};
/** \brief Get inside address from outside address and port
u32 context;
u16 out_port;
vl_api_ip4_address_t out_addr;
- option status="deprecated";
+ option deprecated;
};
/** \brief Get inside address from outside address and port reply
u32 context;
i32 retval;
vl_api_ip4_address_t in_addr;
- option status="deprecated";
+ option deprecated;
};
/** \brief Dump NAT deterministic mappings
define nat_det_map_dump {
u32 client_index;
u32 context;
- option status="deprecated";
+ option deprecated;
};
/** \brief NAT users response
u32 sharing_ratio;
u16 ports_per_host;
u32 ses_num;
- option status="deprecated";
+ option deprecated;
};
/** \brief Close deterministic NAT session by outside address and port
u16 out_port;
vl_api_ip4_address_t ext_addr;
u16 ext_port;
- option status="deprecated";
+ option deprecated;
};
/** \brief Close deterministic NAT session by inside address and port
u16 in_port;
vl_api_ip4_address_t ext_addr;
u16 ext_port;
- option status="deprecated";
+ option deprecated;
};
/** \brief Dump determinstic NAT sessions
u32 client_index;
u32 context;
vl_api_ip4_address_t user_addr;
- option status="deprecated";
+ option deprecated;
};
/** \brief Deterministic NAT sessions reply
u16 out_port;
u8 state;
u32 expire;
- option status="deprecated";
+ option deprecated;
};