count-vnf-byVnfType

The "count-vnf-byVnfType" query allows a client to get a list of the number of generic-vnfs for each vnf type.

This query only works with "format=console".



Input

Output

Users

Release(s)

Input

Output

Users

Release(s)

None

vnf-types = count of generic-vnfs



Casablanca



Details

Example payload

{ "start" : ["network/generic-vnfs"], "query" : "query/count-vnf-byVnfType" }

The Traversal

Only objects at the end of a line will be returned.

generic-vnfs > generic-vnf.groupCount().by('vnf-type')



Example Output

{"results": [ {"result": "SIModelName1/vSAMP10a=4"}, {"result": "ZZ=26"}, {"result": "vUSP - vCOM=3"}, {"result": "vIRC-X=2"}, {"result": "vpe-WL2432=1"}, {"result": "Test/v123=1"}, {"result": "vbng=7"} ]}