86089e14ee51b5614eef0189d12e2675563bf5a8
[nonrtric/rapp/ransliceassurance.git] / icsversion / README.md
1 ## License
2 Copyright (C) 2022 Nordix Foundation.
3 Licensed under the Apache License, Version 2.0 (the "License")
4 you may not use this file except in compliance with the License.
5 You may obtain a copy of the License at
6
7       http://www.apache.org/licenses/LICENSE-2.0
8
9 Unless required by applicable law or agreed to in writing, software
10 distributed under the License is distributed on an "AS IS" BASIS,
11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 See the License for the specific language governing permissions and
13 limitations under the License.
14
15 # O-RAN-SC docker-compose files for O-DU Closed Loop Usecase Slice Assurance integrated with ICS:
16 The docker compose file helps the user to deploy all or partial components of the Slice assurance usecase with one command.
17
18 ## Prerequisite:
19
20 Minimal SMO deployment is needed. This can be started using the instructions from https://gerrit.o-ran-sc.org/r/gitweb?p=oam.git;a=blob;f=solution/integration/README.md;h=73100a4d31a84fb0de9beeb52b639df249ab0fcf;hb=HEAD
21
22 ## Overview
23
24 This docker compose start the following components:
25
26 ### Information Coordinator Service
27 Coordinate/Register Information Types, Producers, Consumers, and Jobs.
28
29 ### O-RAN-SC Control Panel
30
31 The Non-RT RIC Control Panel is a graphical user interface that enables the user to view and manage the A1 policies in the RAN and also view producers and jobs for the Information coordinator service.
32
33 ### O-RAN-SC Control Panel Gateway:
34
35 To view the policy or information jobs and types in control panel gui along with Policy Management Service & Information Coordinator Service you should also have nonrtric gateway because all the request from the gui are passed through this API gateway.
36
37 ### Dmaap-Adaptor/Mediator
38 Two alternatives mediators that take information from DMaaP (& Kafka) and present it as a coordinated Information Producer.
39 These configurable adapters/mediators act as producers of Information Coordinator Service (ICS) jobs by polling topics in DMaaP Message Router (MR) or Kafka and pushing the messages to a consumer.
40
41 #### Configuration files for Dmaap topics
42
43 * The Dmaap Adaptor Service needs two configurations files, one for the application specific parameters and one for the types the application supports. More information can be found on wiki page: [Java version](https://wiki.o-ran-sc.org/display/RICNR/Release+F+-+Run+in+Docker#ReleaseFRuninDocker-RuntheDmaapAdaptorServiceDockerContainer).
44
45 * The Dmaap Mediator Producer needs one configuration file for the types the application supports and different enviroment variables that can be configured in the docker compose file. More information can be found on wiki page: [Go version](https://wiki.o-ran-sc.org/display/RICNR/Release+F+-+Run+in+Docker#ReleaseFRuninDocker-RuntheDmaapMediatorProducerDockerContainer).
46
47 ### O-DU Slice Assurance Rapp
48 O-DU Closed Loop Usecase Slice Assurance Rapp integrated with ICS.
49
50 #### Startup solution
51
52 ```
53 docker-compose up -d
54 ```
55
56 ### Log files
57
58 ```
59 docker logs -f ics
60 docker logs -f dmaap-adaptor-service
61 docker logs -f dmaap-mediator-service
62 docker logs -f odu-app
63 ```
64