Transport Slicing : Need restconf API reference for JSONRPC API: Hi,We need to show available shared slices while provisioning dedicated slice.And able to get available shared slices using below JSONRPC call .URL:https://<nso-ip>:<port>/crosswork/proxy/nso/jsonrpc/get_leafref_valuesPayload:{"jsonrpc":"2.0","id":419,"method":"get_leafref_values","params":{"th":2,"path":"/ietf-nss:network-slice-services/slice-service{}/cisco-nss:shared/slice{}/service-id","skip_grouping":true,"limit":21}} Is it possible to do the same using RESTCONF API. We are not able to give empty braces {} in below restconf,https://<nso-ip>:<port>/crosswork/proxy/nso/restconf/data/ietf-network-slice-service:network-slice-services/slice-serviceThanks,Naveen
Hi Naveenkumar,This restconf command would give you a list of slice-services that exist in NSOcurl --location --request GET 'http://<NSO_IP>:8080/restconf/data/ietf-network-slice-service:network-slice-services/slice-service' --header 'Content-Type: application/yang-data+json' --header 'Authorization: Basic YWRtaW46Q2lzY28xMjMj' --data-raw ' {}'Let me know if this works for youRegards,LinhHi Linh,We need slices whose isolation type is "shared", There is a way in get_leafref_values JSONRPC with below payload,{"jsonrpc":"2.0","id":419,"method":"get_leafref_values","params":{"th":2,"path":"/ietf-nss:network-slice-services/slice-service{}/cisco-nss:shared/slice{}/service-id","skip_grouping":true,"limit":21}}As like JSONRPC , Is there equivalent RESTCONF API available ?Thanks,NaveenThe filter format in Restconf would be different. Please explore these documents to find the one that is working for youThanks,Linh