{"type":"api","title":"Get CPU Allocation Info","meta":{"id":"/apps/pubhub/media/nfvis-api/e3678dda6abe6c2a26c7698d553a4574e3f45071/262737b2-b3c2-32cd-b07b-fdbdcd23918f","info":{"title":"NFVIS API","description":"NFVIS RESTCONF API Documentation","version":"4.14.1"},"x-parser-conf":{"overview":{"markdownPath":"reference/overview.md"}},"swagger":"2.0","basePath":"/{nfvis_ip}/restconf","schemes":["https"],"securityDefinitions":{"basicAuth":{"type":"basic"}}},"spec":{"tags":["Resources Configuration"],"summary":"Get CPU Allocation Info","description":"Get information on the number of CPUs allocated to VMs, and the CPUs that are already used by VMs","operationId":"data_resources_resources_cpu_info_allocation_get","produces":["application/yang-data+json"],"parameters":[{"name":"content","in":"query","description":"controlling descendant nodes in response","required":false,"type":"string","format":"enumeration","default":"config","enum":["config","nonconfig","all"],"$$ref":"#/parameters/content"}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"resources:allocation":{"description":"(non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"total-sockets":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"byte"},"cores-per-socket":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"byte"},"total-logical-cpus":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"byte"},"logical-cpus-used-by-system":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"byte"},"logical-cpus-used-by-vnfs":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"byte"},"logical-cpus-used-dedicated":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"byte"},"logical-cpus-used-sharable":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"byte"}}}},"$$ref":"#/definitions/data_resources_resources_cpu-info_allocation"}},"204":{"description":"No Content","$$ref":"#/responses/204"},"400":{"description":"Bad Request","$$ref":"#/responses/400"},"401":{"description":"Unauthorized","$$ref":"#/responses/401"},"404":{"description":"Not Found","$$ref":"#/responses/404"},"405":{"description":"Method Not Allowed","$$ref":"#/responses/405"},"409":{"description":"Conflict","$$ref":"#/responses/409"}},"security":[{"basicAuth":[]}],"__originalOperationId":"data_resources_resources_cpu_info_allocation_get","consumes":["application/yang-data+json"],"method":"get","path":"/data/resources:resources/cpu-info/allocation"}}