Initial commit of Admission Control xAPP and E2AP/X2AP definitions
[ric-app/admin.git] / src / run_xapp.sh
diff --git a/src/run_xapp.sh b/src/run_xapp.sh
new file mode 100755 (executable)
index 0000000..1848824
--- /dev/null
@@ -0,0 +1,12 @@
+#! /bin/bash
+SAMPLES=../schemas/samples.json
+A1_SCHEMA=../schemas/adm-ctrl-xapp-schema.json
+VES_SCHEMA=../schemas/ves_schema.json
+VES_POST_INTERVAL=10
+#VES_URL=http://192.168.100.34:9200/acxapp/_doc
+VES_URL=http://127.0.0.1:6350
+THREADS=1
+gNodeB=NYC123,ABC345,CDR331
+OP_MODE=REPORT
+#echo "Running ./adm-ctrl-xapp -s $SAMPLES -a $A1_SCHEMA -i $VES_POST_INTERVAL -g $gNodeB -v $VES_SCHEMA -t $THREADS";
+./adm-ctrl-xapp -s $SAMPLES -a $A1_SCHEMA -u $VES_URL -i $VES_POST_INTERVAL -g $gNodeB -v $VES_SCHEMA -t $THREADS -c $OP_MODE