From 974ad65b01cbe687b43f288cbdd1bebb1c394671 Mon Sep 17 00:00:00 2001 From: Murali reddy Date: Mon, 25 Jun 2012 18:47:47 -0700 Subject: [PATCH] moving out random host allocator to plugins/host-allocators/random/ --- build/build-cloud.xml | 10 +- plugins/host-allocators/random/.classpath | 10 ++ plugins/host-allocators/random/.project | 17 +++ plugins/host-allocators/random/build.xml | 128 ++++++++++++++++++ .../allocator/impl/RandomAllocator.java | 0 5 files changed, 163 insertions(+), 2 deletions(-) create mode 100755 plugins/host-allocators/random/.classpath create mode 100755 plugins/host-allocators/random/.project create mode 100755 plugins/host-allocators/random/build.xml rename {server => plugins/host-allocators/random}/src/com/cloud/agent/manager/allocator/impl/RandomAllocator.java (100%) 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