start working on ns-o-ran branch
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
{
|
||||
"name": "xappkpimon",
|
||||
"image": {
|
||||
"registry": "nexus3.o-ran-sc.org:10002",
|
||||
"name": "o-ran-sc/scp-ric-app-kpimon",
|
||||
"registry": "127.0.0.1:5000",
|
||||
"name": "kpimon_master",
|
||||
"tag": "1.0.0"
|
||||
}
|
||||
}
|
||||
|
41
xapp-descriptor/config_sleep.json
Normal file
41
xapp-descriptor/config_sleep.json
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"xapp_name": "xappkpimon",
|
||||
"version": "1.0.0",
|
||||
"containers": [
|
||||
{
|
||||
"name": "xappkpimon",
|
||||
"image": {
|
||||
"registry": "127.0.0.1:5000",
|
||||
"name": "kpimon_sleep",
|
||||
"tag": "1.0.0"
|
||||
}
|
||||
}
|
||||
],
|
||||
"messaging": {
|
||||
"ports": [
|
||||
{
|
||||
"name": "rmr-data",
|
||||
"container": "xappkpimon",
|
||||
"port": 4560,
|
||||
"rxMessages": ["RIC_SUB_RESP", "RIC_INDICATION"],
|
||||
"txMessages": ["RIC_SUB_REQ"],
|
||||
"policies": [],
|
||||
"description": "rmr receive data port for xappkpimon"
|
||||
},
|
||||
{
|
||||
"name": "rmr-route",
|
||||
"container": "xappkpimon",
|
||||
"port": 4561,
|
||||
"description": "rmr route port for xappkpimon"
|
||||
}
|
||||
]
|
||||
},
|
||||
"rmr": {
|
||||
"protPort": "tcp:4560",
|
||||
"maxSize": 2072,
|
||||
"numWorkers": 1,
|
||||
"rxMessages": ["RIC_SUB_RESP", "RIC_INDICATION"],
|
||||
"txMessages": ["RIC_SUB_REQ"],
|
||||
"policies": []
|
||||
}
|
||||
}
|
62
xapp-descriptor/schema.json
Executable file
62
xapp-descriptor/schema.json
Executable file
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"definitions": {},
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "http://example.com/root.json",
|
||||
"type": "object",
|
||||
"title": "The Root Schema",
|
||||
"required": [
|
||||
"active",
|
||||
"interfaceId"
|
||||
],
|
||||
"properties": {
|
||||
"active": {
|
||||
"$id": "#/properties/active",
|
||||
"type": "boolean",
|
||||
"title": "The Active Schema",
|
||||
"default": false,
|
||||
"examples": [
|
||||
false
|
||||
]
|
||||
},
|
||||
"interfaceId": {
|
||||
"$id": "#/properties/interfaceId",
|
||||
"type": "object",
|
||||
"title": "The Interfaceid Schema",
|
||||
"required": [
|
||||
"globalENBId"
|
||||
],
|
||||
"properties": {
|
||||
"globalENBId": {
|
||||
"$id": "#/properties/interfaceId/properties/globalENBId",
|
||||
"type": "object",
|
||||
"title": "The Globalenbid Schema",
|
||||
"required": [
|
||||
"plmnId",
|
||||
"eNBId"
|
||||
],
|
||||
"properties": {
|
||||
"plmnId": {
|
||||
"$id": "#/properties/interfaceId/properties/globalENBId/properties/plmnId",
|
||||
"type": "string",
|
||||
"title": "The Plmnid Schema",
|
||||
"default": "",
|
||||
"examples": [
|
||||
"310150"
|
||||
],
|
||||
"pattern": "^(.*)$"
|
||||
},
|
||||
"eNBId": {
|
||||
"$id": "#/properties/interfaceId/properties/globalENBId/properties/eNBId",
|
||||
"type": "integer",
|
||||
"title": "The Enbid Schema",
|
||||
"default": 0,
|
||||
"examples": [
|
||||
202251
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user