subhash kumar singh | 811df74 | 2021-03-26 15:07:55 +0530 | [diff] [blame] | 1 | .. 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 | |
| 6 | Installation Guide |
| 7 | ================== |
| 8 | |
| 9 | .. contents:: |
| 10 | :depth: 3 |
| 11 | :local: |
| 12 | |
| 13 | Abstract |
| 14 | -------- |
| 15 | |
| 16 | This document describes how to install the reference HW-go xAPP. |
| 17 | |
subhash kumar singh | 811df74 | 2021-03-26 15:07:55 +0530 | [diff] [blame] | 18 | |
| 19 | Introduction |
| 20 | ------------ |
| 21 | |
| 22 | This document provides guidelines on how to install and configure the HW-go xAPP in various environments/operating modes. |
| 23 | The audience of this document is assumed to have good knowledge in RIC Platform. |
| 24 | |
| 25 | |
| 26 | Preface |
| 27 | ------- |
| 28 | This xAPP can be run directly as a Linux binary, as a docker image, or in a pod in a Kubernetes environment. The first |
| 29 | two can be used for dev testing. The last option is how an xAPP is deployed in the RAN Intelligent Controller environment. |
subhash kumar singh | ebad740 | 2021-08-26 23:37:08 +0530 | [diff] [blame^] | 30 | This document covers all three methods. |
subhash kumar singh | 811df74 | 2021-03-26 15:07:55 +0530 | [diff] [blame] | 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | Software Installation and Deployment |
| 36 | ------------------------------------ |
| 37 | The build process assumes a Linux environment with go >= 1.15 and has been tested on Ubuntu. For building docker images, |
| 38 | the Docker environment must be present in the system. |
| 39 | |
| 40 | |
| 41 | Build Process |
| 42 | ~~~~~~~~~~~~~ |
| 43 | The HW-go xAPP can be either tested as a Linux binary or as a docker image. |
subhash kumar singh | ebad740 | 2021-08-26 23:37:08 +0530 | [diff] [blame^] | 44 | 1. **Linux binary**: |
subhash kumar singh | 811df74 | 2021-03-26 15:07:55 +0530 | [diff] [blame] | 45 | TBD |
| 46 | |
| 47 | 2. **Docker Image**: From the root of the repository, run *docker --no-cache build -t <image-name> ./* . |
| 48 | |
| 49 | |
| 50 | Deployment |
| 51 | ~~~~~~~~~~ |
subhash kumar singh | 2f3bfe5 | 2021-07-22 14:15:56 +0530 | [diff] [blame] | 52 | |
| 53 | End to end deployment of `hw-go` can be referred at : |
| 54 | |
subhash kumar singh | ebad740 | 2021-08-26 23:37:08 +0530 | [diff] [blame^] | 55 | :ref:`Deployment Guide`. |
subhash kumar singh | 811df74 | 2021-03-26 15:07:55 +0530 | [diff] [blame] | 56 | |
subhash kumar singh | ebad740 | 2021-08-26 23:37:08 +0530 | [diff] [blame^] | 57 | Testing |
subhash kumar singh | 811df74 | 2021-03-26 15:07:55 +0530 | [diff] [blame] | 58 | -------- |
| 59 | |
| 60 | Unit tests TBD |