3 Copyright (c) 2019 Intellectual Property.
5 Licensed under the Creative Commons License, Attribution 4.0 Intl.
6 (the"Documentation License"); you may not use this documentation
7 except incompliance with the Documentation License. You may obtain
8 a copy of the Documentation License at
10 https://creativecommons.org/licenses/by/4.0/
12 Unless required by applicable law or agreed to in writing,
13 documentation distributed under the Documentation License is
14 distributed on an "AS IS"BASIS, WITHOUT WARRANTIES OR CONDITIONS
15 OF ANY KIND, either express or implied. See the Documentation
16 License for the specific language governing permissions and
17 limitations under the Documentation License.
21 [comment]: <> ( Copyright (c) 2019 AT&T Intellectual Property. )
22 [comment]: <> ( Licensed under the Creative Commons License, Attribution 4.0 Intl. (the
23 [comment]: <> ( "License")
24 [comment]: <> ( you may not use this file except in compliance with the License.
25 [comment]: <> ( You may obtain a copy of the License at #
27 [comment]: <> ( http://www.apache.org/licenses/LICENSE-2.0 #
28 # licensedunder the Creative Commons License, Attribution 4.0 Intl. (the"Documentation License"); you may not use this documentation except incompliance with the Documentation License. You may obtain a copy of theDocumentation License athttps://creativecommons.org/licenses/by/4.0/
31 # Unless required by applicable law or agreed to in writing, software #
32 # distributed under the License is distributed on an "AS IS" BASIS, #
33 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
34 # See the License for the specific language governing permissions and #
35 # limitations under the License. #
38 This is a comment, it will not be included)
39 [comment]: <> (in the output file unless you use it in)
40 [comment]: <> (a reference style link.)
45 This repo contains RAN Intelligent Controller (RIC) deployments related files.
50 The RIC deployment scripts are designed to deploy RIC components using helm charts. A deployment recipe yaml file that
51 contains parameter key:value pairs can be provided as a parameter for any deployment script in this repository. The
52 deployment recipe is acting as the helm override values.yaml file. If no deployment recipe is provided, default parameters
53 are used. The default parameters are set up to deploy a RIC instance using Linux Foundation repositories in a
54 self-contained environment.
57 ### Directory Structure
62 ├── LICENSES.txt License information
63 ├── README.md This file
64 ├── RECIPE_EXAMPLE Directory that contains deploy recipe examples
65 ├── ric-aux Deployment scripts, charts and configuration files for RIC auxilary functions
66 ├── ric-common Deployment scripts, charts and configuration files for RIC common template
67 ├── ric-infra Deployment scripts, charts and configuration files for infrastructure support
68 ├── ric-platform Deployment scripts, charts and configuration files for RIC platform components
69 └── ric-xapps xApp related scripts, charts and configuration files
71 ### Directory Naming Convention
73 The root directories are organized according to the deployment plans. Each directory contains subdirectories for
74 different deployable components. The prefixes of these subdirectories represent the deployment order. The smaller the
75 prefix number the eariler the corresponding component will be deployed. Consider the following example,
77 │ ├── 80-Auxiliary-Functions
93 │ ├── 80-Auxiliary-Functions
100 when deploying the ric-platform, the credential is deployed before RIC-Platform.
102 In each of the component directories, ./bin contains the binary and script files and ./helm contains the helm charts,
104 Some components contain an ./etc directory with configuration files and some contain a ./docker directory with docker related files for building the docker images.
106 Please refer to the README.md files in individual directory for more details.
108 Within ric-infra, ric-platform and ric-aux, each of the components above can be deployed and undeployed separately.
109 There are also scripts for deploying the ric-infra, ric-platform or ric-aux in its entirety.
111 The ./bin directory contains these scripts
113 The following sections discuss one-script deployment for each
115 ### To deploy RIC Infrastructure
117 Edit ./RECIPE_EXAMPLE/RIC_INFRA_RECIPE_EXAMPLE
118 You can choose whether to enable Kubernetes deployment, Helm Chart museum and ELFKP stack
119 You can specify the Helm release prefix and namespaces used
120 You must specify username and password for Docker repo
121 Then run the following to deploy:
123 $ . ./deploy-ric-infra -f ../RECIPE_EXAMPLE/RIC_INFRA_RECIPE_EXAMPLE
125 Run the following to undeploy:
127 $ . ./undeploy-ric-infra
130 ### To deploy RIC Platform
132 Edit ./RECIPE_EXAMPLE/RIC_PLATFORM_RECIPE_EXAMPLE
133 You can specify the Helm release prefix and namespaces used
134 Set the values of extsvcaux/ricip and extsvcaux/auxip to be the external IP addresses of VM hosting RIC cluster and VM hosting AUX cluster, respectively.
135 These values should be set in both the override file and the local values.yaml file
137 $ . ./deploy-ric-platform -f ../RECIPE_EXAMPLE/RIC_PLATFORM_RECIPE_EXAMPLE
139 Run the following to undeploy:
141 $ . ./undeploy-ric-platform
144 ### To deploy RIC Auxiliary functions
146 Edit ./RECIPE_EXAMPLE/RIC_PLATFORM_RECIPE_EXAMPLE
147 You can specify the Helm release prefix and namespaces used
148 Set the values of extsvcaux/ricip and extsvcaux/auxip to be the external IP addresses of VM hosting RIC cluster and VM hosting AUX cluster, respectively.
149 These values should be set in both the override file and the local values.yaml file
151 $ . ./deploy-ric-aux -f ../RECIPE_EXAMPLE/RIC_AUX_RECIPE_EXAMPLE
153 Run the following to undeploy:
155 $ . ./undeploy-ric-aux