ironicclient.v1.portgroup.
PortgroupManager
(api)[source]¶Bases: ironicclient.common.base.CreateManager
delete
(portgroup_id)[source]¶Delete the Portgroup from the DB.
Parameters: | portgroup_id – The UUID or name of a portgroup. |
---|
get
(portgroup_id, fields=None)[source]¶Get a port group with the specified identifier.
Parameters: |
|
---|---|
Returns: | a |
get_by_address
(address, fields=None)[source]¶Get a port group with the specified MAC address.
Parameters: |
|
---|---|
Returns: | a |
list
(node=None, address=None, limit=None, marker=None, sort_key=None, sort_dir=None, detail=False, fields=None)[source]¶Retrieve a list of portgroups.
Parameters: |
|
---|---|
Returns: | A list of portgroups. |
Raises: | InvalidAttribute if a subset of fields is requested with detail option set. |
list_ports
(portgroup_id, marker=None, limit=None, sort_key=None, sort_dir=None, detail=False, fields=None)[source]¶List all the ports for a given portgroup.
Parameters: |
|
---|---|
Returns: | A list of ports. |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.