2ad120c87b
adding a mocked class for Config. Adding device type to Device struct. Will eventually be needed for raid drives. adding End-to-end testing capabilties. Added testdata json files for webserver requests. Seperated Start code and Setup code in webapp so we can test. renamed "smart_attributes" to "ata_attributes" - Backwards incomatible change. Added front end device sorting (red, yellow, green) show unknown icon/status if drive has no smart data yet. Moved all attribute "getters" into the controller. created a device-sort pipe.
19 lines
405 B
JSON
19 lines
405 B
JSON
{
|
|
"data": [
|
|
{
|
|
"wwn": "0x5000cca264eb01d7",
|
|
"device_name": "sdb",
|
|
"manufacturer": "ATA",
|
|
"model_name": "WDC_WD140EDFZ-11A0VA0",
|
|
"interface_type": "SCSI",
|
|
"interface_speed": "",
|
|
"serial_number": "9RK1XXXXX",
|
|
"firmware": "",
|
|
"rotational_speed": 0,
|
|
"capacity": 14000519643136,
|
|
"form_factor": "",
|
|
"smart_support": false
|
|
}
|
|
]
|
|
}
|