API exposed by NSSMF
Allocate NSSI
{api-handler-url}/api/rest/provMns/v1/NSS/SliceProfiles/{network-type} | ...
/onap/so/infra/3gppservices/v1/allocate |
Request Example for "networkType"s of "an" or "cn"
Elite soft json viewer |
---|
|
{
"name": "eMBB-001",
"modelInvariantUuid": "NSST-C-001-HDBNJ-NSSMF-01-A-ZX",
"modelUuid":"NSST-C-001-HDBNJ-NSSMF-01-A-ZX-UUID",
"globalSubscriberId":"5GCustomer",
"subscriptionServiceType":"5G",
"sst":"eMBB",
"networkType":"an/cn",
"additionalProperties": {
"sliceProfile": {
"snssaiList": [
"001-100001"
],
"sliceProfileId": "ab9af40f13f721b5f13539d87484098",
"pLMNIdList": [
"460-00",
"460-01"
],
"perfReq": {
"perfReqEmbbList ": [
"allocateAnNssi": {{
"activityFactor": 50
}
]
},
"maxNumberofUEs": 200,
"coverageAreaTAList": [
1,
2,
3,
4
],
"latency": 2,
"resourceSharingLevel": "non-shared"
},
"endPoints":{
"ipAdress": "",
"nsstId"logicInterfaceId": "",
"nextHopInfo": ""
},
"nsiInfo": {
"nsiId": "NSSTNSI-CM-001-HDBNJ-NSSMFNSMF-01-A-ZX",
"nsiName": "eMBB-001"
},
"scriptName": "AN1"
}
}
"nssiName |
Request Example for "networkType"s of "tn"
Elite soft json viewer |
---|
|
{
"name": "slice-alloc-002",
"modelInvariantUuid": "6790ab0e-034f-11eb-adc1-0242ac120002",
"modelUuid": "6790ab0e-034f-11eb-adc1-0242ac120002",
"globalSubscriberId": "5GCustomer",
"subscriptionServiceType": "5G",
"networkType": "tn",
"additionalProperties": {
"enableSdnc": "true",
"serviceInstanceID": "eMBBslice-001101",
"sliceProfile": {
"snssaiList": [
"001-100001"
],
"sliceProfileId": "ab9af40f13f721b5f13539d87484098",
"plmnIdListpLMNIdList": [
"460-00",
"460-01"
],
"perfReq": {
},
"perfReqEmbbList "coverageAreaTAList": [
],
{
"latency": 2,
"maxBandwidth": 3000,
"activityFactorresourceSharingLevel": 50 "non-shared"
},
"transportSliceNetworks": [
} {
] }, "maxNumberofUEsconnectionLinks": 200, [
"coverageAreaTAList": [ {
"1", "2", "3"name": "slice-link-1",
"4" ], "latencytransportEndpointA": 2"tranportEp_src_ID_111_1",
"resourceSharingLevel "transportEndpointB": "non-sharedtranportEp_dst_ID_212_1"
},
"endPoints":[{
"nodeId":"",
"additionalInfo":{"xxx":"xxx"}
},
{
"nodeId":"",
"additionalInfo":{"xxx":"xxx"}
} {
"name": "slice-link-2",
"transportEndpointA": "tranportEp_src_ID_111_2",
"transportEndpointB": "tranportEp_dst_ID_214_1"
},
{
"name": "slice-link-3",
"transportEndpointA": "tranportEp_src_ID_114_1",
"transportEndpointB": "tranportEp_dst_ID_212_2"
}
]
}
],
"nsiInfo": {
"nsiId": "NSI-M-001-HDBNJ-NSMF-01-A-ZX",
"nsiName": "eMBB-001"
},
"scriptName": "AN1",
"additionalProperties": {
"XXX": "XXX"
}
}
}}
}
|
Response Example
Elite soft json viewer |
---|
|
{
"jobId": "db245365e79c47ed88fcd60caa8f6549",
"status": "",
"statusDescription": {}
} |
Note : modelInvariantUuid and modelUuid corresponds to NSST Ids..
Modify NSSI
{api-handler-url}/api/rest/provMns/v1/NSS/{nssi}/{network-type} | ...
/onap/so/infra/3gppservices/v1/modify |
Request Example for "networkType"s of "an" or "cn"
Elite soft json viewer |
---|
|
{
"name": "eMBB-001",
"globalSubscriberId":"5GCustomer",
"subscriptionServiceType":"5G",
"modifyAnNSSInetworkType": {"an/cn",
"nssiIdserviceInstanceID": "NSSI-C-001-HDBNJ-NSSMF-01-A-ZX",
"nssiNameadditionalProperties": "eMBB-001",
"sNssaiList{
"modifyAction":"allocate/deallocate",
"snssaiList":["001-100001"],
"sliceProfileId":"",
"nsiInfo": {
"nsiId": "NSI-M-001-HDBNJ-NSMF-01-A-ZX",
"nsiName": "eMBB-001"
},
"scriptName": "AN1"
}
} |
Request Example for "networkType"s of "tn"
Elite soft json viewer |
---|
|
{
"serviceInstanceID": "slice-101",
"name": "slice-alloc-002",
"modelInvariantUuid": "6790ab0e-034f-11eb-adc1-0242ac120002",
"modelUuid": "6790ab0e-034f-11eb-adc1-0242ac120002",
"globalSubscriberId": "5GCustomer",
"subscriptionServiceType": "5G",
"networkType": "tn",
"additionalProperties": {
"enableSdnc": "true",
"serviceInstanceID": "slice-101",
"XXX": "XXX""sliceProfile": {
"snssaiList": [
"001-100001"
],
"sliceProfileId": "ab9af40f13f721b5f13539d87484098",
"pLMNIdList": [
"460-00",
"460-01"
],
"perfReq": {
},
"coverageAreaTAList": [
],
"latency": 2,
"maxBandwidth": 20000,
"resourceSharingLevel": "non-shared"
},
"transportSliceNetworks": [
{
"connectionLinks": [
{
"name": "slice-link-1",
"transportEndpointA": "tranportEp_src_ID_311_1",
"transportEndpointB": "tranportEp_dst_ID_512_1"
},
{
"name": "slice-link-2",
"transportEndpointA": "tranportEp_src_ID_314_1",
"transportEndpointB": "tranportEp_dst_ID_512_2"
},
{
"name": "slice-link-3",
"transportEndpointA": "tranportEp_src_ID_311_2",
"transportEndpointB": "tranportEp_dst_ID_514_1"
}
]
}
],
"nsiInfo": {
"nsiId": "NSI-M-001-HDBNJ-NSMF-01-A-ZX",
"nsiName": "eMBB-001"
},
"scriptName": "AN1"
}
}
|
Response Example
Elite soft json viewer |
---|
|
{
"jobId": "db245365e79c47ed88fcd60caa8f6549",
"status": "",
"statusDescription": {}
} |
Activate NSSI
{api-handler-url}/api/rest/provMns/v1/NSS/{snssai}/activation/{network-type}/onap/so/infra/3gppservices/v1/activate |
Request Example
Elite soft json viewer |
---|
|
{
"actDeActNssi": {
"nsiIdserviceInstanceID": "NSINSSI-MC-001-HDBNJ-NSMFNSSMF-01-A-ZX",
"networkType":"an/cn/tn",
"globalSubscriberId":"5GCustomer",
"subscriptionServiceType":"5G",
"additionalProperties": {
"nssiIdnsiId": "NSSINSI-CM-001-HDBNJ-NSSMFNSMF-01-A-ZX",
"snssaiList": [
"additionalProperties": { "001-100001"
],
"XXX "sliceProfileId": "XXX"
}
}
} |
Response Example
Elite soft json viewer |
---|
|
{
"jobId": "db245365e79c47ed88fcd60caa8f6549",
"status": "",
"statusDescription": {}
} |
Deactivate NSSI
{api-handler-url}/api/rest/provMns/v1/NSS/{snssai}/deactivation/{network-type}/onap/so/infra/3gppservices/v1/deActivate |
Request Example
Elite soft json viewer |
---|
|
{
"actDeActNssi": { "nsiIdserviceInstanceID": "NSINSSI-MC-001-HDBNJ-NSMFNSSMF-01-A-ZX",
"networkType":"an/cn/tn",
"globalSubscriberId":"5GCustomer",
"subscriptionServiceType":"5G",
"nssiId "additionalProperties": {
"nsiId": "NSSINSI-CM-001-HDBNJ-NSSMFNSMF-01-A-ZX",
"snssaiList": [
"additionalProperties": { "001-100001"
],
"XXX "sliceProfileId": "XXX"
}
}
} |
Response Example
Elite soft json viewer |
---|
|
{
"jobId": "db245365e79c47ed88fcd60caa8f6549",
"status": "",
"statusDescription": {}
} |
Deallocate NSSI
{api-handler-url}/api/rest/provMns/v1/NSS/nssi/{nssiId}/{network-type}/onap/so/infra/3gppservices/v1/deAllocate |
Request Example
Elite soft json viewer |
---|
|
{
"deAllocateNssi"serviceInstanceID": "NSSI-C-001-HDBNJ-NSSMF-01-A-ZX ",
"networkType":"an/cn/tn",
"globalSubscriberId":"5GCustomer",
"subscriptionServiceType":"5G",
"additionalProperties": {
"snssaisnssaiList": [
"001-100001"
],
"sliceProfileId": "",
"scriptName": "AN1",
"nsiId": "NSI-M-001-HDBNJ-NSMF-01-A-ZX"
}
} |
Response Example
Elite soft json viewer |
---|
|
{
"jobId": "db245365e79c47ed88fcd60caa8f6549",
"status": "",
"nssiIdstatusDescription": "NSSI-C-001-HDBNJ-NSSMF-01-A-ZX ", {}
} |
Sub-net Capability query
Method | URL |
---|
GET | /onap/so/infra/3gppservices/v1/subnetCapabilityQuery |
Request Example (AN)
Elite soft json viewer |
---|
|
{
"subnetTypes": [
"AN"
]
} |
Response Example(AN)
Elite soft json viewer |
---|
|
{
"AN": {
"terminateNssiOptionlatency": 0"",
"scriptNamemaxNumberofUEs": "AN1",
"additionalPropertiesmaxThroughput": {"",
"terminalDensity": ""
}
} |
Request Example (CN)
Elite soft json viewer |
---|
|
{
"XXXsubnetTypes": [
"XXX" "CN"
} }]
} |
Response Example(CN)
Elite soft json viewer |
---|
|
{
"CN": {
"jobId"latency": "",
"maxThroughput": "",
"maxNumberofConns": "db245365e79c47ed88fcd60caa8f6549"
} |
Sub-net Capability query
...
Request Example (TN)
Elite soft json viewer |
---|
|
{
"subnetCapabilityQuerysubnetTypes": [
{ "TN_FH",
"subnetTypes": ["AN"] "TN_MH",
"TN_BH"
} ]
} |
Response Example(TN)
Elite soft json viewer |
---|
|
{"AN
"TN_FH": {
"latency": "",
"maxNumberofUEs":"",
"maxThroughput":"",
"terminalDensity":""
}
}
"maxThroughput": ""
},
"TN_MH": {
"latency": "",
"maxThroughput": ""
},
"TN_BH": {
"latency": "",
"maxThroughput": ""
}
} |
Note: Subnet capabilities are stored in a JSON properties file in so-api handler container.
Refer to swagger for allowed enum values.
API consumed by NSSMF
OOF ↔ NSSMF
1.NSSI Selection - OOF
2.NSSI Deallocation - OOF