blob: aea9f07c16229c0b8a30f07bd58c78eeac90fc7d [file] [log] [blame]
maximesson94978f42019-11-13 11:53:26 +01001.. This work is licensed under a Creative Commons Attribution 4.0 International License.
2.. SPDX-License-Identifier: CC-BY-4.0
Lathish1279d192019-10-10 13:30:07 +01003
4A1 Mediation:
51. SDNC Controller
62. Near-RT RIC Simulator
7
8SDNC A1 Controller Developer Guide
maximesson780b2bf2019-11-12 16:09:02 +01009==================================
Lathish1279d192019-10-10 13:30:07 +010010
11This document provides a quickstart for developers of the O-RAN SC A1 Controller SDNC Application
12
13Prerequisites
14-------------
15
161. Java development kit (JDK), version 8
172. Maven dependency-management tool, version 3.4 or later
183. Python, version 2
194. Docker, version 19.03.1 or later
205. Docker Compose, version 1.24.1 or later
21
22Go to the northbound directory and run this command ::
23 mvn clean install
24
25This will build the project and create artifcats in maven repo
26
27Go to oam/installation directory and run this command ::
28 mvn clean install -P docker
maximessone6b4d272019-10-31 13:26:13 +010029
Lathish1279d192019-10-10 13:30:07 +010030This will create the docker images required for sdnc
31
32After this step check for the docker images created by the maven build with this command ::
33 docker images | grep sdnc
34
35Go to oam/installation/src/main/yaml and run this command ::
36 docker-compose up -d sdnc
37
38This will create the docker containers with the sdnc image, you can check the status of the docker container using ::
39 docker-compose logs -f sdnc
40
41The SDNC url to access the Northbound API,
42 http://localhost:8282/apidoc/explorer/index.html
43
maximessone6b4d272019-10-31 13:26:13 +010044Credentials: admin/Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
Lathish1279d192019-10-10 13:30:07 +010045
46Near-RT RIC Simulator Developer Guide
maximesson780b2bf2019-11-12 16:09:02 +010047=====================================
Lathish1279d192019-10-10 13:30:07 +010048
49Prerequisites
50-------------
51
521. Java development kit (JDK), version 8
532. Maven dependency-management tool, version 3.4 or later
54
55Go to the nearric-simulator/ directory and run this command ::
56 mvn clean install
57
58If you want to genereate the sources from A1 yaml file, Go to nearric-simulator/a1-med-api/ and run this command ::
59 mvn generate-sources
60
61This will generate the A1PApi.java you need to call the generate-sources maven life cycle to generate the file
62
63The backend server listens for requests at this URL:
64 http://localhost:8080
65
66The backend server publishes live API documentation at the URL
67 http://localhost:8080/swagger-ui.html
maximessone6b4d272019-10-31 13:26:13 +010068
maximessone6b4d272019-10-31 13:26:13 +010069End-to-end call
maximesson780b2bf2019-11-12 16:09:02 +010070===============
maximessone6b4d272019-10-31 13:26:13 +010071
72In order to make a complete end-to-end call, follow the instructions given in this `guide`_.
73
74.. _guide: https://wiki.o-ran-sc.org/pages/viewpage.action?pageId=12157166