See https://github.com/gophercloud/gophercloud/issues/1429 Adding portgroups, which is documented here: https://docs.openstack.org/api-ref/baremetal/#portgroups-portgroups This will be done similarly to https://github.com/gophercloud/gophercloud/pull/2722