Skip to content

Commit 12bc635

Browse files
authored
Merge pull request #19 from opennetworkinglab/maintenance
clarify OAI blueprint
2 parents d1c5903 + 644f0f5 commit 12bc635

File tree

2 files changed

+47
-21
lines changed

2 files changed

+47
-21
lines changed

dict.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@ webhooks
323323
webpage
324324
webserver
325325
webui
326+
wirelessly
326327
workspace
327328
workspaces
328329
xApps

onramp/blueprints.rst

Lines changed: 46 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -485,8 +485,12 @@ OAI 5G RAN
485485

486486
Aether can be configured to work with the open source gNB from OAI.
487487
The blueprint runs in either simulation mode or with physical UEs
488-
connecting to a USRP software-defined radio. The following assumes
489-
familiarity with the OAI 5G RAN stack.
488+
connecting wirelessly to a USRP software-defined radio.
489+
490+
The following assumes familiarity with the OAI 5G RAN stack, but it is
491+
**not** necessary to separately install the OAI stack. OnRamp installs
492+
both the Aether Core and the OAI RAN, plus the networking needed to
493+
interconnect the two.
490494

491495
.. _reading_oai:
492496
.. admonition:: Further Reading
@@ -585,14 +589,29 @@ parameters`` section need to be modified to work with the Aether Core:
585589
586590
GNB_IPV4_ADDRESS_FOR_NG_AMF = "{{oai.gnb.ip}}/24";
587591
588-
One other variable of note is ``ran_subnet: "172.20.0.0/16"`` in the
589-
``core`` block of ``vars/main.yml``. As a general rule,
590-
``core.ran_subnet`` is set to the empty string (``""``) whenever a
591-
physical gNB is on the same L2 network as the Core, but in the case of
592-
an OAI-based gNB, the RAN stack runs in a Macvlan-connected Docker
593-
container, and so the variable is set to ``"172.20.0.0/16"``. (This
594-
is similar to how OnRamp configures the Core for an emulated gNB using
595-
gNBsim.)
592+
The ``core`` section of ``vars/main.yml`` is similar to that used in
593+
other blueprints, with two variable settings of note. First,
594+
``ran_subnet`` is set to ``"172.20.0.0/16"`` and not the empty string
595+
(``""``). As a general rule, ``core.ran_subnet`` is set to the empty
596+
string whenever a physical gNB is on the same L2 network as the Core,
597+
but in the case of an OAI-based gNB, the RAN stack runs in a
598+
Macvlan-connected Docker container, and so the variable is set to
599+
``"172.20.0.0/16"``. (This is similar to how OnRamp configures the
600+
Core for an emulated gNB using gNBsim.)
601+
602+
Second, variable ``values_file`` is set to
603+
``"deps/5gc/roles/core/templates/sdcore-5g-values.yaml"`` by default,
604+
meaning simulated UEs uses the same PLMN and IMSI range as gNBsim.
605+
When deploying with physical UEs, it is necessary to replace that
606+
values file with one that matches the SIM cards you plan to use. One
607+
option is to reuse the values file also used by the :doc:`Physical RAN
608+
</onramp/gnb>` blueprint, meaning you would set the variable as:
609+
610+
.. code-block::
611+
612+
values_file: "deps/5gc/roles/core/templates/radio-5g-values.yaml"
613+
614+
That file should be edited, as necessary, to match your configuration.
596615

597616
To deploy the OAI blueprint in simulation mode, run the following:
598617

@@ -603,17 +622,23 @@ To deploy the OAI blueprint in simulation mode, run the following:
603622
$ make oai-gnb-install
604623
$ make oai-uesim-start
605624
606-
To deploy the OAI blueprint with a physical gNB and UE, first
607-
configure the USRP hardware as described in the `USRP Hardware Manual
608-
<https://files.ettus.com/manual/page_usrp_x3x0.html>`__. Of
609-
particular note, you need to select whether the device is to connect
610-
to the Aether Core using its 1-GigE or 10-GigE interface, and make
611-
sure the OAI configuration file (corresponding to ``gnb.conf_file``)
612-
sets the ``sd_addrs`` variable to match the interface you select. You
613-
also need to make sure the PLMN-related values in the files specified
614-
by ``core.values_file`` and ``gnb.conf_file`` (along with the SIM
615-
cards you burn) are consistent. Once ready, run the following Make
616-
targets:
625+
To deploy the OAI blueprint with a software-defined radio and physical
626+
UE, first configure the USRP hardware as described in the USRP Hardware
627+
Manual.
628+
629+
.. _reading_usrp:
630+
.. admonition:: Further Reading
631+
632+
`USRP Hardware Manual <https://files.ettus.com/manual/page_usrp_x3x0.html>`__.
633+
634+
Of particular note, you need to select whether the device is to
635+
connect to the Aether Core using its 1-GigE or 10-GigE interface, and
636+
make sure the OAI configuration file (corresponding to
637+
``gnb.conf_file``) sets the ``sd_addrs`` variable to match the
638+
interface you select. You also need to make sure the PLMN-related
639+
values in the files specified by ``core.values_file`` and
640+
``gnb.conf_file`` (along with the SIM cards you burn) are
641+
consistent. Once ready, run the following Make targets:
617642

618643
.. code-block::
619644

0 commit comments

Comments
 (0)