{"type":"api","title":"Get SR-IOV Status","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":["Dynamic SR-IOV"],"summary":"Get SR-IOV Status","description":"Show the SR-IOV status of a port","operationId":"data_pnic_pnics_pnic_pnic_name_sriov_get","produces":["application/yang-data+json"],"parameters":[{"name":"pnic-name","in":"path","description":"pnic name","required":true,"type":"string","format":"string","$$ref":"#/parameters/pnic-name"},{"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":"SR-IOV configuration","schema":{"type":"object","properties":{"pnic:sriov":{"description":"SR-IOV configuration (non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"numvfs":{"description":"Number of VFs. Must be less than or equal to maxvfs (leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"uint16"},"switchmode":{"description":"VEB (switched) or VEPA (flow-through) (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"enumeration","default":"veb","enum":["veb","vepa"]},"sriov-support":{"description":"SR-IOV supported or not (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"boolean"},"maxvfs":{"description":"Maximum VFs supported (leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"uint16"},"numvfs-onsystem":{"description":"Number of VFs on system (leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"uint16"},"inusevfs":{"description":"Number of configured VFs currently in use (leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"uint16"},"status":{"description":"SR-IOV enabled or disabled (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"enumeration","default":"enabled","enum":["enabled","disabled","error"]}}}},"$$ref":"#/definitions/data_pnic_pnics_pnic_pnic-name_sriov"}},"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_pnic_pnics_pnic_pnic_name_sriov_get","consumes":["application/yang-data+json"],"method":"get","path":"/data/pnic:pnics/pnic={pnic-name}/sriov"}}