-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add snoozeimages and snoozeec2 support
M fix path M fix paths. M
- Loading branch information
Showing
9 changed files
with
491 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,148 @@ | ||
{ | ||
"instances" : | ||
{ | ||
"t1.micro" : | ||
{ | ||
"id" : "t1.micro", | ||
"name" : "Micro Instance", | ||
"ram" : 613000, | ||
"disk" : 15, | ||
"bandwidth" : 0, | ||
"vcpus" : 1 | ||
}, | ||
"m1.small" : | ||
{ | ||
"id" : "m1.small", | ||
"name" : "Medium Instance", | ||
"ram" : 1739000, | ||
"disk" : 160, | ||
"bandwidth" : 0, | ||
"vcpus" : 1 | ||
}, | ||
"m1.large" : | ||
{ | ||
"id" : "m1.large", | ||
"name" : "Large Instance", | ||
"ram" : 7680000, | ||
"disk" : 850, | ||
"bandwidth" : 0, | ||
"vcpus" : 2 | ||
}, | ||
"m1.xlarge" : | ||
{ | ||
"id" : "m1.xlarge", | ||
"name" : "Extra Large Instance", | ||
"ram" : 15360000, | ||
"disk" : 1690, | ||
"bandwidth" : 0, | ||
"vcpus" : 4 | ||
}, | ||
"c1.medium" : | ||
{ | ||
"id" : "c1.medium", | ||
"name" : "High-CPU Medium Instance", | ||
"ram" : 1740000, | ||
"disk" : 350, | ||
"bandwidth" : 0, | ||
"vcpus" : 2 | ||
}, | ||
"c1.xlarge" : | ||
{ | ||
"id" : "c1.xlarge", | ||
"name" : "High-CPU Extra Large Instance", | ||
"ram" : 7680000, | ||
"disk" : 1690, | ||
"bandwidth" : 0, | ||
"vcpus" : 8 | ||
}, | ||
"m2.xlarge" : | ||
{ | ||
"id" : "m2.xlarge", | ||
"name" : "High-Memory Extra Large Instance", | ||
"ram" : 17510000, | ||
"disk" : 420, | ||
"bandwidth" : 0, | ||
"vcpus" : 2 | ||
}, | ||
"m2.2xlarge" : | ||
{ | ||
"id" : "m2.2xlarge", | ||
"name" : "High-Memory Double Extra Large Instance", | ||
"ram" : 35021000, | ||
"disk" : 850, | ||
"bandwidth" : 0, | ||
"vcpus" : 4 | ||
}, | ||
"m2.4xlarge" : | ||
{ | ||
"id" : "m2.4xlarge", | ||
"name" : "High-Memory Quadruple Extra Large Instance", | ||
"ram" : 70042000, | ||
"disk" : 1690, | ||
"bandwidth" : 0, | ||
"vcpus" : 8 | ||
}, | ||
"m3.xlarge" : | ||
{ | ||
"id" : "m3.xlarge", | ||
"name" : "Extra Large Instance", | ||
"ram" : 15360000, | ||
"disk" : 0, | ||
"bandwidth" : 0, | ||
"vcpus" : 8 | ||
}, | ||
"m3.2xlarge" : { | ||
"id" : "m3.2xlarge", | ||
"name" : "Double Extra Large Instance", | ||
"ram" : 30720000, | ||
"disk" : 0, | ||
"bandwidth" : 0, | ||
"vcpus" : 16 | ||
}, | ||
"cg1.4xlarge" : | ||
{ | ||
"id" : "cg1.4xlarge", | ||
"name" : "Cluster GPU Quadruple Extra Large Instance", | ||
"ram" : 22528000, | ||
"disk" : 1690, | ||
"bandwidth" : 0, | ||
"vcpus" : 16 | ||
}, | ||
"cc1.4xlarge" : | ||
{ | ||
"id" : "cc1.4xlarge", | ||
"name" : "Cluster Compute Quadruple Extra Large Instance", | ||
"ram" : 23552000, | ||
"disk" : 1690, | ||
"bandwidth" : 0, | ||
"vcpus" : 16 | ||
}, | ||
"cc2.8xlarge" : | ||
{ | ||
"id" : "cc2.8xlarge", | ||
"name" : "Cluster Compute Eight Extra Large Instance", | ||
"ram" : 63488000, | ||
"disk" : 3370, | ||
"bandwidth" : 0, | ||
"vcpus" : 8 | ||
}, | ||
"cr1.8xlarge" : | ||
{ | ||
"id" : "cr1.8xlarge", | ||
"name" : "High Memory Cluster Eight Extra Large", | ||
"ram" : 244000000, | ||
"disk" : 240, | ||
"bandwidth" : 0, | ||
"vcpus" : 32 | ||
}, | ||
"hs1.8xlarge" : | ||
{ | ||
"id" : "hs1.8xlarge", | ||
"name" : "High Storage Eight Extra Large Instance", | ||
"ram" : 119808000, | ||
"disk" : 48000, | ||
"bandwidth" : 0, | ||
"vcpus" : 16 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Copyright (C) 2010-2013 Eugen Feller, INRIA <[email protected]> | ||
This file is part of Snooze, a scalable, autonomic, and | ||
energy-aware virtual machine (VM) management framework. | ||
This program is free software: you can redistribute it and/or | ||
modify it under the terms of the GNU General Public License | ||
as published by the Free Software Foundation, either version 2 | ||
of the License, or (at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program; if not, see <http://www.gnu.org/licenses>. | ||
--> | ||
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd" > | ||
<log4j:configuration> | ||
<appender name="CA" class="org.apache.log4j.ConsoleAppender"> | ||
<param name="Threshold" value="INFO"/> | ||
<layout class="org.apache.log4j.PatternLayout"> | ||
<param name="ConversionPattern" value="[%-5p] |%d{MMM dd HH:mm:ss}| [%t] %c{2} %x - %m%n" /> | ||
</layout> | ||
</appender> | ||
|
||
<appender name="FA" class="org.apache.log4j.FileAppender"> | ||
<param name="file" value="/tmp/snoozeec2.log"/> | ||
<param name="Threshold" value="DEBUG"/> | ||
<layout class="org.apache.log4j.PatternLayout"> | ||
<param name="ConversionPattern" value="[%-5p] |%d{MMM dd HH:mm:ss}| [%t] %c{2} %x - %m%n" /> | ||
</layout> | ||
</appender> | ||
|
||
|
||
|
||
<logger name="org.restlet"> | ||
<level value="DEBUG"/> | ||
<appender-ref ref="FA"/> | ||
</logger> | ||
|
||
<logger name="LogService"> | ||
<level value="DEBUG"/> | ||
<appender-ref ref="FA"/> | ||
</logger> | ||
|
||
<logger name="org.mortbay.jetty"> | ||
<level value="DEBUG"/> | ||
<appender-ref ref="FA"/> | ||
</logger> | ||
|
||
<logger name="org.apache.http"> | ||
<level value="DEBUG"/> | ||
<appender-ref ref="FA"/> | ||
</logger> | ||
|
||
<logger name="org.eclipse.jetty"> | ||
<level value="DEBUG"/> | ||
<appender-ref ref="FA"/> | ||
</logger> | ||
|
||
<logger name="org.inria.myriads.snoozecommon"> | ||
<level value="DEBUG"/> | ||
<appender-ref ref="FA"/> | ||
</logger> | ||
|
||
<logger name="org.inria.myriads.snoozeec2"> | ||
<level value="DEBUG"/> | ||
<appender-ref ref="FA"/> | ||
</logger> | ||
</log4j:configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
################ Networking #################### | ||
## Listen address (default: listen on all interfaces) | ||
network.listen.address = localhost | ||
|
||
## Control | ||
network.listen.port = 4001 | ||
|
||
############### Images repository ############## | ||
## Address | ||
imageRepository.address = localhost | ||
|
||
## Port | ||
imageRepository.port = 4000 | ||
|
||
|
||
############### Bootstraps #################### | ||
## bootstrap addresses (coma separated list) | ||
# Address | ||
bootstrap.address = localhost | ||
|
||
## Port | ||
bootstrap.port = 5000 | ||
|
||
############### Context Path ################## | ||
## | ||
|
||
config.ec2.package.contextpath = com.amazonaws.ec2.doc._2013_10_01 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Copyright (C) 2010-2013 Eugen Feller, INRIA <[email protected]> | ||
This file is part of Snooze, a scalable, autonomic, and | ||
energy-aware virtual machine (VM) management framework. | ||
This program is free software: you can redistribute it and/or | ||
modify it under the terms of the GNU General Public License | ||
as published by the Free Software Foundation, either version 2 | ||
of the License, or (at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program; if not, see <http://www.gnu.org/licenses>. | ||
--> | ||
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd" > | ||
<log4j:configuration> | ||
<appender name="CA" class="org.apache.log4j.ConsoleAppender"> | ||
<param name="Threshold" value="INFO"/> | ||
<layout class="org.apache.log4j.PatternLayout"> | ||
<param name="ConversionPattern" value="[%-5p] |%d{MMM dd HH:mm:ss}| [%t] %c{2} %x - %m%n" /> | ||
</layout> | ||
</appender> | ||
|
||
<appender name="FA" class="org.apache.log4j.FileAppender"> | ||
<param name="file" value="/tmp/snoozeimages.log"/> | ||
<param name="Threshold" value="DEBUG"/> | ||
<layout class="org.apache.log4j.PatternLayout"> | ||
<param name="ConversionPattern" value="[%-5p] |%d{MMM dd HH:mm:ss}| [%t] %c{2} %x - %m%n" /> | ||
</layout> | ||
</appender> | ||
|
||
|
||
|
||
<logger name="org.restlet"> | ||
<level value="DEBUG"/> | ||
<appender-ref ref="FA"/> | ||
</logger> | ||
|
||
<logger name="LogService"> | ||
<level value="DEBUG"/> | ||
<appender-ref ref="FA"/> | ||
</logger> | ||
|
||
<logger name="org.mortbay.jetty"> | ||
<level value="DEBUG"/> | ||
<appender-ref ref="FA"/> | ||
</logger> | ||
|
||
<logger name="org.apache.http"> | ||
<level value="DEBUG"/> | ||
<appender-ref ref="FA"/> | ||
</logger> | ||
|
||
<logger name="org.eclipse.jetty"> | ||
<level value="DEBUG"/> | ||
<appender-ref ref="FA"/> | ||
</logger> | ||
|
||
<logger name="org.inria.myriads.snoozecommon"> | ||
<level value="DEBUG"/> | ||
<appender-ref ref="FA"/> | ||
</logger> | ||
|
||
<logger name="org.inria.myriads.snoozeimages"> | ||
<level value="DEBUG"/> | ||
<appender-ref ref="FA"/> | ||
</logger> | ||
</log4j:configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
################ Networking #################### | ||
## Listen address (default: listen on all interfaces) | ||
network.listen.address = localhost | ||
|
||
## Control | ||
network.listen.controlDataPort = 4000 | ||
|
||
############## Repository backend ################# | ||
## Backend | ||
repository.type = libvirt | ||
|
||
repository.libvirt.address = localhost | ||
repository.libvirt.port = 16509 | ||
repository.libvirt.hypervisor = qemu | ||
repository.libvirt.transport = tcp | ||
repository.libvirt.pool = default | ||
|
||
|
||
|
||
|
Oops, something went wrong.