...
Elite soft json viewer | ||||
---|---|---|---|---|
| ||||
{ "attributeListIn": { "sliceProfileId": "3a589dd0-b52c-4e46-8653-a1a636fd3b1e", "sNSSAIList": [ "001-12345" ], "pLMNIdList": [ "460-00" ], "perfReq": { "perfReqEmbbperfReqEmbbList": [ { "expDataRateDL": 2000, "expDataRateUL": 1000, "areaTrafficCapDL": 2000, "areaTrafficCapUL": 1000, "overallUserDensity": 500, "activityFactor": 50 } ] }, "maxNumberofUEs": 180, "coverageAreaTAList": [ 612 ], "latency": 20, "uEMobilityLevel": "stationary", "resourceSharingLevel": "non-shared" } } |
...
1. Add an esr-thirdparty-sdnc to ESR:
Run command: |
---|
curl -s -k -u "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:
Run command: |
---|
curl -s -k -u "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/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", "type": "an", "vendor": " |
huawei", "system-type": "thirdparty-sdnc", "ip-address": "192.168.35.83", "port": "8443", "user-name": "admin", "password": "123456", "ssl-cacert": "test.ca" } |
Where,
ip-address is the IP address or hostname which runs the External RAN NSSMF Simulator,
...
3. Check the added RAN NSSMF from ESR:
Run command: |
---|
curl -s -k -u "AAI:AAI" -H "X-FromAppId: testApp" -H "X-TransactionId: 1001" -H "Accept: application/json" -X GET https://aai.onap:30233/aai/v20/external-system/esr-thirdparty-sdnc-list/esr-thirdparty-sdnc/sdnc-an-01/esr-system-info-list | python -m json.tool |
Example of response: |
---|
{ |
huawei" |