59aaf1dff9
Added in the API os-security-group-default-rules This allows create, delete, list, and get (of individual rules) for rules that will be pre-populated into the Security Group "default" that is populated in all projects on creation. These rules will not be applied retroactively, as it is designed to allow the creation of a "reasonable" base-line set of sg rules. The new rules live in a separate table that mirrors the relevant structures of the security_group_rules table. Added unit tests/API samples for the new API calls Related to bp default-rules-for-default-security-group DocImpact Change-Id: I7ab51e68aff562bb869538197a0eca158fc3220c
8 lines
160 B
JSON
8 lines
160 B
JSON
{
|
|
"security_group_default_rule": {
|
|
"ip_protocol": "TCP",
|
|
"from_port": "80",
|
|
"to_port": "80",
|
|
"cidr": "10.10.12.0/24"
|
|
}
|
|
} |