{"type":"api","title":"Get Hardware 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":["Plaform"],"summary":"Get Hardware Info","description":"Get information about the hardware","operationId":"data_platform_info_platform_detail_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":{"platform_info:platform-detail":{"description":"(non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"hardware_info":{"description":"List of all hardware information (non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"Manufacturer":{"description":"Product Manufacturer (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"PID":{"description":"Product Identifier (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"SN":{"description":"Serial Number (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"hardware-version":{"description":"Hardware Version (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"UUID":{"description":"UUID (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"Version":{"description":"Host OS version (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"Compile_Time":{"description":"Host OS compile time (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"CPU_Information":{"description":"CPU type, family and nubmer of core (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"Memory_Information":{"description":"Memory installed on the host (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"Disk_Size":{"description":"Disk size (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"CIMC_IP":{"description":"CIMC IP address of the chassis. (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"Entity-Name":{"description":"Entity Name (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"Entity-Desc":{"description":"Entity Description (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"BIOS-Version":{"description":"BIOS version (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"CIMC-Version":{"description":"CIMC Version. (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"}}},"software_packages":{"description":"List of all software packages (non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"Kernel_Version":{"description":"Kernel version (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"QEMU_Version":{"description":"QEMU version (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"LibVirt_Version":{"description":"libVirt version (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"OVS_Version":{"description":"OVS version (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"}}},"port_detail":{"type":"array","description":"A list of all ports with details for each port (list)","x-yang":{"type":"list"},"items":{"type":"object","properties":{"Name":{"description":"Name of the port. (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"Type":{"description":"Type of port. (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"Media":{"description":"Physical media of the port. (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"Link":{"description":"The type of link on the port. (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"Speed":{"description":"Speed of the port. (leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"uint32"},"MTU":{"description":"Max MTU supported (leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"uint64"},"MAC":{"description":"The MAC address of the port (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"PCI_detail":{"description":"PCI detail information (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"SFP_transceiver_type":{"description":"SFP transceiver type (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"}}}},"switch_detail":{"description":"A list of all switch available with their config ex. ovs, h/w and etc. (non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"UUID":{"description":"UUID of the switch (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"Type":{"description":"Type of switch. (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"Name":{"description":"The name of the switch (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"Ports":{"description":"The number of ports. (leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"byte"}}}}}},"$$ref":"#/definitions/data_platform_info_platform-detail"}},"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_platform_info_platform_detail_get","consumes":["application/yang-data+json"],"method":"get","path":"/data/platform_info:platform-detail"}}