ironic.api.controllers.v1.portgroup
Module¶ironic.api.controllers.v1.portgroup.
Portgroup
(**kwargs)[source]¶Bases: 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.
ironic.api.controllers.v1.portgroup.
PortgroupCollection
(**kwargs)[source]¶Bases: ironic.api.controllers.v1.collection.Collection
API representation of a collection of portgroups.
ironic.api.controllers.v1.portgroup.
PortgroupsController
(node_ident=None)[source]¶Bases: pecan.rest.RestController
REST controller for portgroups.
delete
(*args, **kwargs)[source]¶Delete a portgroup.
Parameters: | portgroup_ident – UUID or logical name of a portgroup. |
---|
detail
(*args, **kwargs)[source]¶Retrieve a list of portgroups with detail.
Parameters: |
|
---|
get_all
(*args, **kwargs)[source]¶Retrieve a list of portgroups.
Parameters: |
|
---|
get_one
(*args, **kwargs)[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.