Flavor access interface.
novaclient.v2.flavor_access.
FlavorAccess
(manager, info, loaded=False, resp=None)¶Bases: novaclient.base.Resource
Populate and bind to a manager.
manager – BaseManager object
info – dictionary representing resource attributes
loaded – prevent lazy-loading if set to True
resp – Response or list of Response objects
novaclient.v2.flavor_access.
FlavorAccessManager
(api)¶Bases: novaclient.base.ManagerWithFind
Manage FlavorAccess
resources.
add_tenant_access
(flavor, tenant)¶Add a tenant to the given flavor access list.
list
(**kwargs)¶remove_tenant_access
(flavor, tenant)¶Remove a tenant from the given flavor access list.
resource_class
¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.