The novaclient.v2.flavor_access Module

The novaclient.v2.flavor_access Module

Flavor access interface.

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

Bases: novaclient.base.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: 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

alias of FlavorAccess

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.