Feature #4877
closedshow frame relay DLC state
100%
Description
when we show the NS-VCs for FR, also show the logical state of the DLC (active / inactive).
Updated by laforge over 3 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 10
Updated by laforge almost 3 years ago
I think the difficult question is how/where.
Currently the writing/stringification of NSVCs is done in the generic code from gprs_ns2_vty.c:gprs_ns2_ll_str(). This code doesn't have access to the frame relay DLC.
However, there is gprs_ns2_ll_str_buf() which is called by the above. It currently prints something like "fr)netif: %s dlci: %u"
for FR and "udp)[%s]:%u<>[%s]:%u"
for UDP. Neither of the two includes any information about state, it just dumps static parameters like port numbers or DLCI...
Updated by laforge almost 3 years ago
maybe it is time for a separate "show frame-relay" or "show ns frame-relay" command whihc just dumps stae about the FR links and DLCs?
Updated by laforge almost 3 years ago
- Status changed from New to In Progress
- Assignee changed from lynxis to laforge
- Priority changed from High to Normal
experimental patch in https://gerrit.osmocom.org/c/libosmocore/+/23546
Updated by laforge almost 3 years ago
- Status changed from In Progress to Resolved
- % Done changed from 10 to 100
patch long merged