Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/11586 )
Change subject: mgw: update vty reference ...................................................................... mgw: update vty reference Change-Id: Ib30ea8b02f8a950648b85e7ebc96a40ba5a36b34 --- M OsmoMGW/vty/mgw_vty_reference.xml 1 file changed, 146 insertions(+), 14 deletions(-) Approvals: Harald Welte: Looks good to me, approved Jenkins Builder: Verified diff --git a/OsmoMGW/vty/mgw_vty_reference.xml b/OsmoMGW/vty/mgw_vty_reference.xml index f11f484..834db04 100644 --- a/OsmoMGW/vty/mgw_vty_reference.xml +++ b/OsmoMGW/vty/mgw_vty_reference.xml @@ -169,7 +169,7 @@ <param name='1' doc='Prefix each log message with the log level name' /> </params> </command> - <command id='logging print file (0|1|basename)'> + <command id='logging print file (0|1|basename) [last]'> <params> <param name='logging' doc='Configure logging' /> <param name='print' doc='Log output settings' /> @@ -177,6 +177,7 @@ <param name='0' doc='Don't prefix each log message' /> <param name='1' doc='Prefix each log message with the source file and line' /> <param name='basename' doc='Prefix each log message with the source file's basename (strip leading paths) and line' /> + <param name='[last]' doc='Log source file info at the end of a log line. If omitted, log source file info just before the log text.' /> </params> </command> <command id='logging set-log-mask MASK'> @@ -186,12 +187,12 @@ <param name='MASK' doc='List of logging categories to log, e.g. 'abc:mno:xyz'. Available log categories depend on the specific application, refer to the 'logging level' command. Optionally add individual log levels like 'abc,1:mno,3:xyz,5', where the level numbers are LOGL_DEBUG=1 LOGL_INFO=3 LOGL_NOTICE=5 LOGL_ERROR=7 LOGL_FATAL=8' /> </params> </command> - <command id='logging level (all|rtp|lglobal|llapd|linp|lmux|lmi|lmib|lsms|lctrl|lgtp|lstats|lgsup|loap|lss7|lsccp|lsua|lm3ua|lmgcp|ljibuf) (everything|debug|info|notice|error|fatal)'> + <command id='logging level (rtp|iuup|lglobal|llapd|linp|lmux|lmi|lmib|lsms|lctrl|lgtp|lstats|lgsup|loap|lss7|lsccp|lsua|lm3ua|lmgcp|ljibuf) (debug|info|notice|error|fatal)'> <params> <param name='logging' doc='Configure logging' /> <param name='level' doc='Set the log level for a specified category' /> - <param name='all' doc='Global setting for all subsystems' /> <param name='rtp' doc='RTP stream handling' /> + <param name='iuup' doc='IuUP within RTP stream handling' /> <param name='lglobal' doc='Library-internal global log family' /> <param name='llapd' doc='LAPD in libosmogsm' /> <param name='linp' doc='A-bis Intput Subsystem' /> @@ -210,7 +211,6 @@ <param name='lm3ua' doc='libosmo-sigtran MTP3 User Adaptation' /> <param name='lmgcp' doc='libosmo-mgcp Media Gateway Control Protocol' /> <param name='ljibuf' doc='libosmo-netif Jitter Buffer' /> - <param name='everything' doc='Don't use. It doesn't log anything' /> <param name='debug' doc='Log debug messages and higher levels' /> <param name='info' doc='Log informational messages and higher levels' /> <param name='notice' doc='Log noticeable messages and higher levels' /> @@ -218,6 +218,38 @@ <param name='fatal' doc='Log only fatal messages' /> </params> </command> + <command id='logging level set-all (debug|info|notice|error|fatal)'> + <params> + <param name='logging' doc='Configure logging' /> + <param name='level' doc='Set the log level for a specified category' /> + <param name='set-all' doc='Once-off set all categories to the given log level. There is no single command to take back these changes -- each category is set to the given level, period.' /> + <param name='debug' doc='Log debug messages and higher levels' /> + <param name='info' doc='Log informational messages and higher levels' /> + <param name='notice' doc='Log noticeable messages and higher levels' /> + <param name='error' doc='Log error messages and higher levels' /> + <param name='fatal' doc='Log only fatal messages' /> + </params> + </command> + <command id='logging level force-all (debug|info|notice|error|fatal)'> + <params> + <param name='logging' doc='Configure logging' /> + <param name='level' doc='Set the log level for a specified category' /> + <param name='force-all' doc='Globally force all logging categories to a specific level. This is released by the 'no logging level force-all' command. Note: any 'logging level <category> <level>' commands will have no visible effect after this, until the forced level is released.' /> + <param name='debug' doc='Log debug messages and higher levels' /> + <param name='info' doc='Log informational messages and higher levels' /> + <param name='notice' doc='Log noticeable messages and higher levels' /> + <param name='error' doc='Log error messages and higher levels' /> + <param name='fatal' doc='Log only fatal messages' /> + </params> + </command> + <command id='no logging level force-all'> + <params> + <param name='no' doc='Negate a command or set its defaults' /> + <param name='logging' doc='Configure logging' /> + <param name='level' doc='Set the log level for a specified category' /> + <param name='force-all' doc='Release any globally forced log level set with 'logging level force-all <level>'' /> + </params> + </command> <command id='show logging vty'> <params> <param name='show' doc='Show running system information' /> @@ -304,6 +336,24 @@ <param name='[stats]' doc='Include Statistics' /> </params> </command> + <command id='show mgcp endpoint NAME'> + <params> + <param name='show' doc='Show running system information' /> + <param name='mgcp' doc='Display information about the MGCP Media Gateway' /> + <param name='endpoint' doc='Display information about an endpoint' /> + <param name='NAME' doc='The name of the endpoint' /> + </params> + </command> + <command id='show mgcp trunk <0-64> endpoint NAME'> + <params> + <param name='show' doc='Show running system information' /> + <param name='mgcp' doc='Display information about the MGCP Media Gateway' /> + <param name='trunk' doc='Display information about a trunk' /> + <param name='<0-64>' doc='Trunk number' /> + <param name='endpoint' doc='Display information about an endpoint' /> + <param name='NAME' doc='The name of the endpoint' /> + </params> + </command> </node> <node id='enable'> <name>enable</name> @@ -454,7 +504,7 @@ <param name='1' doc='Prefix each log message with the log level name' /> </params> </command> - <command id='logging print file (0|1|basename)'> + <command id='logging print file (0|1|basename) [last]'> <params> <param name='logging' doc='Configure logging' /> <param name='print' doc='Log output settings' /> @@ -462,6 +512,7 @@ <param name='0' doc='Don't prefix each log message' /> <param name='1' doc='Prefix each log message with the source file and line' /> <param name='basename' doc='Prefix each log message with the source file's basename (strip leading paths) and line' /> + <param name='[last]' doc='Log source file info at the end of a log line. If omitted, log source file info just before the log text.' /> </params> </command> <command id='logging set-log-mask MASK'> @@ -471,12 +522,12 @@ <param name='MASK' doc='List of logging categories to log, e.g. 'abc:mno:xyz'. Available log categories depend on the specific application, refer to the 'logging level' command. Optionally add individual log levels like 'abc,1:mno,3:xyz,5', where the level numbers are LOGL_DEBUG=1 LOGL_INFO=3 LOGL_NOTICE=5 LOGL_ERROR=7 LOGL_FATAL=8' /> </params> </command> - <command id='logging level (all|rtp|lglobal|llapd|linp|lmux|lmi|lmib|lsms|lctrl|lgtp|lstats|lgsup|loap|lss7|lsccp|lsua|lm3ua|lmgcp|ljibuf) (everything|debug|info|notice|error|fatal)'> + <command id='logging level (rtp|iuup|lglobal|llapd|linp|lmux|lmi|lmib|lsms|lctrl|lgtp|lstats|lgsup|loap|lss7|lsccp|lsua|lm3ua|lmgcp|ljibuf) (debug|info|notice|error|fatal)'> <params> <param name='logging' doc='Configure logging' /> <param name='level' doc='Set the log level for a specified category' /> - <param name='all' doc='Global setting for all subsystems' /> <param name='rtp' doc='RTP stream handling' /> + <param name='iuup' doc='IuUP within RTP stream handling' /> <param name='lglobal' doc='Library-internal global log family' /> <param name='llapd' doc='LAPD in libosmogsm' /> <param name='linp' doc='A-bis Intput Subsystem' /> @@ -495,7 +546,6 @@ <param name='lm3ua' doc='libosmo-sigtran MTP3 User Adaptation' /> <param name='lmgcp' doc='libosmo-mgcp Media Gateway Control Protocol' /> <param name='ljibuf' doc='libosmo-netif Jitter Buffer' /> - <param name='everything' doc='Don't use. It doesn't log anything' /> <param name='debug' doc='Log debug messages and higher levels' /> <param name='info' doc='Log informational messages and higher levels' /> <param name='notice' doc='Log noticeable messages and higher levels' /> @@ -503,6 +553,38 @@ <param name='fatal' doc='Log only fatal messages' /> </params> </command> + <command id='logging level set-all (debug|info|notice|error|fatal)'> + <params> + <param name='logging' doc='Configure logging' /> + <param name='level' doc='Set the log level for a specified category' /> + <param name='set-all' doc='Once-off set all categories to the given log level. There is no single command to take back these changes -- each category is set to the given level, period.' /> + <param name='debug' doc='Log debug messages and higher levels' /> + <param name='info' doc='Log informational messages and higher levels' /> + <param name='notice' doc='Log noticeable messages and higher levels' /> + <param name='error' doc='Log error messages and higher levels' /> + <param name='fatal' doc='Log only fatal messages' /> + </params> + </command> + <command id='logging level force-all (debug|info|notice|error|fatal)'> + <params> + <param name='logging' doc='Configure logging' /> + <param name='level' doc='Set the log level for a specified category' /> + <param name='force-all' doc='Globally force all logging categories to a specific level. This is released by the 'no logging level force-all' command. Note: any 'logging level <category> <level>' commands will have no visible effect after this, until the forced level is released.' /> + <param name='debug' doc='Log debug messages and higher levels' /> + <param name='info' doc='Log informational messages and higher levels' /> + <param name='notice' doc='Log noticeable messages and higher levels' /> + <param name='error' doc='Log error messages and higher levels' /> + <param name='fatal' doc='Log only fatal messages' /> + </params> + </command> + <command id='no logging level force-all'> + <params> + <param name='no' doc='Negate a command or set its defaults' /> + <param name='logging' doc='Configure logging' /> + <param name='level' doc='Set the log level for a specified category' /> + <param name='force-all' doc='Release any globally forced log level set with 'logging level force-all <level>'' /> + </params> + </command> <command id='show logging vty'> <params> <param name='show' doc='Show running system information' /> @@ -589,6 +671,24 @@ <param name='[stats]' doc='Include Statistics' /> </params> </command> + <command id='show mgcp endpoint NAME'> + <params> + <param name='show' doc='Show running system information' /> + <param name='mgcp' doc='Display information about the MGCP Media Gateway' /> + <param name='endpoint' doc='Display information about an endpoint' /> + <param name='NAME' doc='The name of the endpoint' /> + </params> + </command> + <command id='show mgcp trunk <0-64> endpoint NAME'> + <params> + <param name='show' doc='Show running system information' /> + <param name='mgcp' doc='Display information about the MGCP Media Gateway' /> + <param name='trunk' doc='Display information about a trunk' /> + <param name='<0-64>' doc='Trunk number' /> + <param name='endpoint' doc='Display information about an endpoint' /> + <param name='NAME' doc='The name of the endpoint' /> + </params> + </command> <command id='loop-endpoint <0-64> NAME (0|1)'> <params> <param name='loop-endpoint' doc='Loop a given endpoint' /> @@ -929,7 +1029,7 @@ <param name='1' doc='Prefix each log message with the log level name' /> </params> </command> - <command id='logging print file (0|1|basename)'> + <command id='logging print file (0|1|basename) [last]'> <params> <param name='logging' doc='Configure logging' /> <param name='print' doc='Log output settings' /> @@ -937,14 +1037,15 @@ <param name='0' doc='Don't prefix each log message' /> <param name='1' doc='Prefix each log message with the source file and line' /> <param name='basename' doc='Prefix each log message with the source file's basename (strip leading paths) and line' /> + <param name='[last]' doc='Log source file info at the end of a log line. If omitted, log source file info just before the log text.' /> </params> </command> - <command id='logging level (all|rtp|lglobal|llapd|linp|lmux|lmi|lmib|lsms|lctrl|lgtp|lstats|lgsup|loap|lss7|lsccp|lsua|lm3ua|lmgcp|ljibuf) (everything|debug|info|notice|error|fatal)'> + <command id='logging level (rtp|iuup|lglobal|llapd|linp|lmux|lmi|lmib|lsms|lctrl|lgtp|lstats|lgsup|loap|lss7|lsccp|lsua|lm3ua|lmgcp|ljibuf) (debug|info|notice|error|fatal)'> <params> <param name='logging' doc='Configure logging' /> <param name='level' doc='Set the log level for a specified category' /> - <param name='all' doc='Global setting for all subsystems' /> <param name='rtp' doc='RTP stream handling' /> + <param name='iuup' doc='IuUP within RTP stream handling' /> <param name='lglobal' doc='Library-internal global log family' /> <param name='llapd' doc='LAPD in libosmogsm' /> <param name='linp' doc='A-bis Intput Subsystem' /> @@ -963,7 +1064,6 @@ <param name='lm3ua' doc='libosmo-sigtran MTP3 User Adaptation' /> <param name='lmgcp' doc='libosmo-mgcp Media Gateway Control Protocol' /> <param name='ljibuf' doc='libosmo-netif Jitter Buffer' /> - <param name='everything' doc='Don't use. It doesn't log anything' /> <param name='debug' doc='Log debug messages and higher levels' /> <param name='info' doc='Log informational messages and higher levels' /> <param name='notice' doc='Log noticeable messages and higher levels' /> @@ -971,6 +1071,38 @@ <param name='fatal' doc='Log only fatal messages' /> </params> </command> + <command id='logging level set-all (debug|info|notice|error|fatal)'> + <params> + <param name='logging' doc='Configure logging' /> + <param name='level' doc='Set the log level for a specified category' /> + <param name='set-all' doc='Once-off set all categories to the given log level. There is no single command to take back these changes -- each category is set to the given level, period.' /> + <param name='debug' doc='Log debug messages and higher levels' /> + <param name='info' doc='Log informational messages and higher levels' /> + <param name='notice' doc='Log noticeable messages and higher levels' /> + <param name='error' doc='Log error messages and higher levels' /> + <param name='fatal' doc='Log only fatal messages' /> + </params> + </command> + <command id='logging level force-all (debug|info|notice|error|fatal)'> + <params> + <param name='logging' doc='Configure logging' /> + <param name='level' doc='Set the log level for a specified category' /> + <param name='force-all' doc='Globally force all logging categories to a specific level. This is released by the 'no logging level force-all' command. Note: any 'logging level <category> <level>' commands will have no visible effect after this, until the forced level is released.' /> + <param name='debug' doc='Log debug messages and higher levels' /> + <param name='info' doc='Log informational messages and higher levels' /> + <param name='notice' doc='Log noticeable messages and higher levels' /> + <param name='error' doc='Log error messages and higher levels' /> + <param name='fatal' doc='Log only fatal messages' /> + </params> + </command> + <command id='no logging level force-all'> + <params> + <param name='no' doc='Negate a command or set its defaults' /> + <param name='logging' doc='Configure logging' /> + <param name='level' doc='Set the log level for a specified category' /> + <param name='force-all' doc='Release any globally forced log level set with 'logging level force-all <level>'' /> + </params> + </command> </node> <node id='config-stats'> <name>config-stats</name> @@ -1360,8 +1492,8 @@ </command> <command id='domain NAME'> <params> - <param name='domain' doc='domain' /> - <param name='NAME' doc='qualified domain name' /> + <param name='domain' doc='Set the domain part expected in MGCP messages' endpoint names' /> + <param name='NAME' doc='Qualified domain name expected in MGCP endpoint names, or '*' to accept any domain' /> </params> </command> <command id='trunk <1-64>'> -- To view, visit https://gerrit.osmocom.org/11586 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-gsm-manuals Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: Ib30ea8b02f8a950648b85e7ebc96a40ba5a36b34 Gerrit-Change-Number: 11586 Gerrit-PatchSet: 3 Gerrit-Owner: Neels Hofmeyr <nhofm...@sysmocom.de> Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org> Gerrit-Reviewer: Jenkins Builder (1000002)