The oslo_reports.generators.version
Module¶
Provides OpenStack version generators
This module defines a class for OpenStack
version and package information
generators for generating the model in
oslo_reports.models.version
.
-
class
oslo_reports.generators.version.
PackageReportGenerator
(version_obj)¶ Bases:
object
A Package Information Data Generator
This generator returns
oslo_reports.models.version.PackageModel
, extracting data from the given version object, which should follow the general format defined in Nova’s version information (i.e. it should contain the methods vendor_string, product_string, and version_string_with_package).Parameters: version_object – the version information object