NoneBases: ironic.api.controllers.base.APIBase
API representation of a portgroup.
This class enforces type checking and value constraints, and converts between the internal object model and the API representation of a portgroup.
Portgroup.convert_with_links(rpc_portgroup, fields=None)¶Add links to the portgroup.
Portgroup.sample(expand=True)¶Return a sample of the portgroup.
NoneBases: ironic.api.controllers.v1.collection.Collection
API representation of a collection of portgroups.
PortgroupCollection.convert_with_links(rpc_portgroups, limit, url=None, fields=None, **kwargs)¶PortgroupCollection.sample()¶Return a sample of the portgroup.
NoneBases: ironic.api.controllers.v1.types.JsonPatchType
PortgroupPatchType.internal_attrs()¶Returns a list of internal attributes.
Internal attributes can’t be added, replaced or removed. This method may be overwritten by derived class.
NoneBases: pecan.rest.RestController
REST controller for portgroups.
PortgroupsController.delete(portgroup_ident)[source]¶Delete a portgroup.
| Parameters: | portgroup_ident – UUID or logical name of a portgroup. |
|---|
PortgroupsController.detail(node=None, address=None, marker=None, limit=None, sort_key='id', sort_dir='asc')[source]¶Retrieve a list of portgroups with detail.
| Parameters: |
|
|---|
PortgroupsController.get_all(node=None, address=None, marker=None, limit=None, sort_key='id', sort_dir='asc', fields=None, detail=None)[source]¶Retrieve a list of portgroups.
| Parameters: |
|
|---|
PortgroupsController.get_one(portgroup_ident, fields=None)[source]¶Retrieve information about the given portgroup.
| Parameters: |
|
|---|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.