Options specific to resources managed by Keystone (Domain, User, etc).
Bases: object
Bases: object
Get the resource option information from the model’s mapper.
Convert the values in _resource_option_mapper to options dict.
similar and must be called from within the active session context.
ref – the DB model ref to extract options from
Dict of options as expected to be returned out of to_dict in the options key.
Convert the _resource_options property-dict to options attr map.
The model must have the resource option mapper located in the
_resource_option_mapper
attribute.
The model must have the resource option registry located in the
resource_options_registry
attribute.
The option dict with key(opt_id), value(opt_value) will be pulled from
ref._resource_options
.
context!
ref – The DB model reference that is actually stored to the backend.
option_class – Class that is used to store the resource option in the DB.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.