blob: ce81bb6be3f6341c54d8bc157ab77c866f86d764 [file] [log] [blame]
Sri ramc84cf642020-11-19 17:01:07 +05301# ==================================================================================
2# Copyright (c) 2020 HCL Technologies Limited.
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15# ==================================================================================
16
17
18This repository consists of Bouncer Xapp developed in C++. Its envisioned to do simple RIC Benchmarking example Xapp.
19It is required to have following features:
20
211) E2 Subscription Handling
222) DB Access: SDL and RNIB
233) RMR Message handling
244) Bouncer E2SM
255) RIC Indication
26
27Steps for installation/running Bouncer Xapp.
28$ cd init
29$ source ./xapp_env.sh
30$cd ../src
31$ make
32$ ./b_xapp_main
33
34
35Testing:
36========
37
38To test the bouncer xapp, E2simulator is required to be build and run.
391. Take the E2simulator code under RIC-Benchmarking/E2-interface.
402. Run/Restart the Near RT RIC Platform pods.
himeshshukla2bd65e52021-07-01 19:43:01 +0530413. Run E2sim Pod using helm chart( build e2sim using docker file available in e2-interface/e2sim/e2sm_examples/kpm_e2sm/Dockerfile). For Multiple E2sim instances update the Dockerfile(e2-interface/e2sim/e2sm_examples/kpm_e2sm/Dockerfile) with the number of instances.
42 For example: ./kpm_sim 192.168.122.66 32222 10
43 where 10 = no of instances of E2sim
Sri ramc84cf642020-11-19 17:01:07 +0530444. Deploy bouncer xapp by following the xapp onboarding steps
45
46Login to the bouncer xapp and E2sim Pods using kubectl exec to see the benchmarking timestamp.
47