Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

1. UUI Configuration

...

Copy subnetCapability.json to SO-API Handler pod to configure subnet capabilities at run time.

Sample subnetCapability.json

{
"AN_NF": {
"latency": 5,
"maxNumberofUEs": 200,
"maxThroughput": 90,
"termDensity": 40
},
"AN": {
"latency": 20,
"maxNumberofUEs": 100,
"maxThroughput": 150,
"termDensity": 50
},
"CN": {
"latency": 10,
"maxThroughput": 50,
"maxNumberofConns": 100
},
"TN_FH": {
"latency": 10,
"maxThroughput": 90
},
"TN_MH": {
"latency": 5,
"maxThroughput": 90
},
"TN_BH": {
"latency": 10,
"maxThroughput": 100
}
}

...

python3 setup.py install --user

python3 -m RanNssmfSimulator.MainApp


Register to ONAP ESR

1. Add an esr-thirdparty-sdnc and esr-system-info to ESR:

Run command:

curl

-s

-k -

u "

Run command:

curl -s -k -u "AAI:AAI" -H "X-FromAppId: testApp" -H "X-TransactionId: 1001" -H "

X PUT "https://AAI:

AAI" -H "X-FromAppId: testApp" -H "X-TransactionId: 1001" -H "Content-Type: application/json" -H "Accept: application/json" -X PUT https://aai.onap:30233/aai/v20/external-system/esr-thirdparty-sdnc-list/esr-thirdparty-sdnc/sdnc-an-01 -d @sdnc-an-01.json

Example of sdnc-an-01.json:

{

  "thirdparty-sdnc-id": "sdnc-an-01"

}

2. Add an esr-system-info (RAN NSSMF) to ESR:

AAI@<worker-vm-ip>:30233/aai/v23/external-system/esr-thirdparty-sdnc-list/esr-thirdparty-sdnc/sdnc-an-01" \

-H 'Accept: application/json' \

-H 'X-FromAppId: AAI' \

-H 'X-TransactionId: 1' \

-H 'Content-Type: application/json

" -H "Accept: application/json" -X PUT https://aai.onap:30233/aai/v20/external-system/esr-thirdparty-sdnc-list/esr-thirdparty-sdnc/

' \

-d '{

"thirdparty-sdnc-id":"sdnc-an-01

/

",

    "product-name": "nssmf",

                 "esr-system-info-list

/

":{"esr-system-info

/nssmf-an-01 -d @nssmf-an-01.json

Example of nssmf-an-01.json:

{
 

":[{

"esr-system-info-id": "nssmf-

an-01

an-01",

"system-name": "E2E",

 

"

type

vendor": "

an

huawei",

 

"

vendor

type": "

huawei

an",

 

"

system

user-

type

name": "

thirdparty-sdnc

admin",

 

"

ip-address

password": "

192.168.35.83

123456",

 

"

port

system-type": "

8443

thirdparty-sdnc",

 

"

user

ip-

name

address": "

admin

<ip-address-of-simulator>",

 

"

password

port": "

123456

8443",

 "ssl-cacert": "test.ca"

}]}

}'

Where, ip-address is the IP address or hostname which runs the External RAN NSSMF Simulator, port is the listening port of RESTful API of the simulator,

user-name and password are set in config file RanNssmfSimulator/etc/auth.json of the simulator.

...