PlacementPolicy describes a group placement policy for the
VMs controlled by this AllocationPolicy.
Attributes
Name
Description
collocation
str
UNSPECIFIED vs. COLLOCATED (default
UNSPECIFIED). Use COLLOCATED when you want VMs
to be located close to each other for low
network latency between the VMs. No placement
policy will be generated when collocation is
UNSPECIFIED.
max_distance
int
When specified, causes the job to fail if more than
max_distance logical switches are required between VMs.
Batch uses the most compact possible placement of VMs even
when max_distance is not specified. An explicit max_distance
makes that level of compactness a strict requirement. Not
yet implemented
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-18 UTC."],[],[]]