{"type":"api","title":"Get VMs in CPU","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 VMs in CPU","description":"Get the VMs running in each physical CPU in the system","operationId":"data_resources_resources_cpu_info_cpus_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:cpus":{"description":"(non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"cpu":{"type":"array","description":"(list)","x-yang":{"type":"list"},"items":{"type":"object","properties":{"socket-id":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"byte"},"core-id":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"byte"},"cpu-id":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"byte"},"system-use":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"string","format":"boolean"},"vnf":{"type":"array","description":"(list)","x-yang":{"type":"list"},"items":{"type":"object","properties":{"name":{"description":"VNF name: \u003cdeployment_name\u003e.\u003cvm_group_name\u003e (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"vcpus":{"description":"number of vcpus (leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"byte"},"low-latency":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"string","format":"boolean"},"vcpu-id":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"}}}}}}}}}},"$$ref":"#/definitions/data_resources_resources_cpu-info_cpus"}},"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_cpus_get","consumes":["application/yang-data+json"],"method":"get","path":"/data/resources:resources/cpu-info/cpus"}}