diff --git a/build/build-cloud.xml b/build/build-cloud.xml
index 68962ff30a3..0fdc4f3ddf7 100755
--- a/build/build-cloud.xml
+++ b/build/build-cloud.xml
@@ -479,7 +479,7 @@
-
+
@@ -586,7 +586,7 @@
-
+
@@ -610,6 +610,12 @@
+
+
+
+
+
+
diff --git a/plugins/host-allocators/random/.classpath b/plugins/host-allocators/random/.classpath
new file mode 100755
index 00000000000..e39771ada09
--- /dev/null
+++ b/plugins/host-allocators/random/.classpath
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/plugins/host-allocators/random/.project b/plugins/host-allocators/random/.project
new file mode 100755
index 00000000000..d33268dd646
--- /dev/null
+++ b/plugins/host-allocators/random/.project
@@ -0,0 +1,17 @@
+
+
+ random-host-allocator
+
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+
+ org.eclipse.jdt.core.javanature
+
+
diff --git a/plugins/host-allocators/random/build.xml b/plugins/host-allocators/random/build.xml
new file mode 100755
index 00000000000..6cb8fd8980e
--- /dev/null
+++ b/plugins/host-allocators/random/build.xml
@@ -0,0 +1,128 @@
+
+
+
+
+
+
+ Cloud Stack ant build file
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/server/src/com/cloud/agent/manager/allocator/impl/RandomAllocator.java b/plugins/host-allocators/random/src/com/cloud/agent/manager/allocator/impl/RandomAllocator.java
similarity index 100%
rename from server/src/com/cloud/agent/manager/allocator/impl/RandomAllocator.java
rename to plugins/host-allocators/random/src/com/cloud/agent/manager/allocator/impl/RandomAllocator.java