osc compute server-group create20
Creates a server group.
Normal response codes: 200
Error response codes: badRequest(400), unauthorized(401), forbidden(403), conflict(409)
Usage: osc compute server-group create20 [OPTIONS] --name <NAME>
Options:
-
--name <NAME>
— The name of the server group -
--policies <POLICIES>
— A list of exactly one policy name to associate with the server group. The current valid policy names are:anti-affinity
- servers in this group must be scheduled to different hosts. -affinity
- servers in this group must be scheduled to the same host. -soft-anti-affinity
- servers in this group should be scheduled to different hosts if possible, but if not possible then they should still be scheduled instead of resulting in a build failure. This policy was added in microversion 2.15. -soft-affinity
- servers in this group should be scheduled to the same host if possible, but if not possible then they should still be scheduled instead of resulting in a build failure. This policy was added in microversion 2.15.
Available until version 2.63