X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fexamples%2Fsample-plugin%2Fsample%2Fsample.api;h=f3604b6d127171e6208bb050081b4ef09eba39ba;hb=0d056e5ede136cd0111dc3f9f41ef7b36a938027;hp=f99cdb3856e4ba802c10884c7cd4c0f2ddc9e986;hpb=cb034b9b374927c7552e36dcbc306d8456b2a0cb;p=vpp.git diff --git a/src/examples/sample-plugin/sample/sample.api b/src/examples/sample-plugin/sample/sample.api index f99cdb3856e..f3604b6d127 100644 --- a/src/examples/sample-plugin/sample/sample.api +++ b/src/examples/sample-plugin/sample/sample.api @@ -16,7 +16,9 @@ /* Define a simple binary API to control the feature */ -define sample_macswap_enable_disable { +vl_api_version 0.1.0 + +autoreply define sample_macswap_enable_disable { /* Client identifier, set from api_main.my_client_index */ u32 client_index; @@ -29,11 +31,3 @@ define sample_macswap_enable_disable { /* Interface handle */ u32 sw_if_index; }; - -define sample_macswap_enable_disable_reply { - /* From the request */ - u32 context; - - /* Return value, zero means all OK */ - i32 retval; -};