1. Architecture
The high-level architecture of the simulator and its interface to ONAP is shown below.
2. Description
The simulator exposes standard NSSMF northbound api for 5G network slicing use case. Including allocate, deallocate, activate, deactivate etc. this simulator api exposed only support https.
3. Precondition
- Make sure the node where simulator installed can support ssh.
- jdk 1.8 or higher is also required.
4. Installation Steps:
there is a packge: simulator.tar.gz below need to be downloaded.
- cp simulator.tar.gz to a special folder
- unzip simulator.tar.gz
- cd simulator
- modify application.properties
server.port=11111: the value you can modify as you want but not used in this node,
#the values below, please keep them default.
notifyurl=http://192.168.235.110:30472/v1/pm/notification
ftppath=sftp://root:oom@192.168.235.110:22/home/ubuntu/dcae/PM.tar.gz
fixeddelay=900000
filepath=/home/ubuntu/dcae
amffilepath=/home/ubuntu/dcae/AMF.xml.gz
upffilepath=/home/ubuntu/dcae/UPF.xml.gz
5. run the command: java -jar simulator-0.0.1-SNAPSHOT.jar >/dev/null &
4. Register sndc info in AAI-ESR-GUI:
K8S='172.19.0.50' # depned on your k8s
THIRDPARTY_SDNC_ID='12345' # dont' care, anyting ok
ESR_SYSTEM_INFO_ID='12345' # dont' care, anyting ok
VENDER='HW' # only HW
TYPE='cn' # only cn
SIM_IP='172.19.0.11' # depned on your sim
curl -k -X PUT "https://AAI:AAI@${K8S}:30233/aai/v19/external-system/esr-thirdparty-sdnc-list/esr-thirdparty-sdnc/${THIRDPARTY_SDNC_ID}/esr-system-info-list/esr-system-info/${ESR_SYSTEM_INFO_ID}" \
-H 'Accept: application/json' \
-H 'X-FromAppId: AAI' \
-H 'X-TransactionId: 1' \
-H 'Content-Type: application/json' \
-d '{
"system-name": "E2E",
"vendor": "${VENDER}",
"type": "${TYPE}",
"service-url": "",
"user-name": "",
"password": "",
"system-type": "thirdparty_SDNC",
"ip-address": "${SIM_IP}",
"port": "11111"
}'