| Oracle® Communications Network Slice Selection Function (NSSF) Cloud Native User's Guide Release 1.0 F16990-01 |
|
![]() Previous |
![]() Next |
Before configuring NSSF using REST APIs, ensure that the NSSF is installed. For information on how to install NSSF, see the OCNSSF Cloud Native Installation Guide.
To Configure NSSF using REST APIs:
REST message sample - NSI Profiles
https://host:port/v1/nssf/configurations/nsiprofiles
POST
Content-Type: application/json
BODY
{
"name": "NSI001",
"nrfUri": "https://nrf.oracle.com",
"nsiId": "1",
"targetAmfSets":
[
{
"regionId": "01",
"setId": "001",
"setFqdn": "set001.region01.amfset.5gc.mnc311.mcc282.3gppnetwork.org"
},
{
"regionId": "01",
"setId": "002",
"setFqdn": "set002.region01.amfset.5gc.mnc311.mcc282.3gppnetwork.org"
}
]
}
REST message sample - NSS Rules
https://host:port/v1/nssf/configurations/nssrules
POST
Content-Type: application/json
BODY
{
"name": "NSSRULE01",
"amfId": "1",
"plmnId":
{
"mcc": "311",
"mnc": "282",
},
"tac": "123",
"snssai":
{
"sst": "1",
"sd": "ABCDEF"
},
"salience": "0",
"behavior":
{
"grant": "ALLOWED",
"accessType": "3GPP_ACCESS",
"nsiProfiles":
[
{
"name": "NSI001",
"salience": 1
},
{
"name": "NSI002",
"salience": 0
}
]
}
}
REST message sample - AMF Resolutions
https://host:port/v1/nssf/configurations/amfresolutions
POST
Content-Type: application/json
BODY
{
"regionId": "1",
"setId": "1",
"candidateAmfList":
[
{
"fqdn": "pt01.set001.region01.amfset.5gc.mnc311.mcc282.3gppnetwork.org",
"instanceId": "ABCDEF"
},
{
"fqdn": "pt02.set001.region01.amfset.5gc.mnc311.mcc282.3gppnetwork.org",
"instanceId": "ABCDEG"
}
]
}
REST message sample - Configured NSSAIs
https://host:port/v1/nssf/configurations/configuredsnssais
POST
Content-Type: application/json
BODY
{
"amfId": "1",
"plmn":
{
"mcc": "1",
"mnc": "1",
},
"tac": "1",
"salience": 0
"nssai":
[
{
"sst": 1,
"sd": "ABC"
},
{
"sst": 2,
"sd": "DEF"
}
]
}
For more information on APIs and managed object parameters, see Managed Objects.