-{\r
- "xapp_name": "rc",\r
- "version": "1.0.0",\r
- "configPath": "/opt/ric/config/",\r
- "containers": [\r
- {\r
- "name": "rc",\r
- "image": {\r
- "registry": "nexus3.o-ran-sc.org:10002",\r
- "name": "o-ran-sc/ric-app-rc",\r
- "tag": "1.0.0"\r
- }\r
- }\r
- ],\r
- "messaging": {\r
- "ports": [\r
- {\r
- "name": "rmr-data",\r
- "container": "rc",\r
- "port": 4560,\r
- "rxMessages": ["RIC_CONTROL_RESP"],\r
- "txMessages": ["RIC_CONTROL_REQ"],\r
- "policies": [],\r
- "description": "rmr receive data port for rc"\r
- },\r
- {\r
- "name": "rmr-route",\r
- "container": "rc",\r
- "port": 4561,\r
- "description": "rmr route port for rc"\r
- }\r
- ]\r
- },\r
- "rmr": {\r
- "protPort": "tcp:4560",\r
- "maxSize": 2072,\r
- "numWorkers": 1,\r
- "rxMessages": ["RIC_CONTROL_RESP"],\r
- "txMessages": ["RIC_CONTROL_REQ"],\r
- "policies": []\r
- },\r
- "controls": {\r
- "ricHOControlgRpcServerPort" : "7777"\r
-}\r
-\r
-}\r
+{
+ "controls-schema.json": {
+ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "#/controls",
+ "type": "object",
+ "title": "Controls Section Schema",
+ "required": [
+ "ricHOControlgRpcServerPort",
+ "logLevel"
+ ],
+ "properties": {
+ "ricHOControlgRpcServerPort": {
+ "$id": "#/properties/ricHOControlgRpcServerPort",
+ "type": "string",
+ "title": "GRPC Port",
+ "default": "7777",
+ "examples": [
+ "7777"
+ ],
+ "logLevel" : {
+ "$id": "#/properties/logLevel",
+ "type": "int",
+ "title": "log level",
+ "default":3,
+ "examples": [3]
+ }
+ }
+ }
+ },
+ "config-file.json":{
+ "xapp_name": "rc",
+ "version": "1.0.0",
+ "containers": [
+ {
+ "name": "rc",
+ "image": {
+ "registry": "nexus3.o-ran-sc.org:10002",
+ "name": "o-ran-sc/ric-app-rc",
+ "tag": "1.0.0"
+ }
+ }
+ ],
+ "messaging": {
+ "ports": [
+ {
+ "name": "rmr-data",
+ "container": "rc",
+ "port": 4560,
+ "rxMessages": ["RIC_CONTROL_ACK, RIC_CONTROL_FAILURE, RIC_ERROR_INDICATION"],
+ "txMessages": ["RIC_CONTROL_REQ"],
+ "policies": [],
+ "description": "rmr receive data port for rc"
+ },
+ {
+ "name": "rmr-route",
+ "container": "rc",
+ "port": 4561,
+ "description": "rmr route port for rc"
+ }
+ ]
+ },
+ "rmr": {
+ "protPort": "tcp:4560",
+ "maxSize": 2072,
+ "numWorkers": 1,
+ "rxMessages": ["RIC_CONTROL_ACK, RIC_CONTROL_FAILURE, RIC_ERROR_INDICATION"],
+ "txMessages": ["RIC_CONTROL_REQ"],
+ "policies": []
+ },
+ "controls": {
+ "ricHOControlgRpcServerPort" : "7777",
+ "logLevel": 4
+ }
+}
+}