blob: 54023287677a3ff57989824858f8fb4a27188431 [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
elinuxhenrikc7a0d732020-02-04 14:49:59 +01004Developer Guide
5===============
Lathish1279d192019-10-10 13:30:07 +01006
elinuxhenrikc7a0d732020-02-04 14:49:59 +01007This document provides a quickstart for developers of the Non-RT RIC.
8
9SDNC A1 Controller
maximessoneaaee912020-03-26 16:43:27 +010010==================
Lathish1279d192019-10-10 13:30:07 +010011
12Prerequisites
13-------------
14
151. Java development kit (JDK), version 8
162. Maven dependency-management tool, version 3.4 or later
173. Python, version 2
184. Docker, version 19.03.1 or later
195. Docker Compose, version 1.24.1 or later
20
elinuxhenrikc7a0d732020-02-04 14:49:59 +010021Build and run
22-------------
Lathish1279d192019-10-10 13:30:07 +010023Go to the northbound directory and run this command ::
24 mvn clean install
25
26This will build the project and create artifcats in maven repo
27
28Go to oam/installation directory and run this command ::
29 mvn clean install -P docker
maximessone6b4d272019-10-31 13:26:13 +010030
Lathish1279d192019-10-10 13:30:07 +010031This will create the docker images required for sdnc
32
33After this step check for the docker images created by the maven build with this command ::
34 docker images | grep sdnc
35
36Go to oam/installation/src/main/yaml and run this command ::
37 docker-compose up -d sdnc
38
39This will create the docker containers with the sdnc image, you can check the status of the docker container using ::
40 docker-compose logs -f sdnc
41
42The SDNC url to access the Northbound API,
43 http://localhost:8282/apidoc/explorer/index.html
44
maximessone6b4d272019-10-31 13:26:13 +010045Credentials: admin/Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
Lathish1279d192019-10-10 13:30:07 +010046
Lathishe1041aa2020-01-31 14:01:45 +000047Policy Agent
maximessoneaaee912020-03-26 16:43:27 +010048============
49
50The O-RAN Non-RT RIC Policy Agent provides a REST API for management of policices. It provides support for:
elinuxhenrik71061052020-02-03 11:11:37 +010051
52 * Supervision of clients (R-APPs) to eliminate stray policies in case of failure
53 * Consistency monitoring of the SMO view of policies and the actual situation in the RICs
54 * Consistency monitoring of RIC capabilities (policy types)
55 * Policy configuration. This includes:
56
57 * One REST API towards all RICs in the network
58 * Query functions that can find all policies in a RIC, all policies owned by a service (R-APP), all policies of a type etc.
59 * Maps O1 resources (ManagedElement) as defined in O1 to the controlling RIC.
elinuxhenrikc7a0d732020-02-04 14:49:59 +010060
maximessoneaaee912020-03-26 16:43:27 +010061| The Policy Agent can be accessed over the REST API or through the DMaaP Interface. The REST API is documented in the
62| *nonrtric/policy-agent/docs/api.yaml* file. Please refer to the README file of Policy Agent to know more about the API's.
maximessone3954c42020-02-24 17:15:50 +010063
maximessone6b4d272019-10-31 13:26:13 +010064End-to-end call
maximesson780b2bf2019-11-12 16:09:02 +010065===============
maximessone6b4d272019-10-31 13:26:13 +010066
67In order to make a complete end-to-end call, follow the instructions given in this `guide`_.
68
maximessoneaaee912020-03-26 16:43:27 +010069.. _guide: https://wiki.o-ran-sc.org/pages/viewpage.action?pageId=12157166