Project

General

Profile

Bug #2660

osmo-mgw has no proper introspection via VTY + CTRL

Added by laforge 10 months ago. Updated 5 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
11/18/2017
Due date:
% Done:

0%

Estimated time:

Description

osmo-mgw should be able to show us all relevant information about each endpoint (and each connection on each EP) in the VTY

History

#1 Updated by laforge 3 months ago

  • Assignee changed from sysmocom to stsp

#2 Updated by stsp 3 months ago

  • Status changed from New to In Progress

#3 Updated by stsp 2 months ago

The 'show mgcp' VTY command already does most of what is being asked for in this issue.

I have added a VTY command which allows filtering the information shown by 'show mgcp' for a specific endpoint:
https://gerrit.osmocom.org/#/c/osmo-mgw/+/10022/
Such filtering could be quite useful for non-human VTY users, such as automated tests etc.

osmo-mgw does not seem to have a CTRL interface yet so nothing could be implemented there for this issue.

#4 Updated by stsp about 2 months ago

This is waiting for a response from Neels in code review. I am unsure if I need to take further action or if the patch is fine as proposed.

#5 Updated by laforge 10 days ago

ping? the patch has been meged. please keep this ticket updated (percent done, checklist items, ...) and take care of any missing bits.

#6 Updated by stsp 5 days ago

Sorry. I forgot about updating this ticket after discussing this further with Neels.

I only recorded the result of our conversation in gerrit:
https://gerrit.osmocom.org/c/osmo-mgw/+/10022/#message-0ec211fc491919f3dadd03553d8e57f92f2d5bfc

Neels and I discussed this face-to-face today, and I've updated the patch set accordingly.
The main changes are:
There are now two new VTY commands, with and without a trunk number.
Endpoint names are printed without a 0x prefix.

I'll update this ticket's checklist now.

#7 Updated by stsp 5 days ago

  • Checklist item proper "show mgcp endpoint" command set to Done

#8 Updated by stsp 5 days ago

There are now two new commands:

  • show mgcp endpoint NAME
  • show mgcp trunk <0-64> endpoint NAME

Endpoint connection details (RTP stream IP addresses and ports) and be viewed with 'show mgcp stats'.

So the first two checklist items can be considered resolved.

It seems there remains some work to be done for the last checklist item (RTP and RTCP stats).

#9 Updated by stsp 5 days ago

  • Checklist item show endpoint connection details in vty set to Done

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)