9 Commits

Author SHA1 Message Date
300ac6126b try someting 2024-03-27 16:17:07 +01:00
0af0b5a98e yeet 2024-03-27 16:12:18 +01:00
f8dc0f550f try to make it run continously 2024-03-27 16:11:03 +01:00
92bf2fb909 fix naming 2024-03-27 16:06:51 +01:00
b2aca4ff43 fixnaming 2024-03-27 16:00:44 +01:00
fccff9b1fb fix go code 2024-03-27 15:54:56 +01:00
064f8812dd bug: fix naming 2024-03-27 15:48:17 +01:00
354da791f0 make new xapp definitions 2024-03-27 15:42:43 +01:00
a21649cf79 modify xapp to call subscrition to infiniy 2024-03-27 15:31:01 +01:00
4 changed files with 18 additions and 14 deletions

View File

@@ -24,8 +24,12 @@ func main() {
println(responseDeRegisterString)
time.Sleep(5 * time.Second)
response, err := registerXApp()
for true {
//registerXApp()
}
if err != nil {
print("Error: " + err.Error())
}

View File

@@ -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

View File

@@ -1,12 +1,12 @@
{
"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",
"name": "kpimon_master_ddos",
"tag": "1.0.0"
}
}
@@ -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"
}

View File

@@ -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"
}