c4a95099ab
This patch adds os-security-group-rules related routes by a plain list, instead of using stevedore. After all the Nova API endpoints moves to the plain routes list, the usage of stevedore for API loading will be removed from Nova. The API sample tests are missed for os-security-group-rules API, this patch adds them to ensure the route working correctly. Partial-implement-blueprint api-no-more-extensions-pike Change-Id: I2d3ac79fdb0314014f4b8b69a9c5f27a922d9046
9 lines
213 B
JSON
9 lines
213 B
JSON
{
|
|
"security_group_rule": {
|
|
"parent_group_id": "21111111-1111-1111-1111-111111111112",
|
|
"ip_protocol": "tcp",
|
|
"from_port": 22,
|
|
"to_port": 22,
|
|
"cidr": "10.0.0.0/24"
|
|
}
|
|
} |