The cinder.api.v3.views.resource_filters Module

The cinder.api.v3.views.resource_filters Module

class ViewBuilder

Bases: object

Model an resource filters API response as a python dictionary.

classmethod list(filters)

Build a view of a list of resource filters.

{
   "resource_filters": [{
       "resource": "resource_1",
       "filters": ["filter1", "filter2", "filter3"]
    }]
}
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.