From 3ae9f5a90ac23ceaa1d5052cfdab417c1ef8dfdc Mon Sep 17 00:00:00 2001 From: Ole Troan Date: Wed, 9 Oct 2019 12:39:32 +0200 Subject: memif: remove api boilerplate Type: refactor Signed-off-by: Ole Troan Change-Id: Icab769607c4a5890dc80b8f2661faa7e297c2a27 --- src/plugins/memif/memif.api | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/plugins/memif/memif.api') diff --git a/src/plugins/memif/memif.api b/src/plugins/memif/memif.api index 4c4b587aac7..1f2c547c740 100644 --- a/src/plugins/memif/memif.api +++ b/src/plugins/memif/memif.api @@ -48,6 +48,7 @@ autoreply define memif_socket_filename_add_del bool is_add; /* 0 = remove, 1 = add association */ u32 socket_id; /* unique non-0 id for given socket file name */ string socket_filename[108]; /* NUL terminated filename */ + option vat_help = "[add|del] id filename "; }; /** \brief Create memory interface @@ -83,6 +84,7 @@ define memif_create bool no_zero_copy; /* disable zero copy */ vl_api_mac_address_t hw_addr; /* optional, randomly generated if zero */ string secret[24]; /* optional, default is "", max length 24 */ + option vat_help = "[id ] [socket-id ] [ring_size ] [buffer_size ] [hw_addr ] [secret ] [mode ip] "; }; /** \brief Create memory interface response @@ -108,6 +110,7 @@ autoreply define memif_delete u32 context; vl_api_interface_index_t sw_if_index; + option vat_help = ""; }; /** \brief Memory interface details structure -- cgit 1.2.3-korg