Project

General

Profile

Bug #2362

rate_ctr with name prefix containing "." not visible on CTRL interface

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

Status:
In Progress
Priority:
High
Assignee:
Target version:
-
Start date:
07/11/2017
Due date:
% Done:

0%

Spec Reference:

Description

As the CTRL interface is usinh "." as a separator between tokens, we cannot use "." inside a rate counter name prefix. Doing so renders the related counter group inaccessible from the CTRL interface.

Unfortunately, we quite frequently use "." inside a counter group prefix :/


Related issues

Related to Cellular Infrastructure - Bug #2361: failure of rate_ctr_group_alloc() not checked in most callers Closed 07/11/2017
Related to Cellular Infrastructure - Support #2360: Read CDR via CTRL interface in SGSN Feedback 07/11/2017

History

#1 Updated by laforge 2 months ago

  • Status changed from New to In Progress

#2 Updated by laforge 2 months ago

  • Related to Bug #2361: failure of rate_ctr_group_alloc() not checked in most callers added

#3 Updated by laforge 2 months ago

so the question is what do we do here. Do we

a) rewrite all counter group prefixes to not contain '.' and refuse the allocation of counter groups with invalid names (those containing '.')?

or

b) silently translate a different symbol (e.g. '/') during lookup, so a look-up by name 'sgsn/foo' will automagically match a counter registered with 'sgsn.foo'?

I personally perfer 'a' as it is obvious and transparent. Particularly as we generate counter related documentation from the source code, it would be easy to create hard to explain inconsistencies.

#4 Updated by laforge 2 months ago

  • Related to Support #2360: Read CDR via CTRL interface in SGSN added

Also available in: Atom PDF