ara icon indicating copy to clipboard operation
ara copied to clipboard

Add table type for ara_record

Open Glandos opened this issue 6 years ago • 1 comments

It could be useful to record data with 2 dimensions, using either csv, or json with a list of homogeneous records. It can then be displayed using the same UI as host table, task table, etc, with all existing features like sorting.

The ultimate goal is to display a table from similar data accumulated from different hosts. For example, show uptime and free memory for each hosts in a single table, that can be sorted and filtered. In an ideal world, ara_record will be called on each host, and the module should be able to aggregate those records. This seems to require new parameters for the module, such as append_to_table along with a new type. But as a start, there could be an simple table type, which accepts a 2 dimensional list. The first record are the headers, and the other one are the data.

This basic start will give the opportunity to test the rendering of that table.

I don't really expect to have a fully compliant CSV renderer, except if some data are generated by a program itself, which is rare.

Glandos avatar Apr 24 '19 10:04 Glandos

Migrated from https://storyboard.openstack.org/#!/story/2003683

dmsimard avatar Apr 24 '19 11:04 dmsimard