From d910a3522782dace466a177a4bea35d6327b2b5f Mon Sep 17 00:00:00 2001 From: Daniel Willmann Date: Tue, 24 Jul 2018 20:01:26 +0200 Subject: stats_vty: Add asciidoc sections between the different counters Change-Id: Ie37be744abd8c47211d64877bcd17f94465bd423 --- src/vty/stats_vty.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/vty/stats_vty.c') diff --git a/src/vty/stats_vty.c b/src/vty/stats_vty.c index 8d90945a..5ded7a44 100644 --- a/src/vty/stats_vty.c +++ b/src/vty/stats_vty.c @@ -516,12 +516,15 @@ DEFUN(show_stats_asciidoc_table, host.app_info->name ? host.app_info->name : "", VTY_NEWLINE, VTY_NEWLINE); /* 2x VTY_NEWLINE are intentional otherwise it would interpret the first table header * as usual text*/ + vty_out(vty, "=== Rate Counters%s%s", VTY_NEWLINE, VTY_NEWLINE); vty_out(vty, "// generating tables for rate_ctr_group%s", VTY_NEWLINE); rate_ctr_for_each_group(asciidoc_rate_ctr_group_handler, vty); + vty_out(vty, "== Osmo Stat Items%s%s", VTY_NEWLINE, VTY_NEWLINE); vty_out(vty, "// generating tables for osmo_stat_items%s", VTY_NEWLINE); osmo_stat_item_for_each_group(asciidoc_osmo_stat_item_group_handler, vty); + vty_out(vty, "== Osmo Counters%s%s", VTY_NEWLINE, VTY_NEWLINE); vty_out(vty, "// generating tables for osmo_counters%s", VTY_NEWLINE); asciidoc_counter_generate(vty); return CMD_SUCCESS; -- cgit v1.2.3