Project

General

Profile

Actions

Feature #4877

closed

show frame relay DLC state

Added by laforge over 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
11/29/2020
Due date:
% Done:

100%

Spec Reference:

Description

when we show the NS-VCs for FR, also show the logical state of the DLC (active / inactive).

Actions #1

Updated by laforge over 3 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 10
Actions #2

Updated by laforge over 3 years ago

  • Status changed from In Progress to New
Actions #3

Updated by laforge over 3 years ago

  • Assignee changed from laforge to lynxis
Actions #4

Updated by daniel about 3 years ago

  • Priority changed from Normal to High
Actions #5

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...

Actions #6

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?

Actions #7

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
Actions #8

Updated by laforge almost 3 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 10 to 100

patch long merged

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)