The magnumclient.v1.baseunit
Module¶
-
class
magnumclient.v1.baseunit.
BaseTemplate
(manager, info, loaded=False)¶ Bases:
magnumclient.common.base.Resource
-
template_name
= ''¶
-
-
class
magnumclient.v1.baseunit.
BaseTemplateManager
(api)¶ Bases:
magnumclient.common.base.Manager
-
create
(**kwargs)¶
-
delete
(id)¶
-
get
(id)¶
-
list
(limit=None, marker=None, sort_key=None, sort_dir=None, detail=False)¶ Retrieve a list of bays.
Parameters: - marker – Optional, the UUID of a bay, eg the last bay from a previous result set. Return the next result set.
- limit –
- The maximum number of results to return per
- request, if:
- limit > 0, the maximum number of bays to return.
- limit == 0, return the entire list of bays.
- limit param is NOT specified (None), the number of items returned respect the maximum imposed by the Magnum API (see Magnum’s api.max_limit option).
- sort_key – Optional, field used for sorting.
- sort_dir – Optional, direction of sorting, either ‘asc’ (the default) or ‘desc’.
- detail – Optional, boolean whether to return detailed information about bays.
Returns: A list of bays.
-
template_name
= ''¶
-
update
(id, patch, rollback=False)¶
-