- Media Type
[application/vnd.org.midonet.PortGroup-v1+json]
- Collection Media Type
[application/vnd.org.midonet.collection.PortGroup-v1+json]
GET /port_groups GET /port_groups?tenant_id=:tenantId GET /ports/:portId/port_groups GET /port_groups/:portGroupId POST /port_groups PUT /port_groups/:portGroupId DELETE /port_groups/:portGroupId
A port group is a group of ports. Port groups are owned by tenants. A port could belong to multiple port groups as long as they belong to the same tenant. A port group can be specified in the chain rule to filter the traffic coming from all the ports belonging to that the specified group.
Field Name | Type | POST/PUT | Required | Description |
---|---|---|---|---|
uri | URI | A GET against this URI refreshes the representation of this resource. | ||
ports | URI | A GET against this URI returns the list of ports in the port group. | ||
id | UUID | POST | No | A unique identifier of the resource. If this field is omitted in the POST request, a random UUID is generated. |
name | String | POST | No | The name of the port group. The maximum length is 255 characters. |
stateful | Boolean | POST/PUT | No | Indicates whether the port group is stateful. |
tenantId | UUID | POST/PUT | No | The identifier of the tenant that owns the port group. |