blob: 967f98336014c6a4acc2aa897018243f62bcf104 [file] [log] [blame]
subhash kumar singh811df742021-03-26 15:07:55 +05301.. This work is licensed under a Creative Commons Attribution 4.0 International License.
2.. SPDX-License-Identifier: CC-BY-4.0
3.. Copyright (c) 2021 Samsung Electronics Co., Ltd. All Rights Reserved.
4
5
6Installation Guide
7==================
8
9.. contents::
10 :depth: 3
11 :local:
12
13Abstract
14--------
15
16This document describes how to install the reference HW-go xAPP.
17
subhash kumar singh811df742021-03-26 15:07:55 +053018
19Introduction
20------------
21
22This document provides guidelines on how to install and configure the HW-go xAPP in various environments/operating modes.
23The audience of this document is assumed to have good knowledge in RIC Platform.
24
25
26Preface
27-------
28This xAPP can be run directly as a Linux binary, as a docker image, or in a pod in a Kubernetes environment. The first
29two can be used for dev testing. The last option is how an xAPP is deployed in the RAN Intelligent Controller environment.
subhash kumar singhebad7402021-08-26 23:37:08 +053030This document covers all three methods.
subhash kumar singh811df742021-03-26 15:07:55 +053031
32
33
34
35Software Installation and Deployment
36------------------------------------
37The build process assumes a Linux environment with go >= 1.15 and has been tested on Ubuntu. For building docker images,
38the Docker environment must be present in the system.
39
40
41Build Process
42~~~~~~~~~~~~~
43The HW-go xAPP can be either tested as a Linux binary or as a docker image.
subhash kumar singhebad7402021-08-26 23:37:08 +053044 1. **Linux binary**:
subhash kumar singh811df742021-03-26 15:07:55 +053045 TBD
46
47 2. **Docker Image**: From the root of the repository, run *docker --no-cache build -t <image-name> ./* .
48
49
50Deployment
51~~~~~~~~~~
subhash kumar singh2f3bfe52021-07-22 14:15:56 +053052
53End to end deployment of `hw-go` can be referred at :
54
subhash kumar singhebad7402021-08-26 23:37:08 +053055 :ref:`Deployment Guide`.
subhash kumar singh811df742021-03-26 15:07:55 +053056
subhash kumar singhebad7402021-08-26 23:37:08 +053057Testing
subhash kumar singh811df742021-03-26 15:07:55 +053058--------
59
60Unit tests TBD