make new xapp definitions
This commit is contained in:
parent
a21649cf79
commit
354da791f0
@ -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
|
||||
|
@ -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"
|
||||
}
|
||||
|
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user