Module ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Num keyword Num keyword Num keyword Num keyword Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Num keyword Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Call AttributeLoad NameLoad attr Assign NameStore ListLoad Call AttributeLoad NameLoad attr Assign NameStore ListLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword Num keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Num keyword Num keyword Num keyword Num keyword Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Num keyword Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str NameLoad ListLoad ListLoad NameLoad NameLoad Dict Str Str Num Num ListLoad NameLoad Num Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Call AttributeLoad NameLoad attr Assign NameStore ListLoad Call AttributeLoad NameLoad attr Assign NameStore ListLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword Num keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str NameLoad ListLoad Dict Str Num ListLoad Dict Str Str Str Str Str Str Num Str Num Num Num Num Str Str Dict Str Str Num Num ListLoad Dict Str Str Str Str Str Str Str Str Str Str Num Num Num Num Num Num Num Num Str Num Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword ListLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword ListLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword ListLoad Str decorator_list decorator_list
N/A nova exception nova test nova.virt diagnostics DiagnosticsTests N/A N/A test NoDBTestCase N/A test_cpu_diagnostics_default N/A N/A self N/A N/A N/A cpu N/A N/A diagnostics CpuDiagnostics N/A N/A N/A self assertEqual 0 N/A cpu time N/A test_cpu_diagnostics N/A N/A self N/A N/A N/A cpu N/A N/A diagnostics CpuDiagnostics time 7 N/A N/A N/A self assertEqual 7 N/A cpu time N/A test_nic_diagnostics_default N/A N/A self N/A N/A N/A nic N/A N/A diagnostics NicDiagnostics N/A N/A N/A self assertEqual 00:00:00:00:00:00 N/A nic mac_address N/A N/A N/A self assertEqual 0 N/A nic rx_octets N/A N/A N/A self assertEqual 0 N/A nic rx_errors N/A N/A N/A self assertEqual 0 N/A nic rx_drop N/A N/A N/A self assertEqual 0 N/A nic rx_packets N/A N/A N/A self assertEqual 0 N/A nic tx_octets N/A N/A N/A self assertEqual 0 N/A nic tx_errors N/A N/A N/A self assertEqual 0 N/A nic tx_drop N/A N/A N/A self assertEqual 0 N/A nic tx_packets N/A test_nic_diagnostics N/A N/A self N/A N/A N/A nic N/A N/A diagnostics NicDiagnostics mac_address 00:00:ca:fe:00:00 rx_octets 1 rx_errors 2 rx_drop 3 rx_packets 4 tx_octets 5 tx_errors 6 tx_drop 7 tx_packets 8 N/A N/A N/A self assertEqual 00:00:ca:fe:00:00 N/A nic mac_address N/A N/A N/A self assertEqual 1 N/A nic rx_octets N/A N/A N/A self assertEqual 2 N/A nic rx_errors N/A N/A N/A self assertEqual 3 N/A nic rx_drop N/A N/A N/A self assertEqual 4 N/A nic rx_packets N/A N/A N/A self assertEqual 5 N/A nic tx_octets N/A N/A N/A self assertEqual 6 N/A nic tx_errors N/A N/A N/A self assertEqual 7 N/A nic tx_drop N/A N/A N/A self assertEqual 8 N/A nic tx_packets N/A test_disk_diagnostics_default N/A N/A self N/A N/A N/A disk N/A N/A diagnostics DiskDiagnostics N/A N/A N/A self assertEqual N/A disk id N/A N/A N/A self assertEqual 0 N/A disk read_bytes N/A N/A N/A self assertEqual 0 N/A disk read_requests N/A N/A N/A self assertEqual 0 N/A disk write_bytes N/A N/A N/A self assertEqual 0 N/A disk write_requests N/A N/A N/A self assertEqual 0 N/A disk errors_count N/A test_disk_diagnostics N/A N/A self N/A N/A N/A disk N/A N/A diagnostics DiskDiagnostics id fake_disk_id read_bytes 1 read_requests 2 write_bytes 3 write_requests 4 errors_count 5 N/A N/A N/A self assertEqual fake_disk_id N/A disk id N/A N/A N/A self assertEqual 1 N/A disk read_bytes N/A N/A N/A self assertEqual 2 N/A disk read_requests N/A N/A N/A self assertEqual 3 N/A disk write_bytes N/A N/A N/A self assertEqual 4 N/A disk write_requests N/A N/A N/A self assertEqual 5 N/A disk errors_count N/A test_memory_diagnostics_default N/A N/A self N/A N/A N/A memory N/A N/A diagnostics MemoryDiagnostics N/A N/A N/A self assertEqual 0 N/A memory maximum N/A N/A N/A self assertEqual 0 N/A memory used N/A test_memory_diagnostics N/A N/A self N/A N/A N/A memory N/A N/A diagnostics MemoryDiagnostics maximum 1 used 2 N/A N/A N/A self assertEqual 1 N/A memory maximum N/A N/A N/A self assertEqual 2 N/A memory used N/A test_diagnostics_default N/A N/A self N/A N/A N/A diags N/A N/A diagnostics Diagnostics N/A N/A N/A self assertIsNone N/A diags state N/A N/A N/A self assertIsNone N/A diags driver N/A N/A N/A self assertIsNone N/A diags hypervisor_os N/A N/A N/A self assertEqual 0 N/A diags uptime N/A N/A N/A self assertFalse N/A diags config_drive N/A N/A N/A self assertEqual N/A N/A diags cpu_details N/A N/A N/A self assertEqual N/A N/A diags nic_details N/A N/A N/A self assertEqual N/A N/A diags disk_details N/A N/A N/A self assertEqual 0 N/A N/A diags memory_details maximum N/A N/A N/A self assertEqual 0 N/A N/A diags memory_details used N/A N/A N/A self assertEqual 1.0 N/A diags version N/A test_diagnostics N/A N/A self N/A N/A N/A cpu_details N/A N/A N/A diagnostics CpuDiagnostics N/A nic_details N/A N/A N/A diagnostics NicDiagnostics N/A disk_details N/A N/A N/A diagnostics DiskDiagnostics N/A diags N/A N/A diagnostics Diagnostics state fake-state driver fake-driver hypervisor_os fake-os uptime 1 cpu_details cpu_details nic_details nic_details disk_details disk_details config_drive True N/A N/A N/A self assertEqual fake-state N/A diags state N/A N/A N/A self assertEqual fake-driver N/A diags driver N/A N/A N/A self assertEqual fake-os N/A diags hypervisor_os N/A N/A N/A self assertEqual 1 N/A diags uptime N/A N/A N/A self assertTrue N/A diags config_drive N/A N/A N/A self assertEqual 1 N/A len N/A diags cpu_details N/A N/A N/A self assertEqual 1 N/A len N/A diags nic_details N/A N/A N/A self assertEqual 1 N/A len N/A diags disk_details N/A N/A N/A self assertEqual 0 N/A N/A diags memory_details maximum N/A N/A N/A self assertEqual 0 N/A N/A diags memory_details used N/A N/A N/A self assertEqual 1.0 N/A diags version N/A test_add_cpu N/A N/A self N/A N/A N/A diags N/A N/A diagnostics Diagnostics N/A N/A N/A self assertEqual N/A N/A diags cpu_details N/A N/A N/A diags add_cpu time 7 N/A N/A N/A self assertEqual 1 N/A len N/A diags cpu_details N/A N/A N/A self assertEqual 7 N/A N/A N/A diags cpu_details N/A 0 time N/A test_add_nic N/A N/A self N/A N/A N/A diags N/A N/A diagnostics Diagnostics N/A N/A N/A self assertEqual N/A N/A diags nic_details N/A N/A N/A diags add_nic mac_address 00:00:ca:fe:00:00 rx_octets 1 rx_errors 2 rx_drop 3 rx_packets 4 tx_octets 5 tx_errors 6 tx_drop 7 tx_packets 8 N/A N/A N/A self assertEqual 1 N/A len N/A diags nic_details N/A N/A N/A self assertEqual 00:00:ca:fe:00:00 N/A N/A N/A diags nic_details N/A 0 mac_address N/A N/A N/A self assertEqual 1 N/A N/A N/A diags nic_details N/A 0 rx_octets N/A N/A N/A self assertEqual 2 N/A N/A N/A diags nic_details N/A 0 rx_errors N/A N/A N/A self assertEqual 3 N/A N/A N/A diags nic_details N/A 0 rx_drop N/A N/A N/A self assertEqual 4 N/A N/A N/A diags nic_details N/A 0 rx_packets N/A N/A N/A self assertEqual 5 N/A N/A N/A diags nic_details N/A 0 tx_octets N/A N/A N/A self assertEqual 6 N/A N/A N/A diags nic_details N/A 0 tx_errors N/A N/A N/A self assertEqual 7 N/A N/A N/A diags nic_details N/A 0 tx_drop N/A N/A N/A self assertEqual 8 N/A N/A N/A diags nic_details N/A 0 tx_packets N/A test_add_disk N/A N/A self N/A N/A N/A diags N/A N/A diagnostics Diagnostics N/A N/A N/A self assertEqual N/A N/A diags disk_details N/A N/A N/A diags add_disk id fake_disk_id read_bytes 1 read_requests 2 write_bytes 3 write_requests 4 errors_count 5 N/A N/A N/A self assertEqual 1 N/A len N/A diags disk_details N/A N/A N/A self assertEqual fake_disk_id N/A N/A N/A diags disk_details N/A 0 id N/A N/A N/A self assertEqual 1 N/A N/A N/A diags disk_details N/A 0 read_bytes N/A N/A N/A self assertEqual 2 N/A N/A N/A diags disk_details N/A 0 read_requests N/A N/A N/A self assertEqual 3 N/A N/A N/A diags disk_details N/A 0 write_bytes N/A N/A N/A self assertEqual 4 N/A N/A N/A diags disk_details N/A 0 write_requests N/A N/A N/A self assertEqual 5 N/A N/A N/A diags disk_details N/A 0 errors_count N/A test_diagnostics_serialize_default N/A N/A self N/A N/A N/A diags N/A N/A diagnostics Diagnostics N/A expected N/A config_drive cpu_details disk_details driver hypervisor_os memory_details nic_details state uptime version False N/A N/A None None N/A maximum used 0 0 N/A None 0 1.0 N/A result N/A N/A diags serialize N/A N/A N/A self assertEqual expected result N/A test_diagnostics_serialize N/A N/A self N/A N/A N/A cpu_details N/A N/A N/A diagnostics CpuDiagnostics N/A nic_details N/A N/A N/A diagnostics NicDiagnostics N/A disk_details N/A N/A N/A diagnostics DiskDiagnostics N/A diags N/A N/A diagnostics Diagnostics state fake-state driver fake-driver hypervisor_os fake-os uptime 1 cpu_details cpu_details nic_details nic_details disk_details disk_details config_drive True N/A expected N/A config_drive cpu_details disk_details driver hypervisor_os memory_details nic_details state uptime version True N/A N/A time 0 N/A N/A errors_count id read_bytes read_requests write_bytes write_requests 0 0 0 0 0 fake-driver fake-os N/A maximum used 0 0 N/A N/A mac_address rx_drop rx_errors rx_octets rx_packets tx_drop tx_errors tx_octets tx_packets 00:00:00:00:00:00 0 0 0 0 0 0 0 0 fake-state 1 1.0 N/A result N/A N/A diags serialize N/A N/A N/A self assertEqual expected result N/A test_diagnostics_invalid_input N/A N/A self N/A N/A N/A N/A N/A self assertRaises N/A exception InvalidInput N/A diagnostics Diagnostics cpu_details invalid type N/A N/A N/A self assertRaises N/A exception InvalidInput N/A diagnostics Diagnostics cpu_details N/A invalid entry N/A N/A N/A self assertRaises N/A exception InvalidInput N/A diagnostics Diagnostics nic_details invalid type N/A N/A N/A self assertRaises N/A exception InvalidInput N/A diagnostics Diagnostics nic_details N/A invalid entry N/A N/A N/A self assertRaises N/A exception InvalidInput N/A diagnostics Diagnostics disk_details invalid type N/A N/A N/A self assertRaises N/A exception InvalidInput N/A diagnostics Diagnostics disk_details N/A invalid entry N/A N/A