# novaclient.v2.flavor_access module

Flavor access interface.

class novaclient.v2.flavor_access.FlavorAccess(manager, info, loaded=False, resp=None)

  Bases: `Resource`

  Populate and bind to a manager.

  Parameters:

    - manager – BaseManager object

    - info – dictionary representing resource attributes

    - loaded – prevent lazy-loading if set to True

    - resp – Response or list of Response objects

class novaclient.v2.flavor_access.FlavorAccessManager(api)

  Bases: `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

    alias of `FlavorAccess`

this page last updated: 2026-07-15 14:18:20

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

found an error? report a bug