Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tnmtechnologies/ae68f97c2b4b3d292465dc8f27ee0b4b to your computer and use it in GitHub Desktop.
Save tnmtechnologies/ae68f97c2b4b3d292465dc8f27ee0b4b to your computer and use it in GitHub Desktop.
[Nnrf_NFManagement] example of a 200 response of a PUT request (R15.2.0)
PUT /nnrf-nfm/v1/nf-instances/80fd9293-7bc9-4fdf-8888-4a72e9f751d4 HTTP/1.1
Host: vdev-newedge0001.b-com.local:8180
Connection: keep-alive
Content-Length: 1640
accept: application/json
DNT: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36
Content-Type: application/json
Origin: http://vdev-newedge0001.b-com.local:8180
Referer: http://vdev-newedge0001.b-com.local:8180/
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
{
"nfInstanceId": "80fd9293-7bc9-4fdf-8888-4a72e9f751d4",
"nfType": "AMF",
"nfStatus": "REGISTERED",
"heartBeatTimer": 200,
"plmnList": null,
"sNssais": null,
"nsiList": null,
"fqdn": "amf0.5gc.mncX.mccY.3gppnetwork.org",
"interPlmnFqdn": null,
"ipv4Addresses": null,
"ipv6Addresses": null,
"allowedPlmns": null,
"allowedNfTypes": [ "SMF" ],
"allowedNfDomains": null,
"allowedNssais": null,
"priority": 32767,
"capacity": 32767,
"load": 15,
"locality": "the locality value",
"udrInfo": null,
"udmInfo": null,
"ausfInfo": null,
"amfInfo": null,
"smfInfo": null,
"upfInfo": null,
"pcfInfo": null,
"bsfInfo": null,
"chfInfo": null,
"nrfInfo": null,
"customInfo": "the customInfo value",
"recoveryTime": "2020-04-27T18:26:50.833Z",
"nfServicePersistence": null,
"nfServices": [
{
"serviceInstanceId": "0ffd8c5f-9b15-48bf-8ba5-67ebfccaf392",
"serviceName": "namf-comm",
"versions": [
{
"apiVersionInUri": "v1",
"apiFullVersion": "1.0.0",
"expiry": "2022-05-11T12:27:22.703Z"
}
],
"scheme": "https",
"nfServiceStatus": "REGISTERED",
"fqdn": null,
"interPlmnFqdn": null,
"ipEndPoints": null,
"apiPrefix": null,
"defaultNotificationSubscriptions": null,
"allowedPlmns": null,
"allowedNfTypes": null,
"allowedNfDomains": null,
"allowedNssais": null,
"priority": 32767,
"capacity": 32767,
"load": 20,
"recoveryTime": "2020-04-27T18:26:50.958Z",
"chfServiceInfo": null,
"supportedFeatures": "1234"
}
]
}
HTTP/1.1 200 OK
Connection: keep-alive
Access-Control-Allow-Origin: *
Access-Control-Allow-Headers: Content-Type, Authorization, Accept, Accept-Language
Content-Type: application/json
Content-Length: 1271
Access-Control-Allow-Methods: GET, PUT, POST, PATCH, DELETE, OPTIONS
Date: Tue, 12 May 2020 17:37:02 GMT
{
"nfInstanceId":"80fd9293-7bc9-4fdf-8888-4a72e9f751d4",
"nfType":"AMF",
"nfStatus":"REGISTERED",
"heartBeatTimer":200,
"plmnList":null,
"sNssais":null,
"nsiList":null,
"fqdn":"amf0.5gc.mncX.mccY.3gppnetwork.org",
"interPlmnFqdn":null,
"ipv4Addresses":null,
"ipv6Addresses":null,
"allowedPlmns":null,
"allowedNfTypes":[
"SMF"
],
"allowedNfDomains":null,
"allowedNssais":null,
"priority":32767,
"capacity":32767,
"load":15,
"locality":"the locality value",
"udrInfo":null,
"udmInfo":null,
"ausfInfo":null,
"amfInfo":null,
"smfInfo":null,
"upfInfo":null,
"pcfInfo":null,
"bsfInfo":null,
"chfInfo":null,
"nrfInfo":null,
"customInfo":"the customInfo value",
"recoveryTime":"2020-04-27T18:26:50.833Z",
"nfServicePersistence":null,
"nfServices":[
{
"serviceInstanceId":"0ffd8c5f-9b15-48bf-8ba5-67ebfccaf392",
"serviceName":"namf-comm",
"versions":[
{
"apiVersionInUri":"v1",
"apiFullVersion":"1.0.0",
"expiry":"2022-05-11T12:27:22.703Z"
}
],
"scheme":"https",
"nfServiceStatus":"REGISTERED",
"fqdn":null,
"interPlmnFqdn":null,
"ipEndPoints":null,
"apiPrefix":null,
"defaultNotificationSubscriptions":null,
"allowedPlmns":null,
"allowedNfTypes":null,
"allowedNfDomains":null,
"allowedNssais":null,
"priority":32767,
"capacity":32767,
"load":20,
"recoveryTime":"2020-04-27T18:26:50.958Z",
"chfServiceInfo":null,
"supportedFeatures":"1234"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment