Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: Create free-form metadata fields for hosts collection #263

Open
sadsfae opened this issue Jun 11, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@sadsfae
Copy link
Member

commented Jun 11, 2019

We will need the ability to store free-form string/text data about hosts that can be queried with quads. This can be useful in situations where you might have differences among system types of the same model or in general for querying more data about hosts.

For example, we have SuperMicro 1029u systems that differ via

  • 4 x 2TB NVMe versus 1 x NVME
  • provisioning interface on 10GbE

Proposal Suggestion

Things will get muddied up quick with only a general metadata field, so we should probably organize it based on component and be consistent with the data.

Collection Component Example Data
host.meta.model SSR-1029U-TRTP SuperMicro Model Type
host.meta.disk.type nvme.2tb,ssd.500g Host has 2TB NVMe and 500G SSD
host.meta.nic 2.10g,2.25g 2 x 10g interfaces and 2 x 25g interfaces
host.meta.disk.count 36.sata Host has 36 x SATA disks

Implementation

In additional to new data fields within the host collection per host, we should also make this queryable via quads-cli perhaps with a --search argparse parameter.

Additionally it might be nice to just return the data if you know the full host collection object string.

e.g.

quads-cli --info --host host01.example.com disk.count

Differences

We might elect to highlight or change the text in wiki and heat map for a host (light green vs. normal?) only when a distinguishable characteristic is notable among the same server generation type.

e.g.

  • One type of SuperMicro 1029U has 4 x 3TB NVMe
  • One type of SuperMicro 1029U has 2 x 3TB NVMe

Result

The higher or improved server type text is green on wiki and heat map visualization, making it stand out from the others.

Otherwise, the additional fields should be searchable via quads-cli for data and informational purposes if they don't qualify for the host to stand out.

@sadsfae sadsfae added this to the 1.1.0 milestone Jun 11, 2019

@sadsfae sadsfae changed the title RFE: Create free-form metadata field for hosts object RFE: Create free-form metadata fields for hosts collection Jun 12, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.