vppapigen: support per-file (major,minor,patch) version stamps
[vpp.git] / src / vnet / map / map.api
index 4e4be85..14f10e7 100644 (file)
@@ -13,6 +13,7 @@
  * limitations under the License.
  */
 
+vl_api_version 1.0.0
 
 /** \brief Add MAP domains
     @param client_index - opaque cookie to identify the sender
@@ -62,22 +63,13 @@ define map_add_domain_reply
     @param context - sender context, to match reply w/ request
     @param index - MAP Domain index
 */
-define map_del_domain
+autoreply define map_del_domain
 {
   u32 client_index;
   u32 context;
   u32 index;
 };
 
-/** \brief Reply for MAP domain del
-    @param context - returned sender context, to match reply w/ request
-    @param retval - return code
-*/
-define map_del_domain_reply
-{
-  u32 context;
-  i32 retval;
-};
 
 /** \brief Add or Delete MAP rule from a domain (Only used for shared IPv4 per subscriber)
     @param client_index - opaque cookie to identify the sender
@@ -87,25 +79,16 @@ define map_del_domain_reply
     @param ip6_dst - MAP CE IPv6 address
     @param psid - Rule PSID
 */
-define map_add_del_rule
+autoreply define map_add_del_rule
 {
   u32 client_index;
   u32 context;
   u32 index;
-  u32 is_add;
+  u8 is_add;
   u8 ip6_dst[16];
   u16 psid;
 };
 
-/** \brief Reply for MAP rule add/del
-    @param context - returned sender context, to match reply w/ request
-    @param retval - return code
-*/
-define map_add_del_rule_reply
-{
-  u32 context;
-  i32 retval;
-};
 
 /** \brief Get list of map domains
     @param client_index - opaque cookie to identify the sender