aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc/osmo_bsc_msc.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2020-06-16 12:08:39 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2020-06-17 05:05:40 +0200
commit1c963eb97d1ae80f7cd9c98f922b52da4aca6915 (patch)
tree279444e35e0a30b2f7e0a84c84e446230e5aefcd /src/osmo-bsc/osmo_bsc_msc.c
parent25389e82b91ea46a3905147cee486624f11fe7af (diff)
MSC pooling: add rate counters
Tests for these counters are added in I2006f1def5352b4b73d0159bfcaa2da9c64bfe3f (osmo-ttcn3-hacks). Change-Id: I2ded757958dfa62b502efbab765203bcadf899e2
Diffstat (limited to 'src/osmo-bsc/osmo_bsc_msc.c')
-rw-r--r--src/osmo-bsc/osmo_bsc_msc.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/osmo-bsc/osmo_bsc_msc.c b/src/osmo-bsc/osmo_bsc_msc.c
index 157808e95..9b00ffcb4 100644
--- a/src/osmo-bsc/osmo_bsc_msc.c
+++ b/src/osmo-bsc/osmo_bsc_msc.c
@@ -100,6 +100,34 @@ static const struct rate_ctr_desc msc_ctr_description[] = {
[MSC_CTR_BSSMAP_TX_DT1_HANDOVER_COMPLETE] = {"bssmap:tx:dt1:handover:complete", "Number of transmitted BSSMAP DT1 HANDOVER COMPLETE messages"},
[MSC_CTR_BSSMAP_TX_DT1_HANDOVER_FAILURE] = {"bssmap:tx:dt1:handover:failure", "Number of transmitted BSSMAP DT1 HANDOVER FAILURE messages"},
[MSC_CTR_BSSMAP_TX_DT1_DTAP] = {"bssmap:tx:dt1:dtap", "Number of transmitted BSSMAP DT1 DTAP messages"},
+
+ /* Indicators for MSC pool usage */
+ [MSC_CTR_MSCPOOL_SUBSCR_NEW] = {
+ "mscpool:subscr:new",
+ "Complete Layer 3 requests assigned to this MSC by round-robin (no NRI was assigned yet).",
+ },
+ [MSC_CTR_MSCPOOL_SUBSCR_REATTACH] = {
+ "mscpool:subscr:reattach",
+ "Complete Layer 3 requests assigned to this MSC by round-robin because the subscriber indicates a"
+ " NULL-NRI (previously assigned by another MSC).",
+ },
+ [MSC_CTR_MSCPOOL_SUBSCR_KNOWN] = {
+ "mscpool:subscr:known",
+ "Complete Layer 3 requests directed to this MSC because the subscriber indicates an NRI of this MSC.",
+ },
+ [MSC_CTR_MSCPOOL_SUBSCR_PAGED] = {
+ "mscpool:subscr:paged",
+ "Paging Response directed to this MSC because the subscriber was recently paged by this MSC.",
+ },
+ [MSC_CTR_MSCPOOL_SUBSCR_ATTACH_LOST] = {
+ "mscpool:subscr:attach_lost",
+ "A subscriber indicates an NRI value matching this MSC, but the MSC is not connected:"
+ " a re-attach to another MSC (if available) was forced, with possible service failure.",
+ },
+ [MSC_CTR_MSCPOOL_EMERG_FORWARDED] = {
+ "mscpool:emerg:forwarded",
+ "Emergency call requests forwarded to this MSC.",
+ },
};
static const struct rate_ctr_group_desc msc_ctrg_desc = {