osc compute server-group create264
Creates a server group.
Normal response codes: 200
Error response codes: badRequest(400), unauthorized(401), forbidden(403), conflict(409)
Usage: osc compute server-group create264 [OPTIONS] --name <NAME> --policy <POLICY>
Options:
-
--name <NAME>
— The name of the server group -
--policy <POLICY>
— Thepolicy
field represents the name of the policy. 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. -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.
New in version 2.64
Possible values:
affinity
,anti-affinity
,soft-affinity
,soft-anti-affinity
-
--max-server-per-host <MAX_SERVER_PER_HOST>