blob: ccbdbb2542e01e923efef776649d4edde8156127 [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
18Version history
19
20+--------------------+--------------------+--------------------+--------------------+
21| **Date** | **Ver.** | **Author** | **Comment** |
22| | | | |
23+--------------------+--------------------+--------------------+--------------------+
24| - |- |Rahul Banerji | - |
25| | | | |
26+--------------------+--------------------+--------------------+--------------------+
27
28
29Introduction
30------------
31
32This document provides guidelines on how to install and configure the HW-go xAPP in various environments/operating modes.
33The audience of this document is assumed to have good knowledge in RIC Platform.
34
35
36Preface
37-------
38This xAPP can be run directly as a Linux binary, as a docker image, or in a pod in a Kubernetes environment. The first
39two can be used for dev testing. The last option is how an xAPP is deployed in the RAN Intelligent Controller environment.
40This document covers all three methods.
41
42
43
44
45Software Installation and Deployment
46------------------------------------
47The build process assumes a Linux environment with go >= 1.15 and has been tested on Ubuntu. For building docker images,
48the Docker environment must be present in the system.
49
50
51Build Process
52~~~~~~~~~~~~~
53The HW-go xAPP can be either tested as a Linux binary or as a docker image.
54 1. **Linux binary**:
55 TBD
56
57 2. **Docker Image**: From the root of the repository, run *docker --no-cache build -t <image-name> ./* .
58
59
60Deployment
61~~~~~~~~~~
62**Invoking HW-go xAPP docker container directly** (not in RIC Kubernetes env.):
63 One can include the pod.yaml for including it in k8s build. Replace the image name with one built.
64 TBD: Adding HW-go xAPP to nexus repo
65
66Testing
67--------
68
69Unit tests TBD