Skip to content

Update to the placement, allocation and provisioning API changes - #15

Merged
manoelcampos merged 1 commit into
masterfrom
588-608-api-changes
Oct 25, 2026
Merged

manoelcampos merged 1 commit into
masterfrom
588-608-api-changes

Conversation

@manoelcampos

Copy link
Copy Markdown
Collaborator

Updates this project to the CloudSim Plus API changes from cloudsimplus/cloudsimplus#606 (issue cloudsimplus/cloudsimplus#588) and cloudsimplus/cloudsimplus#608.

Changes

  1. Renames from Use placement, allocation, provisioning and utilization consistently (#588)Β cloudsimplus#606:
    • allocationpolicies β†’ placementpolicies, VmAllocationPolicy* β†’ VmPlacementPolicy*.
    • provisioners β†’ allocators, ResourceProvisioner* β†’ ResourceAllocator*, setRam/BwProvisioner β†’ setRam/BwAllocator.
    • HostAllocation/HostDeallocation listeners β†’ HostPlacement/HostRemoval.
    • Resource methods: getAllocatedResource β†’ getOccupied, getPercentUtilization β†’ getPercentOccupied, and so on.
    • Comments use the new terms (VMs are placed into Hosts; allocators allocate RAM and BW).
  2. YAML keys renamed to match the class names: vmAllocationPolicy β†’ vmPlacementPolicy, ramProvisioner/bwProvisioner β†’ ramAllocator/bwAllocator. YAML files using the old keys must be updated. PolicyLoader builds the new package and class names.

Checked by running CloudEnvironment1.yml.

Engineering principles

Principle How it applies
Ubiquitous Language The code and comments use the same terms as the framework: placement, allocation, provisioning and utilization.

πŸ€– Generated with Claude Code

Updates the project to cloudsimplus/cloudsimplus#606 (#588) and cloudsimplus/cloudsimplus#608.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@manoelcampos manoelcampos self-assigned this Oct 25, 2026
@manoelcampos
manoelcampos merged commit 3a6a71a into master Oct 25, 2026
1 check passed
@manoelcampos
manoelcampos deleted the 588-608-api-changes branch October 25, 2026 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant