Project

General

Profile

Actions

Bug #1972

closed

show online-help outputs generates multiple commands

Added by dexter about 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
03/08/2017
Due date:
% Done:

100%

Spec Reference:

Description

The attached file was generated using the "show online-help" vty command in osmo-sgsn. Some of the commands show up 3 times on different nodes.

For example:
  • "<command id='logging level (all| ..." shows up in node 1, 3 and 7
  • "<command id='show mm-context all [pdp]'>" shows up in node 1 and 3
  • "<command id='write file'>" shows up in node 3, 4, 7, 8, 9, 12, 13, 26
  • "<command id='no compression v42bis'> shows up once at node 26 (as expected)

Files

sgsn_vty_reference.xml sgsn_vty_reference.xml 86.3 KB dexter, 03/08/2017 12:34 PM
Actions #1

Updated by dexter about 7 years ago

First question: Is this really a bug, or is this intentional?

SGSN splits the VTY over multiple files. Maybe the problem has to do with multiple initalizations?

Actions #2

Updated by dexter about 7 years ago

  • Status changed from New to Feedback
Actions #3

Updated by zecke about 7 years ago

dexter: E.g. compare with a current manual. You will see that there are duplicates already.

Now the question of why they are? Well. You can use the commands in different modes? E.g. in the unprivileged level, once you switch to enable it should be present too.. and when you configure it.. you want to be able to configure the specific logging node too.

Actions #4

Updated by laforge about 7 years ago

a command that is registered in multiple nodes will of course also show up in multiple nodes?

You can configure logging for the current terminal session (at the default node), and when configuring for a file/stderr/syslog in config mode, that's at least two. Not sure where the third one would be, but more than once is definitely not always an error.

Actions #5

Updated by dexter about 7 years ago

  • Status changed from Feedback to Resolved
  • % Done changed from 0 to 100

Thanks for pointing that out. For me it looked like a problem, especially when examining the diff. Now I got it - makes sense.

Actions #6

Updated by laforge almost 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)