make new xapp definitions

This commit is contained in:
Erik Foris 2024-03-27 15:42:43 +01:00
parent a21649cf79
commit 354da791f0
3 changed files with 12 additions and 12 deletions

View File

@ -3,15 +3,15 @@
export CHART_REPO_URL=http://0.0.0.0:8090 export CHART_REPO_URL=http://0.0.0.0:8090
dms_cli uninstall xappkpimon ricxapp dms_cli uninstall xappkpimon_ddos ricxapp
docker build . -f Dockerfile -t 127.0.0.1:5000/kpimon_master:1.0.0 # --no-cache docker build . -f Dockerfile -t 127.0.0.1:5000/kpimon_master_ddos:1.0.0 # --no-cache
docker push 127.0.0.1:5000/kpimon_master:1.0.0 docker push 127.0.0.1:5000/kpimon_master_ddos:1.0.0
# dms_cli onboard config.json schema.json # dms_cli onboard config.json schema.json
dms_cli install xappkpimon 1.0.0 ricxapp dms_cli install xappkpimon_ddos 1.0.0 ricxapp
echo "Wait for 10 seconds" echo "Wait for 10 seconds"
sleep 10 sleep 10

View File

@ -1,9 +1,9 @@
{ {
"xapp_name": "xappkpimon", "xapp_name": "xappkpimon_ddos",
"version": "1.0.0", "version": "1.0.0",
"containers": [ "containers": [
{ {
"name": "xappkpimon", "name": "xappkpimon_ddos",
"image": { "image": {
"registry": "127.0.0.1:5000", "registry": "127.0.0.1:5000",
"name": "kpimon_master", "name": "kpimon_master",
@ -15,7 +15,7 @@
"ports": [ "ports": [
{ {
"name": "rmr-data", "name": "rmr-data",
"container": "xappkpimon", "container": "xappkpimon_ddos",
"port": 4560, "port": 4560,
"rxMessages": ["RIC_SUB_RESP", "RIC_INDICATION"], "rxMessages": ["RIC_SUB_RESP", "RIC_INDICATION"],
"txMessages": ["RIC_SUB_REQ"], "txMessages": ["RIC_SUB_REQ"],
@ -24,7 +24,7 @@
}, },
{ {
"name": "rmr-route", "name": "rmr-route",
"container": "xappkpimon", "container": "xappkpimon_ddos",
"port": 4561, "port": 4561,
"description": "rmr route port for xappkpimon" "description": "rmr route port for xappkpimon"
} }

View File

@ -1,9 +1,9 @@
{ {
"xapp_name": "xappkpimon", "xapp_name": "xappkpimon_ddos",
"version": "1.0.0", "version": "1.0.0",
"containers": [ "containers": [
{ {
"name": "xappkpimon", "name": "xappkpimon_ddos",
"image": { "image": {
"registry": "127.0.0.1:5000", "registry": "127.0.0.1:5000",
"name": "kpimon_sleep", "name": "kpimon_sleep",
@ -15,7 +15,7 @@
"ports": [ "ports": [
{ {
"name": "rmr-data", "name": "rmr-data",
"container": "xappkpimon", "container": "xappkpimon_ddos",
"port": 4560, "port": 4560,
"rxMessages": ["RIC_SUB_RESP", "RIC_INDICATION"], "rxMessages": ["RIC_SUB_RESP", "RIC_INDICATION"],
"txMessages": ["RIC_SUB_REQ"], "txMessages": ["RIC_SUB_REQ"],
@ -24,7 +24,7 @@
}, },
{ {
"name": "rmr-route", "name": "rmr-route",
"container": "xappkpimon", "container": "xappkpimon_ddos",
"port": 4561, "port": 4561,
"description": "rmr route port for xappkpimon" "description": "rmr route port for xappkpimon"
} }