Skip to content

Latest commit

 

History

History
59 lines (40 loc) · 1.39 KB

README.md

File metadata and controls

59 lines (40 loc) · 1.39 KB

SRS-ENB-UE-Operator

Open-source 4G EnodeB and User emulators developed by Software Radio Systems (SRS).

Usage

If you wish to change the default configuration, create a YAML configuration file with fields you would like to change:

---
srs-enb-ue:
  bind-interface: <Local interface to bind for GTP and S1AP connection.>
  enb-name: <eNodeB name.>
  enb-mcc: <EnodeB Mobile Country Code (MCC).>
  enb-mnc: <EnodeB Mobile Network Code (MNC).>
  enb-rf-device-name: <RF Device Name.>
  enb-rf-device-args: <RF Device Arguments.> 
  ue-usim-algo: <The authentication algorithm to use (MILENAGE or XOR).>
  ue-nas-apn: <NAS Access Point Name (APN).>
  ue-device-name: <UE Device Name.>
  ue-device-args: <UE Device arguments.>

And run the following command:

juju deploy srs-enb-ue --config <yaml config file> --channel=edge

Actions

Attach UE

For attaching the UE to the core network run:

juju run-action <unit> attach-ue --string-args usim-imsi=<IMSI> usim-k=<K> usim-opc=<OPC> --wait

Detach UE

For detaching the UE from the core run:

juju run-action <unit> detach-ue --wait

Remove default gateway

For removing the default gateway:

juju run-action <unit> remove-default-gw --wait

Relations

  • lte-core: The LTE core interface is used to connect to a 4G/LTE core network via its MME IPv4 address.