lynxis lazus has uploaded this change for review.

View Change

stp: for TCAP loadshare: use NI == national

Use a non-zero NI. The TCAP tests don't check it
on the receive path, but the osmo-stp is checking
it if it matches the configuration.

Related: SYS#8061
Change-Id: I51ef302ad72ff3c434fddb39006ce50106a5918f
---
M stp/STP_Tests_TCAP.cfg
M stp/osmo-stp-tcap.confmerge
2 files changed, 13 insertions(+), 12 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/25/42825/1
diff --git a/stp/STP_Tests_TCAP.cfg b/stp/STP_Tests_TCAP.cfg
index a096d26..1bba06f 100644
--- a/stp/STP_Tests_TCAP.cfg
+++ b/stp/STP_Tests_TCAP.cfg
@@ -28,7 +28,7 @@
own_ssn := 8, /* MSC (MAP) */
peer_pc := 5,
peer_ssn := 6, /* HLR (MAP) */
- sio := '03'O, # NI=International, SI=SCCP
+ sio := '83'O, # NI=National, SI=SCCP
rctx := 1000
}
},
@@ -47,7 +47,7 @@
own_ssn := 8, /* MSC (MAP) */
peer_pc := 5,
peer_ssn := 6, /* HLR (MAP) */
- sio := '03'O, # NI=International, SI=SCCP
+ sio := '83'O, # NI=National, SI=SCCP
rctx := 1000
}
},
@@ -67,7 +67,7 @@
own_ssn := 8, /* MSC (MAP) */
peer_pc := 25,
peer_ssn := 6, /* HLR (MAP) */
- sio := '03'O, # NI=International, SI=SCCP
+ sio := '83'O, # NI=National, SI=SCCP
rctx := 1001
}
},
@@ -86,7 +86,7 @@
own_ssn := 8, /* MSC (MAP) */
peer_pc := 25,
peer_ssn := 6, /* HLR (MAP) */
- sio := '03'O, # NI=International, SI=SCCP
+ sio := '83'O, # NI=National, SI=SCCP
rctx := 1001
}
},
@@ -106,7 +106,7 @@
own_ssn := 8, /* MSC (MAP) */
peer_pc := 24,
peer_ssn := 6, /* HLR (MAP) */
- sio := '03'O, # NI=International, SI=SCCP
+ sio := '83'O, # NI=National, SI=SCCP
rctx := 1002
}
},
@@ -125,7 +125,7 @@
own_ssn := 8, /* MSC (MAP) */
peer_pc := 24,
peer_ssn := 6, /* HLR (MAP) */
- sio := '03'O, # NI=International, SI=SCCP
+ sio := '83'O, # NI=National, SI=SCCP
rctx := 1002
}
},
@@ -147,7 +147,7 @@
own_ssn := 6, /* HLR (MAP) */
peer_pc := 23,
peer_ssn := 8, /* MSC (MAP) */
- sio := '03'O, # NI=International, SI=SCCP
+ sio := '83'O, # NI=National, SI=SCCP
rctx := 0
}
},
@@ -168,7 +168,7 @@
own_ssn := 6, /* HLR (MAP) */
peer_pc := 23,
peer_ssn := 8, /* MSC (MAP) */
- sio := '03'O, # NI=International, SI=SCCP
+ sio := '83'O, # NI=National, SI=SCCP
rctx := 0
}
},
@@ -190,7 +190,7 @@
own_ssn := 6, /* HLR (MAP) */
peer_pc := 7,
peer_ssn := 8, /* MSC (MAP) */
- sio := '03'O, # NI=International, SI=SCCP
+ sio := '83'O, # NI=National, SI=SCCP
rctx := 0
}
},
@@ -211,7 +211,7 @@
own_ssn := 6, /* HLR (MAP) */
peer_pc := 7,
peer_ssn := 8, /* MSC (MAP) */
- sio := '03'O, # NI=International, SI=SCCP
+ sio := '83'O, # NI=National, SI=SCCP
rctx := 0
}
},
@@ -233,7 +233,7 @@
own_ssn := 8, /* MSC (MAP) */
peer_pc := 6,
peer_ssn := 6, /* HLR (MAP) */
- sio := '03'O, # NI=International, SI=SCCP
+ sio := '83'O, # NI=National, SI=SCCP
rctx := 0
}
},
@@ -254,7 +254,7 @@
own_ssn := 8, /* MSC (MAP) */
peer_pc := 6,
peer_ssn := 6, /* HLR (MAP) */
- sio := '03'O, # NI=International, SI=SCCP
+ sio := '83'O, # NI=National, SI=SCCP
rctx := 0
}
}
diff --git a/stp/osmo-stp-tcap.confmerge b/stp/osmo-stp-tcap.confmerge
index 4090099..da607a5 100644
--- a/stp/osmo-stp-tcap.confmerge
+++ b/stp/osmo-stp-tcap.confmerge
@@ -2,6 +2,7 @@
!
!M3UA AS/ASP as(p)-m3ua-loadshare-0:
!
+ network-indicator national
asp asp-m3ua-loadshare-0-0 9900 2905 m3ua
local-ip 127.0.0.1
local-ip ::1

To view, visit change 42825. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I51ef302ad72ff3c434fddb39006ce50106a5918f
Gerrit-Change-Number: 42825
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis@fe80.eu>