1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
|
[ORDERED_INCLUDE]
# Common configuration, shared between test suites
"/osmo-ttcn3-hacks/Common.cfg"
# testsuite specific configuration, not expected to change
"/osmo-ttcn3-hacks/hnbgw/HNBGW_Tests.default"
# Local configuration below
[LOGGING]
[TESTPORT_PARAMETERS]
*.HNBGWVTY.CTRL_HOSTNAME := "172.18.35.20"
*.STATSVTY.CTRL_HOSTNAME := "172.18.35.20"
[MODULE_PARAMETERS]
HNBGW_Tests.mp_hnodeb_ip := "172.18.35.203";
HNBGW_Tests.mp_hnbgw_ip := "172.18.35.20";
HNBGW_Tests.mp_mgw_ip := "172.18.35.203";
HNBGW_Tests.mp_local_statsd_ip := "172.18.35.203";
HNBGW_Tests.mp_cn_cfg := {
{
transport := RANAP_TRANSPORT_IuCS,
sccp_service_type := "mtp3_itu",
sctp_addr := { 23905, "172.18.35.203", 2905, "172.18.35.200" },
own_pc := 188, /* 0.23.4 first MSC emulation */
own_ssn := 142,
peer_pc := 189, /* 0.23.5 osmo-hnbgw */
peer_ssn := 142,
sio := '83'O,
rctx := 1
},
{
transport := RANAP_TRANSPORT_IuCS,
sccp_service_type := "mtp3_itu",
sctp_addr := { 23907, "172.18.35.203", 2905, "172.18.35.200" },
own_pc := 2, /* 0.0.2 second MSC emulation */
own_ssn := 142,
peer_pc := 189, /* 0.23.5 osmo-hnbgw */
peer_ssn := 142,
sio := '83'O,
rctx := 3
},
{
transport := RANAP_TRANSPORT_IuCS,
sccp_service_type := "mtp3_itu",
sctp_addr := { 23909, "172.18.35.203", 2905, "172.18.35.200" },
own_pc := 3, /* 0.0.3 third MSC emulation */
own_ssn := 142,
peer_pc := 189, /* 0.23.5 osmo-hnbgw */
peer_ssn := 142,
sio := '83'O,
rctx := 5
},
{
transport := RANAP_TRANSPORT_IuCS,
sccp_service_type := "mtp3_itu",
sctp_addr := { 23911, "172.18.35.203", 2905, "172.18.35.200" },
own_pc := 3, /* 0.0.3 third MSC emulation */
own_pc := 4, /* 0.0.4 fourth MSC emulation */
own_ssn := 142,
peer_pc := 189, /* 0.23.5 osmo-hnbgw */
peer_ssn := 142,
sio := '83'O,
rctx := 7
},
/* SGSNs (NUM_SGSN entries) */
{
transport := RANAP_TRANSPORT_IuCS,
sccp_service_type := "mtp3_itu",
sctp_addr := { /* local */ 23906, "172.18.35.203", 2905, "172.18.35.200" },
own_pc := 185, /* 0.23.1 first SGSN emulation */
own_ssn := 142,
peer_pc := 189, /* 2237, 1.23.5 osmo-hnbgw */
peer_ssn := 142,
sio := '83'O,
rctx := 2
},
{
transport := RANAP_TRANSPORT_IuCS,
sccp_service_type := "mtp3_itu",
sctp_addr := { /* local */ 23908, "172.18.35.203", 2905, "172.18.35.200" },
own_pc := 10, /* 0.1.2 second SGSN emulation */
own_ssn := 142,
peer_pc := 189, /* 2237, 1.23.5 osmo-hnbgw */
peer_ssn := 142,
sio := '83'O,
rctx := 4
},
{
transport := RANAP_TRANSPORT_IuCS,
sccp_service_type := "mtp3_itu",
sctp_addr := { /* local */ 23910, "172.18.35.203", 2905, "172.18.35.200" },
own_pc := 11, /* 0.1.3 third SGSN emulation */
own_ssn := 142,
peer_pc := 189, /* 2237, 1.23.5 osmo-hnbgw */
peer_ssn := 142,
sio := '83'O,
rctx := 6
},
{
transport := RANAP_TRANSPORT_IuCS,
sccp_service_type := "mtp3_itu",
sctp_addr := { /* local */ 23912, "172.18.35.203", 2905, "172.18.35.200" },
own_pc := 12, /* 0.1.4 fourth SGSN emulation */
own_ssn := 142,
peer_pc := 189, /* 2237, 1.23.5 osmo-hnbgw */
peer_ssn := 142,
sio := '83'O,
rctx := 8
}
};
HNBGW_Tests.mp_validate_talloc_asn1 := true;
# keep in sync with osmo-hnbgw.cfg "timer hnbgw x31":
HNBGW_Tests.mp_hnbgw_timer_x31 := 5;
[MAIN_CONTROLLER]
[EXECUTE]
HNBGW_Tests.control
|