Versions Compared

Key

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

...

DCAE api is documented here in this page.

Sample Request API :

curl -X GET -H "authorization: Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=" -H "x-ecomp-instanceid:AAI" -H 'Accept:application/json' -k https://10.31.4.43:8080/api/v1/current-throughput/

API Definition 

Get throughput from DCAE

...

Interface definition 

...

Description 

...

Content-Type 

...

application/json 

...

Operation 

...

GET 

...

URI 

...

/api/v1/current-throughput

Request Body 

...

Attribute 

...

Required 

...

Type 

...

Description 

...

sliceIdentifiers 

...

Y 

...

List<String> 

...

Identifier for the specific type of slices 

...

current-throughput

...

Y 

...

String

...

current throughput value expected from DCAE  

Request Body - Sample 

{ 

    "sliceIdentifiers": [ 

        "7e000ddc-7ba1-4fdb-a7ce-8f0a65ab3282", 

        "cb51e744-bfcf-4188-885a-e3e3c51ed53e" 

    ], 

    "current-throughput"  

} 

Response Codes 

...

Code 

...

Description 

...

200 

...

Data returned successfully 

...

400 

...

Bad Request (Error in request attributes) 

...

500 

...

Internal server error 

Response Body 

...

Attribute 

...

Required 

...

Type 

...

Description 

...

currentThroughputResponse 

...

Y 

...

currentThroughputResponse 

...

Response body containing the current throughput for the requested slices 

currentThroughputResponse - Sample Response 

Response Body - Sample 

{ 

    "sliceConfigDetails": [{ 

        "sliceIdentifier""5d9b3293-fa20-4776-bb41-92ba5e384419",

         "currentThroughput": 100

    }, 

    { 

        "sliceIdentifier""e316f4b2-01fa-479a-8522-64fe9c0c2971",

        "currentThroughput": 160

    }] 

} 

 

NOTE: sliceIdentifier – can be SNSSAI/slice-profile-id 

Impacted OOF modules

HAS-DATA component

...