diff options
author | Chris Luke <chrisy@flirble.org> | 2016-09-20 21:39:05 -0400 |
---|---|---|
committer | Chris Luke <chrisy@flirble.org> | 2016-09-20 22:18:07 -0400 |
commit | 019886e7e6a8fe3dcb556958db81ed5ed51ff04a (patch) | |
tree | c7c121da70ccf1b9ec6fa733293aefa347787993 | |
parent | dd8e9a5dc51e3d1a22fcbbe8fb81f12642b6d5a5 (diff) |
Temporary fix for CLI doc macro expansion; VPP-417
One CLI initializer has been modified temporarily to
avoid macro expansion that the siphon CLI documentation parser
doesn't understand.
Removed macros: ila_type_list, ila_csum_list and ila_direction_list.
Also make docs use the official version without the offset-from-tag
count we would other wise get in this stable release.
Change-Id: I52e1fa215f540583f0610200ec28349e67f56a32
Signed-off-by: Chris Luke <chrisy@flirble.org>
-rw-r--r-- | doxygen/Makefile | 2 | ||||
-rw-r--r-- | plugins/ila-plugin/ila/ila.c | 21 |
2 files changed, 16 insertions, 7 deletions
diff --git a/doxygen/Makefile b/doxygen/Makefile index 41befe4b419..0a27dcaa989 100644 --- a/doxygen/Makefile +++ b/doxygen/Makefile @@ -152,7 +152,7 @@ doxygen: $(SIPHON_DOCS) INPUT="$(addprefix $(WS_ROOT)/,$(DOXY_INPUT)) $(EXTRA_DOXY_INPUT)" \ INCLUDE_PATH="$(DOXY_INCLUDE_PATH)" \ HTML=YES \ - VERSION="`git describe --tags --dirty`" \ + VERSION="v`./build-root/scripts/version rpm-version`" \ doxygen $(DOXY_DIR)/doxygen.cfg wipe-doxygen: diff --git a/plugins/ila-plugin/ila/ila.c b/plugins/ila-plugin/ila/ila.c index b8348804a41..8759fc76628 100644 --- a/plugins/ila-plugin/ila/ila.c +++ b/plugins/ila-plugin/ila/ila.c @@ -947,14 +947,23 @@ ila_entry_command_fn (vlib_main_t * vm, return NULL; } +/* *INDENT-OFF* */ +/* Note VPP-417; this initializer has been modified temporarily to + * avoid macro expansion that the siphon CLI documentation parser + * doesn't understand. + * Removed macros: ila_type_list, ila_csum_list and ila_direction_list. + */ VLIB_CLI_COMMAND (ila_entry_command, static) = { -.path = "ila entry",.short_help = "ila entry [type (" ila_type_list ")]" - " [sir-address <address>] [locator <locator>] [vnid <hex-vnid>]" - " [adj-index <adj-index>] [next-hop <next-hop>]" - " [direction (" ila_direction_list ")]" - " [csum-mode (" ila_csum_list ")] [del]",.function = - ila_entry_command_fn,}; + .path = "ila entry", + .short_help = "ila entry [type (" "iid,luid,vnid-ip4,vnid-ip6,vnid-multicast" ")]" + " [sir-address <address>] [locator <locator>] [vnid <hex-vnid>]" + " [adj-index <adj-index>] [next-hop <next-hop>]" + " [direction (" "bidir,sir2ila,ila2sir" ")]" + " [csum-mode (" "no-action,neutral-map,adjust-transport" ")] [del]", + .function = ila_entry_command_fn, +}; +/* *INDENT-ON* */ static clib_error_t * ila_interface_command_fn (vlib_main_t * vm, |