diff --git a/ironicclient/v1/portgroup.py b/ironicclient/v1/portgroup.py index 18b01dabe..d5636aec9 100644 --- a/ironicclient/v1/portgroup.py +++ b/ironicclient/v1/portgroup.py @@ -27,7 +27,8 @@ class PortgroupManager(base.CreateManager): resource_class = Portgroup _resource_name = 'portgroups' _creation_attributes = ['address', 'extra', 'name', 'node_uuid', - 'standalone_ports_supported', 'mode', 'properties'] + 'standalone_ports_supported', 'mode', 'properties', + 'uuid'] def list(self, node=None, address=None, limit=None, marker=None, sort_key=None, sort_dir=None, detail=False, fields=None, diff --git a/releasenotes/notes/portgroup-create-uuid-311ea9f2633c6a02.yaml b/releasenotes/notes/portgroup-create-uuid-311ea9f2633c6a02.yaml new file mode 100644 index 000000000..649ecb04c --- /dev/null +++ b/releasenotes/notes/portgroup-create-uuid-311ea9f2633c6a02.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + When creating a portgroup, the UUID can be specified to support idempotency. + The CLI incorrectly disallowed this.