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 | |
| 18 | Version history |
| 19 | |
| 20 | +--------------------+--------------------+--------------------+--------------------+ |
| 21 | | **Date** | **Ver.** | **Author** | **Comment** | |
| 22 | | | | | | |
| 23 | +--------------------+--------------------+--------------------+--------------------+ |
| 24 | | - |- |Rahul Banerji | - | |
| 25 | | | | | | |
| 26 | +--------------------+--------------------+--------------------+--------------------+ |
| 27 | |
| 28 | |
| 29 | Introduction |
| 30 | ------------ |
| 31 | |
| 32 | This document provides guidelines on how to install and configure the HW-go xAPP in various environments/operating modes. |
| 33 | The audience of this document is assumed to have good knowledge in RIC Platform. |
| 34 | |
| 35 | |
| 36 | Preface |
| 37 | ------- |
| 38 | This xAPP can be run directly as a Linux binary, as a docker image, or in a pod in a Kubernetes environment. The first |
| 39 | two can be used for dev testing. The last option is how an xAPP is deployed in the RAN Intelligent Controller environment. |
| 40 | This document covers all three methods. |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | Software Installation and Deployment |
| 46 | ------------------------------------ |
| 47 | The build process assumes a Linux environment with go >= 1.15 and has been tested on Ubuntu. For building docker images, |
| 48 | the Docker environment must be present in the system. |
| 49 | |
| 50 | |
| 51 | Build Process |
| 52 | ~~~~~~~~~~~~~ |
| 53 | The 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 | |
| 60 | Deployment |
| 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 | |
| 66 | Testing |
| 67 | -------- |
| 68 | |
| 69 | Unit tests TBD |