26bf8c0dd0
Ensure that API does not allow conflicting policies to be configured on an instance group. More specifically the user should not be allowed to configured 'anti-affinity' and 'affinity' on the same instance group. In addition to this a validation will also be done on the policy, that is, if the policy is not supported then an exception will be raised. This is part of blueprint instance-group-api-extension. Change-Id: Id19c55cb60109819429f73e2b28efe7f15cc5194
12 lines
236 B
JSON
12 lines
236 B
JSON
{
|
|
"server_groups": [
|
|
{
|
|
"id": "616fb98f-46ca-475e-917e-2563e5a8cd19",
|
|
"name": "test",
|
|
"policies": ["anti-affinity"],
|
|
"members": [],
|
|
"metadata": {}
|
|
}
|
|
]
|
|
}
|