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
13 lines
324 B
JSON
13 lines
324 B
JSON
{
|
|
"security_group_rule": {
|
|
"from_port": 22,
|
|
"group": {},
|
|
"id": "00000000-0000-0000-0000-000000000000",
|
|
"ip_protocol": "tcp",
|
|
"ip_range": {
|
|
"cidr": "10.0.0.0/24"
|
|
},
|
|
"parent_group_id": "11111111-1111-1111-1111-111111111111",
|
|
"to_port": 22
|
|
}
|
|
} |