# Sample placement policy using weights
type: senlin.policy.placement
version: 1.0
description: A policy for node placement scheduling.
properties:
  availability_zones:
    # Valid values include:
    # ROUND_ROBIN, WEIGHTED, SOURCE
    strategy: WEIGHTED
    candidates:
      - zone: AZ1
        weight: 100
      - zone: AZ2
        weight: 50

  regions:
    # Valid values include:
    # ROUND_ROBIN, WEIGHTED, SOURCE
    strategy: WEIGHTED
    options:
      - region: RegionOne
        weight: 100
      - region: RegionTwo
        weight: 100
