Skip to content

Update to the CloudSim Plus 9 Processor API (cloudsimplus#595) - #14

Merged
manoelcampos merged 1 commit into
masterfrom
592-core-capacity
Oct 25, 2026
Merged

manoelcampos merged 1 commit into
masterfrom
592-core-capacity

Conversation

@manoelcampos

@manoelcampos manoelcampos commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator

Updates the project to the CloudSim Plus API changed by cloudsimplus/cloudsimplus#595 (#592), which replaced the List<Pe> of Hosts and VMs with a single Processor.

Changes

Before After
new HostSimple(ram, bw, storage, peList) with a List<Pe> of PeSimple objects new HostSimple(ram, bw, storage, new CoreCapacity(cores, mips))
new VmSimple(mips, pes), new VmSimple(id, mips, pes) new VmSimple(new CoreCapacity(cores, mips)), new VmSimple(id, new CoreCapacity(cores, mips))
host/vm.getPesNumber(), host/vm.getMips() getProcessor().getCores(), getProcessor().getMips()
cloudlet.getPesNumber() cloudlet.getRequiredCores()
*_PES constants *_CORES

Since PE provisioners no longer exist, the peProvisioner property was removed from HostRegistry, PolicyLoader, the sample YAML files and the README. YAML files that still set peProvisioner will fail to parse.

It also removes the datacenter architecture, os and vmm properties from CloudEnvironment2.yml and CloudEnvironment3.yml. DatacenterRegistry lost them in b3cda0f, so both files failed with Unable to find property 'architecture'. The VM vmm property is still valid and was kept.

Verification

  • mvn clean package passes (including tests).
  • I ran the tool with every CloudEnvironment*.yml file: all of them run without errors.

CI needs the 9.0.0-SNAPSHOT with #595 published to the Maven Central snapshots repository.

🤖 Generated with Claude Code

@manoelcampos manoelcampos self-assigned this Oct 25, 2026
…loudsimplus#595)

CloudSim Plus no longer has Pe objects or PE provisioners: a Host has a
single Processor created from a CoreCapacity. So the peProvisioner YAML
property is removed.

Also removes the datacenter architecture, os and vmm properties from
CloudEnvironment2.yml and CloudEnvironment3.yml, which DatacenterRegistry
no longer has, making both files fail to parse.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@manoelcampos manoelcampos changed the title Update to the CloudSim Plus single Processor API (cloudsimplus#595) Update to the CloudSim Plus 9 Processor API (cloudsimplus#595) Oct 25, 2026
@manoelcampos
manoelcampos merged commit 443355a into master Oct 25, 2026
1 check passed
@manoelcampos
manoelcampos deleted the 592-core-capacity branch October 25, 2026 00:54
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