> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/tposs/latest/llms.txt) (all documentation: [llms.txt](https://docs.cennso.com/llms.txt)). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cennso.com/components/tposs/latest.md).

# Introduction

Travelping Open Subscriber Server (TPOSS) is the [AAA](https://docs.cennso.com/components/tposs/latest/glossary.md#telecom-abbreviations) and [HSS](https://docs.cennso.com/components/tposs/latest/glossary.md#telecom-abbreviations) platform. It works either as an AAA server for subscriber sessions, or as an HSS for a 4G mobile network. One instance runs in one of these modes only, and each mode has its own set of components.

This document provides an introductory information about these modes and their components.

## AAA mode

In this mode, TPOSS authorizes subscriber sessions, charges them, and stores their data. It consists of the following components:

- Policy Control Server (PCS, 3GPP PCRF) implements the Policy and Charging Rules Function (PCRF) following 3GPP standards. PCS is a central service in the TPOSS Control Plane, providing interfaces to the Policy and Charging Enforcement Function (PCEF), such as the Data Plane, which is usually the SCS (Session Control Service). PCS's main role is to manage a user's session and adjust policies based on data from the CCS and UDR services.
- Charging Control Server (CCS, 3GPP OCS) is a service for charging and controlling balances of users.
- User Data Repository (UDR) is a service for controlling user data and profiles.

The policy and charging control servers in TPOSS manage policy and charging rules using one of the following protocols:

- [Diameter](https://docs.cennso.com/components/tposs/latest/architecture/diameter.md)
- [SBI](https://docs.cennso.com/components/tposs/latest/architecture/sbi.md)
- [CDMP](https://docs.cennso.com/components/tposs/latest/architecture/cdmp.md)

The content of the user data repository is managed using the TPOSS REST API. You can use it [directly](https://docs.cennso.com/components/tposs/latest/api-reference/rest/api.md) or using TPOSS API Gateway.

For more information, read the [TPOSS architecture](https://docs.cennso.com/components/tposs/latest/architecture/architecture.md) document.

## HSS mode

In this mode, TPOSS serves a Mobility Management Entity (MME) over the Diameter [S6a](https://docs.cennso.com/components/tposs/latest/glossary.md#telecom-abbreviations) interface. It consists of the following components:

- Home Subscriber Server (HSS, 3GPP HSS) answers the authentication, location update, and purge requests of an MME. It stores the 4G subscription data of a subscriber and passes it to the serving MME.
- Authentication Centre (AuC, 3GPP AuC) stores the secret key of a subscriber and computes the authentication vectors that the HSS sends to an MME.

Subscribers and their key material are provisioned using the TPOSS REST API. For more information, read the [HSS architecture](https://docs.cennso.com/components/tposs/latest/architecture/s6a.md) and [Authentication Centre key management](https://docs.cennso.com/components/tposs/latest/configuration/auc-key-handling.md) documents.

## TPOSS API Gateway

TPOSS provides a set of HTTP REST APIs to control and fetch data from TPOSS. Usually, the API is not accessed directly but using the TPOSS API Gateway component. TPOSS provides the following APIs:

- [Balance API](https://docs.cennso.com/components/tposs/latest/api-reference/rpc/balance_api.md) - Fetch and provision subscribers balances.
- [Carriers API](https://docs.cennso.com/components/tposs/latest/api-reference/rpc/carriers_api.md) - Import carriers and carrier groups.
- [CDR API](https://docs.cennso.com/components/tposs/latest/api-reference/rpc/cdr_api.md) - Fetch charging data records (CDRs).
- [Charging Account API](https://docs.cennso.com/components/tposs/latest/api-reference/rpc/charging_account_api.md) - Fetch and provision charging accounts.
- [Events API](https://docs.cennso.com/components/tposs/latest/api-reference/rpc/events_api.md) - Delete events generated by TPOSS.
- [Session API](https://docs.cennso.com/components/tposs/latest/api-reference/rpc/session_api.md) - Fetch information about network and service sessions.
- [Subscriber API](https://docs.cennso.com/components/tposs/latest/api-reference/rpc/subscriber_api.md) - Provision and fetch information about subscribers.
- [Whitelist API](https://docs.cennso.com/components/tposs/latest/api-reference/rpc/whitelist_api.md) - Provision and deprovision whitelist IMEISV(s) into TPOSS.

For more information, see the [API Reference](https://docs.cennso.com/components/tposs/latest/api-reference/rpc/overview.md) and [TPOSS API Gateway chart configuration](https://docs.cennso.com/components/tposs/latest/technical-reference/api-gw-configuration.md) documentation.

## Additional containers and charts

> [!NOTE]
> Travelping provides no SLA for the repositories that host the charts and containers listed below. They are only used for delivery. You must host the Git content, Helm charts, and container images on your own infrastructure to ensure availability as per your operational needs.

Besides the TPOSS container itself, a TPOSS deployment pulls containers for its [init containers](https://kubernetes.io/docs/concepts/workloads/pods/init-containers/), for the optional SFTP exporter, and for the NATS chart it depends on.

The TPOSS chart always deploys these containers:

- The `registry.cennso.com/cennso/tposs:v6.19.1` TPOSS container.
- The `registry.cennso.com/cennso/nettools:v1.19.1` container for the init containers.

The TPOSS chart deploys these containers only when you enable the corresponding feature:

- The `registry.cennso.com/cennso/tposs-cdr-exporter-sftp:v1.2.2` container for SFTP CDRs exporter. Used when the `sftp` container is enabled to allow external billing systems to fetch CDRs. For more information, read the chart configuration section about [SFTP container configuration](https://docs.cennso.com/components/tposs/latest/technical-reference/configuration.md#sftp-container-configuration).

There is an additional Helm chart that comes as a dependency for the TPOSS chart:

- The [NATS](https://github.com/nats-io/k8s) Helm chart provides NATS deployment. TPOSS depends on version `1.3.9` of this chart and pulls it from `oci://registry.cennso.com/cennso/charts`. The NATS chart is deployed along with TPOSS deployment if the configuration option **nats.enabled** is set to `true`.

These containers come with the NATS chart:

- The `registry.cennso.com/cennso/nats:2.11.6-alpine` NATS container used by TPOSS.
- The `registry.cennso.com/cennso/natsio/prometheus-nats-exporter:0.17.2` Prometheus exporter to expose metrics from the deployed NATS instance.
- The `registry.cennso.com/cennso/natsio/nats-server-config-reloader:0.17.1` sidecar container used to watch the NATS instance to re-deploy NATS in case of configuration updates.

For more information, see the [NATS configuration](https://docs.cennso.com/components/tposs/latest/technical-reference/nats.md) document.

The TPOSS API Gateway comes as its own Helm chart, which you can deploy next to TPOSS. This chart uses these containers:

- The `registry.cennso.com/cennso/tposs/tposs_api_gw:v1.6.8` TPOSS API Gateway container.
- The `registry.cennso.com/cennso/nettools:v1.16.0` container for the init script of the API Gateway.

For more information, see the [TPOSS API Gateway chart configuration](https://docs.cennso.com/components/tposs/latest/technical-reference/api-gw-configuration.md) document.
