blob: 7e46a05710c841a7ac6e5f1852629b7884074b42 [file] [log] [blame]
Scott Bakerb260e922022-02-22 16:30:58 -08001..
2 SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
3 SPDX-License-Identifier: Apache-2.0
4
5Subscriber Proxy
6================
7
8The Aether subscriber proxy is a component that sits between the SD-Core's simapp
9SIM card management subsystem and the SD-Core's configuration service, and communicates
10newly provisioned SIM cards to the ROC.
11
12.. image:: images/subproxy.svg
13 :width: 400
14
15How Subscriber Proxy Works
Scott Bakera70016d2022-02-23 10:46:28 -080016--------------------------
Scott Bakerb260e922022-02-22 16:30:58 -080017
18The subscriber proxy transparently intercepts simapp traffic and inspects each message for
19the IMSI that is contained in that message. If the IMSI is a new one that is not
20already present in the ROC, then the subscriber proxy will contact the ROC to insert a
21Sim-Card object with that IMSI.
22
23The subscriber proxy will attempt to insert the SIM Card into the appropriate site. It does
24this by examining the `imsi-definition` for each site, until subscriber proxy finds a
25site whose `mcc`, `mnc`, and `enterprise` match the IMSI that has been intercepted
26from simapp. For this to work, the `imsi-format` must be set appropriately, for example
27to `CCCNNEESSSSSSSS`. Setting the `imsi-format` to `SSSSSSSSSSSSSSS` will not allow the
28subscriber-proxy to automatically determine the site. If no matching site exists, then
29the subscriber proxy will attempt to add the Sim-Card to a site whose identifier is
30`defaultent-defaultsite`.
31
32If no appropriate site can be determined, then the subscriber proxy will not add the
33sim-card to the ROC, but the request will still be passed to SD-Core.
34
35Configuring simapp
Scott Bakera70016d2022-02-23 10:46:28 -080036------------------
Scott Bakerb260e922022-02-22 16:30:58 -080037
38To configure simapp to send messages to the subscriber proxy, edit simapp's configuration
39file as follows::
40
41 simapp.yaml:
42 configuration:
43 sub-proxy-endpt:
44 addr: subscriber-proxy.aether-roc.svc.cluster.local
45 port: 5000
46
47In the above example, `subscriber-proxy.aether-roc.svc.cluster.local` is the address of the
48subscriber proxy. Do not remove the existing `sub-provision-endpt` as that setting contains
49the address of the SD-Core, and will be passed through the proxy, so the proxy knows which
50core to connect to.