The magnumclient.common.apiclient.base Module

The magnumclient.common.apiclient.base Module

Base utilities to build API operation managers and objects on top of.

class magnumclient.common.apiclient.base.Resource(manager, info, loaded=False)

Bases: object

Base class for OpenStack resources (tenant, user, etc.).

This is pretty much just a bag for attributes.

get()

Support for lazy loading details.

Some clients, such as novaclient have the option to lazy load the details, details which can be loaded with this function.

is_loaded()
set_loaded(val)
to_dict()
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.