None
Bases: ironic.api.controllers.base.APIBase
API representation of a chassis.
This class enforces type checking and value constraints, and converts between the internal object model and the API representation of a chassis.
Chassis.
convert_with_links
(rpc_chassis, fields=None)¶Chassis.
sample
(expand=True)¶None
Bases: ironic.api.controllers.v1.collection.Collection
API representation of a collection of chassis.
ChassisCollection.
convert_with_links
(chassis, limit, url=None, fields=None, **kwargs)¶ChassisCollection.
sample
()¶None
Bases: pecan.rest.RestController
REST controller for Chassis.
ChassisController.
delete
(chassis_uuid)¶Delete a chassis.
Parameters: | chassis_uuid – UUID of a chassis. |
---|
ChassisController.
detail
(marker=None, limit=None, sort_key='id', sort_dir='asc')¶Retrieve a list of chassis with detail.
Parameters: |
|
---|
ChassisController.
get_all
(marker=None, limit=None, sort_key='id', sort_dir='asc', fields=None, detail=None)¶Retrieve a list of chassis.
Parameters: |
|
---|
ChassisController.
get_one
(chassis_uuid, fields=None)¶Retrieve information about the given chassis.
Parameters: |
|
---|
ChassisController.
patch
(chassis_uuid, patch)¶Update an existing chassis.
Parameters: |
|
---|
ChassisController.
post
(chassis)¶Create a new chassis.
Parameters: | chassis – a chassis within the request body. |
---|
None
Bases: ironic.api.controllers.v1.types.JsonPatchType
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.