Changes list:
- CSV exporter for nodes added
- link on nodes report added to the UI
- export of lists and tuples to CSV implemented. As result
enumeration functions removed from export_utils
- aggregate functions handled in the skeleton
- lists and tuples handled in the skeleton generation util
- workaround for counting of volume attachments removed
- new fields added into installation info and OSWL skeletons
- unnecessary fields removed from installation info and OSWL skeletons
- lists definitions changed in skeletons
- common logic for plugins and nodes reports extracted to helper functions
- node related data removed from cluster report (manufacturer, platform name)
Change-Id: Iacf5421895f6803acf071111ef04a13c53eba6ac
Closes-Bug: #1572490
Volume contains list of attachments. Export of attachments into CSV as enumerated fields implemented.
Number of enumrations is added into config as CSV_VOLUME_ATTACHMENTS_NUM parameter.
Enumeration of keys paths implemented in export_utils.
Volume attachment skeleton added.
Change-Id: I63eb2217c3564457a8ff4a5396eb7e7c40a76321
Closes-Bug: #1434086
Closes-Bug: #1435224
If resource is not changed during time period we have only
one record in DB. But in CSV time series report we should have
rows on each date for resource. For such case we are duplicating
not changed row in the CSV report. But we should remove from
resource data 'added', 'modified', 'removed' in case of duplication
of the resource row.
We are duplicating resource rows only until masternode had sent
stats. For indication of sending stat InstallationStructure creation_date
and modification_date are used.
Implements: blueprint openstack-workload-statistics
Change-Id: Ide21e17d5ebf8359fe2913a5458c9c8d499b8da5
CSV export implementation generalized for resource types
CSV export tests generalized for resource types
DB operations in tests wrapped into transaction
Transaction rollback added into DbTest.tearDown
Result file name format changed to resource_type.csv
Blueprint: export-stats-to-csv
Change-Id: I36cefec099d551d320c57abdc19fcdf29bc2c2ad
VMs info export to CSV implemented. Export uses DB. Export
uses data streaming.
Installation info exporter renamed.
Common CSV export logic extracted to export_utils module.
SQLAlchemy and psycopg added to requirements.
DB credentials added into config.
SQL debug enabled for test configuration.
Implements: blueprint openstack-workload-statistics
Change-Id: I8a9a04e1a2462a3a8d3950e20daa92025a7de11b