Change in osmo-mgw[master]: vty: Prepend VTY output of counters for better visual separation.

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

ipse gerrit-no-reply at lists.osmocom.org
Tue May 5 14:24:05 UTC 2020


ipse has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-mgw/+/18049 )


Change subject: vty: Prepend VTY output of counters for better visual separation.
......................................................................

vty: Prepend VTY output of counters for better visual separation.

Before this patch rate counters started right after trunk information
with no visual separation which was quite confusing. We're adding
a new line and a header to warn a user of the section change.

Change-Id: I3943def03ab821b05ac597f40bdfa4a3a71ddca3
---
M src/libosmo-mgcp/mgcp_vty.c
1 file changed, 2 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/49/18049/1

diff --git a/src/libosmo-mgcp/mgcp_vty.c b/src/libosmo-mgcp/mgcp_vty.c
index 3b61c30..60a2acd 100644
--- a/src/libosmo-mgcp/mgcp_vty.c
+++ b/src/libosmo-mgcp/mgcp_vty.c
@@ -262,6 +262,8 @@
 			vty_out(vty, "%s", VTY_NEWLINE);
 	}
 
+	vty_out(vty, "%s", VTY_NEWLINE);
+	vty_out(vty, "Rate counters:%s", VTY_NEWLINE);
 	if (show_stats && cfg->mgcp_crcx_ctr_group) {
 		vty_out(vty, "   %s:%s", cfg->mgcp_crcx_ctr_group->desc->group_description, VTY_NEWLINE);
 		vty_out_rate_ctr_group_fmt(vty, "   %25n: %10c (%S/s %M/m %H/h %D/d) %d", cfg->mgcp_crcx_ctr_group);

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/18049
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: I3943def03ab821b05ac597f40bdfa4a3a71ddca3
Gerrit-Change-Number: 18049
Gerrit-PatchSet: 1
Gerrit-Owner: ipse <Alexander.Chemeris at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200505/58bba0bf/attachment.htm>


More information about the gerrit-log mailing list