aboutsummaryrefslogtreecommitdiffstats
path: root/doc/manuals/chapters/control.adoc
blob: db12bbb68044776ef26bf1910173fce0acf15a83 (plain)
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
[[control]]
== Control interface

The actual protocol is described in <<common-control-if>>, the variables
common to all programs using it are described in <<ctrl_common_vars>>. The
variables shared with OsmoBSC are described in corresponding section of
OsmoBSC documentation.Here we describe variables specific to OsmoNITB.

.Variables available over control interface
[options="header",width="100%",cols="20%,5%,5%,50%,20%"]
|===
|Name|Access|Trap|Value|Comment
|subscriber-modify-v1|WO|No|"<imsi>,<msisdn>,<alg>,<ki>"|See <<sub1>> for details.
|subscriber-delete-v1|WO|No|"<imsi>"|See <<subdel>> for details.
|subscriber-list-active-v1|RO|No||Return list of active subscribers.
|===

[[sub1]]
=== subscriber-modify-v1

Modify (or add if missing) subscriber entry with the give IMSI, MSISDN, Ki and
algorithm (valid values are "none", "xor" and "comp128v1"). The subscriber is
automatically marked as authorized.

[[subdel]]
=== subscriber-delete-v1

Delete the subscriber with the given IMSI. Returns "Removed active subscriber"
or "Removed" depending on the subscriber's use status.

[[osmo-bsc_nat]]

The following variables are only available over control interface of
osmo-bsc_nat program.

.Variables available over control interface of osmo-bsc_nat
[options="header",width="100%",cols="20%,5%,5%,50%,20%"]
|===
|Name|Access|Trap|Value|Comment
|net.0.bsc.N.*|RW|Yes|Arbitrary variable|Forward given command to BSC N control interface.
|net.0.bsc_cfg.N.access-list-name|RW|No|"<name>"|Set/Get ACL for a given BSC N.
|net.0.bsc_cfg.N.no-access-list-name|WO|No|Ignored|Remove ACL for a given BSC N.
|net.0.add.allow.access-list.A|WO|No|"<regexp>"|See <<nacl>> for details.
|net.0.save-configuration|WO|No|Ignored|Save current running config into file.
|net.0.bsc.N.notification-rejection-v1|NA|Yes|"imsi=<imis>"|See <<narej>> for details.
|===

[[nacl]]
=== allow.access-list

Add given regular expression for matching IMSI(s) to allowed access list A.

[[narej]]
=== notification-rejection-v1

This TRAP event notifies all connected clients about IMSI which was rejected by
BSC N.