Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »


Scenario Scope in Guilin


This scenario is for the "RAN sub-net slicing with ONAP interacting with an External RAN NSSMF" in REQ-342.

We add an External RAN NSSMF Simulator in integration project (INT-1707). The simulator is used to interact with ONAP SO NSSMF Adapter, and mainly supports the following operations:

  • AllocateNssi
  • DeallocateNssi


APIs of External RAN NSSMF Simulator

The following APIs of External RAN NSSMF Simulator reference 3GPP TS 28.531 V16.6.0.

AllocateNssi

MethodURI
POST/ObjectManagement/NSS/SliceProfiles


Request body example:

The content of attributeListIn field in request body references SliceProfile defined in 3GPP TS 28.541 V16.5.0.


Response status code:

200: indicate the operation is succeeded.
others: indicate the operation is failed.


Response body example:


DeallocateNssi

MethodURI
DELETE/ObjectManagement/NSS/SliceProfiles/{sliceProfileId}


Request body example:


Response status code:
200: indicate the operation is succeeded.
others: indicate the operation is failed.


Response body: empty


Deployment Guide

1. Download:

git clone https://gerrit.onap.org/r/integration

cd integration/test/mocks/ran-nssmf-simulator


2. Environment Setup (Optional):

1) The default listening port of RESTful API is 8443, and you can set environment variable RAN_NSSMF_REST_PORT to change it, such as:

export RAN_NSSMF_REST_PORT=18443

2) The default username and password are in RanNssmfSimulator/etc/auth.json, and you can edit the file to change them or add new ones.


3. Install and Run:

There are two options to run the simulator:

Option 1. Directly run it in the current directory:

pip3 install -r requirements.txt

python3 main.py


Option 2. Install it using setuptools, and run it in any directory:

python3 setup.py install --user

python3 -m RanNssmfSimulator.MainApp


  • No labels