diff --git a/launch_app.sh b/launch_app.sh index 99be30e..cc13786 100755 --- a/launch_app.sh +++ b/launch_app.sh @@ -3,15 +3,15 @@ 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 install xappkpimon 1.0.0 ricxapp +dms_cli install xappkpimon_ddos 1.0.0 ricxapp echo "Wait for 10 seconds" sleep 10 diff --git a/xapp-descriptor/config.json b/xapp-descriptor/config.json index 922acbc..38a90d2 100644 --- a/xapp-descriptor/config.json +++ b/xapp-descriptor/config.json @@ -1,9 +1,9 @@ { - "xapp_name": "xappkpimon", + "xapp_name": "xappkpimon_ddos", "version": "1.0.0", "containers": [ { - "name": "xappkpimon", + "name": "xappkpimon_ddos", "image": { "registry": "127.0.0.1:5000", "name": "kpimon_master", @@ -15,7 +15,7 @@ "ports": [ { "name": "rmr-data", - "container": "xappkpimon", + "container": "xappkpimon_ddos", "port": 4560, "rxMessages": ["RIC_SUB_RESP", "RIC_INDICATION"], "txMessages": ["RIC_SUB_REQ"], @@ -24,7 +24,7 @@ }, { "name": "rmr-route", - "container": "xappkpimon", + "container": "xappkpimon_ddos", "port": 4561, "description": "rmr route port for xappkpimon" } diff --git a/xapp-descriptor/config_sleep.json b/xapp-descriptor/config_sleep.json index b448d3b..d338552 100644 --- a/xapp-descriptor/config_sleep.json +++ b/xapp-descriptor/config_sleep.json @@ -1,9 +1,9 @@ { - "xapp_name": "xappkpimon", + "xapp_name": "xappkpimon_ddos", "version": "1.0.0", "containers": [ { - "name": "xappkpimon", + "name": "xappkpimon_ddos", "image": { "registry": "127.0.0.1:5000", "name": "kpimon_sleep", @@ -15,7 +15,7 @@ "ports": [ { "name": "rmr-data", - "container": "xappkpimon", + "container": "xappkpimon_ddos", "port": 4560, "rxMessages": ["RIC_SUB_RESP", "RIC_INDICATION"], "txMessages": ["RIC_SUB_REQ"], @@ -24,7 +24,7 @@ }, { "name": "rmr-route", - "container": "xappkpimon", + "container": "xappkpimon_ddos", "port": 4561, "description": "rmr route port for xappkpimon" }