nova/doc/v3/api_samples/os-security-group-default-rules/security-group-default-rules-list-resp.json
He Jie Xu c7d9924a08 Port security-group-default-rules extension into v2.1
This patch port security-group-default-rules into v2.1.

This patch just move the v2 code into v2.1 and share the unittest. The other
v2.1 related fix and improvement will be addressed by subsequent patchset.

Partially implements blueprint v2-on-v3-api

Change-Id: I4d65993d6413160d2c7c2eb2ce0c3f66768e1a36
2014-10-28 22:02:27 +08:00

13 lines
258 B
JSON

{
"security_group_default_rules": [
{
"from_port": 80,
"id": 1,
"ip_protocol": "TCP",
"ip_range": {
"cidr": "10.10.10.0/24"
},
"to_port": 80
}
]
}