Project

General

Profile

Bug #3836

"show cs7 instance 0 asp" doesn't list the associated AS for each ASP?

Added by laforge 2 months ago. Updated 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
03/13/2019
Due date:
% Done:

100%


Description

OsmoSTP# show cs7 instance 0 asp
                                                          Effect Primary
ASP Name      AS Name       State          Type  Rmt Port Remote IP Addr  SCTP
------------  ------------  -------------  ----  -------- --------------- ----------
asp-dyn-0     ?             ASP_ACTIVE     m3ua  0        (null)                    
asp-dyn-1     ?             ASP_ACTIVE     m3ua  0        (null)                    
asp-dyn-2     ?             ASP_ACTIVE     m3ua  0        (null)                    
asp-dyn-3     ?             ASP_ACTIVE     m3ua  0        (null)                    
asp-dyn-5     ?             ASP_DOWN       m3ua  0        (null)                    

while

OsmoSTP# show cs7 instance 0 as all
                          Routing    Routing Key                          Cic   Cic
AS Name      State        Context    Dpc           Si   Opc           Ssn Min   Max
------------ ------------ ---------- ------------- ---- ------------- --- ----- -----
as-rkm-1     AS_ACTIVE    1          0.23.4                                         
as-rkm-2     AS_ACTIVE    2          0.23.1                                         
as-rkm-3     AS_ACTIVE    3          0.23.5                                         
as-rkm-4     AS_ACTIVE    4          0.23.3                                         

For some reason we see that there are ASPs and there are ASs, but we don't see their relationship.


Related issues

Related to OsmoSTP - Bug #3835: routing table is shown wrong in STPResolved2019-03-13

Related to OsmoSTP - Feature #3837: "show cs7 instance ..." doesn't show IP/port information of remote AS/ASPResolved2019-03-13

History

#1 Updated by laforge 2 months ago

  • Related to Bug #3835: routing table is shown wrong in STP added

#2 Updated by laforge 2 months ago

  • Related to Feature #3837: "show cs7 instance ..." doesn't show IP/port information of remote AS/ASP added

#3 Updated by laforge 2 months ago

This AS Name "?" display is actually hard-coded in osmo_ss7_vty.c, so there's some code for look-up missing. This may be a bit tricky due to the N:M relationships.

  • a single AS can have multiple ASPs
  • the AS is identified by a given routing context within an ASP

So in reality we would at least have to print a list of ASs for every ASP.

#4 Updated by laforge 2 months ago

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

patch merged

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)