Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

draft devel section #1

Merged
merged 7 commits into from
Mar 2, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ def get_version():
r'https://ark.intel.com/.*',
r'https://wiki.onosproject.org/.*',
r'https://wiki.opennetworking.org/.*',
r'https://docs.sd-core.opennetworking.org/.*',
]

linkcheck_timeout = 3
Expand Down
1 change: 1 addition & 0 deletions index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
onramp/gnbsim
onramp/gnb
onramp/roc
onramp/devel
onramp/blueprints

.. toctree::
Expand Down
69 changes: 69 additions & 0 deletions onramp/devel.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
Development Support
-----------------------

OnRamp's primary goal is to support users that want to deploy
officially released versions of Aether on local hardware, but it also
provides a way for users that want to develop new features to deploy
and test those changes. To this end, this section describes how to
llpeterson marked this conversation as resolved.
Show resolved Hide resolved
configure OnRamp to include locally modified components.
llpeterson marked this conversation as resolved.
Show resolved Hide resolved

At a low level, development is a component-specific task, and users
are referred to documentation for the respective subsystems:

* To develop SD-Core, see the :doc:`SD-Core Guide <sdcore:index>`.

* To develop SD-RAN, see the :doc:`SD-RAN Guide <sdran:index>`.

* To develop ROC-based APIs, see :doc:`ROC Development </developer/roc>`.

* To develop Monitoring Dashboards, see :doc:`Monitoring & Alert Development </developer/monitoring>`.

At a high level, OnRamp provides a means to deploy developmental
versions of Aether than include local modifications to the standard
llpeterson marked this conversation as resolved.
Show resolved Hide resolved
components. These modifications range from coarse-grain (i.e.,
replacing the Helm Chart for an entire subsystem), to fine-grain
(i.e., replacing the container image for an individual microservice).
llpeterson marked this conversation as resolved.
Show resolved Hide resolved
The following uses SD-Core as a specific example to illustrate how
this is done. The same approach can be applied to other subsystems.

To substitute a local Helm Chart—for example, one located in directory
``/home/ubuntu/aether/sdcore-helm-charts/sdcore-helm-charts`` on the
server where you run the OnRamp ``make`` targets—edit the ``helm``
block of the ``core`` section of ``vars/main.yml`` to replace:

.. code-block::

helm:
local_charts: false
chart_ref: aether/sd-core
chart_version: 0.12.8

with

.. code-block::

helm:
local_charts: true
chart_ref: "/home/ubuntu/aether/sdcore-helm-charts/sdcore-helm-charts"
chart_version: 0.13.2

Note that variable ``core.helm.local_charts`` is a boolean, not the
string ``"true"``. And in this example, we have declared our new chart
to be version ``0.13.2`` instead of ``0.12.8``.

To substitute a locally built container image, edit the corresponding
block in the values override file that you have configured in
``vars/main.yml``; e.g.,
``deps/5gc/roles/core/templates/sdcore-5g-values.yaml``. For example,
if you have published an alternative version of the AMF microservice
in your account on Docker Hub with tag ``myversion:foo``, then set the
``images`` block of 5G control plane section accordingly:

.. code-block::

5g-control-plane:
enable5G: true
images:
repository: "hub.docker.com/myregistry/"
tags:
amf: myversion:foo