Skip to content

Commit 3284039

Browse files
committed
Move random allocator from cloud-plugins to cloud-server
1 parent cfe94e1 commit 3284039

File tree

7 files changed

+3
-84
lines changed

7 files changed

+3
-84
lines changed

plugins/host-allocators/random/pom.xml

Lines changed: 0 additions & 30 deletions
This file was deleted.

plugins/host-allocators/random/src/main/resources/META-INF/cloudstack/host-allocator-random/module.properties

Lines changed: 0 additions & 18 deletions
This file was deleted.

plugins/host-allocators/random/src/main/resources/META-INF/cloudstack/host-allocator-random/spring-host-allocator-random-context.xml

Lines changed: 0 additions & 34 deletions
This file was deleted.

plugins/pom.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@
8383

8484
<module>ha-planners/skip-heurestics</module>
8585

86-
<module>host-allocators/random</module>
87-
8886
<module>hypervisors/baremetal</module>
8987
<module>hypervisors/hyperv</module>
9088
<module>hypervisors/kvm</module>

server/src/main/resources/META-INF/cloudstack/server-allocator/spring-server-allocator-context.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@
3434
<bean id="firstFitAllocator"
3535
class="com.cloud.agent.manager.allocator.impl.FirstFitAllocator" />
3636

37+
<bean id="randomAllocator"
38+
class="com.cloud.agent.manager.allocator.impl.RandomAllocator" />
39+
3740
<bean id="FirstFitRouting"
3841
class="com.cloud.agent.manager.allocator.impl.FirstFitRoutingAllocator">
3942
<property name="name" value="FirstFitRouting" />

0 commit comments

Comments
 (0)