Permalink
Browse files

Merge with team/evac

  • Loading branch information...
vasiliykochergin committed Feb 6, 2013
2 parents f0310dd + 3492653 commit 676bcefa7577110b4fc345eb6f03ab826b327ad1
Showing with 17,297 additions and 2,267 deletions.
  1. +10 −10 INSTALL
  2. +1 −1 clc/eucadmin/bin/euca-evacuate-node
  3. +22 −2 clc/modules/authentication/src/main/java/com/eucalyptus/auth/DatabaseAuthProvider.java
  4. +28 −0 clc/modules/autoscaling-common/build.xml
  5. +40 −0 clc/modules/autoscaling-common/src/main/java/com/eucalyptus/autoscaling/common/AutoScaling.java
  6. +892 −0 ...les/autoscaling-common/src/main/java/com/eucalyptus/autoscaling/common/AutoScalingMessages.groovy
  7. +51 −0 ...dules/autoscaling-common/src/main/java/com/eucalyptus/autoscaling/common/AutoScalingMetadata.java
  8. +98 −0 ...ules/autoscaling-common/src/main/java/com/eucalyptus/autoscaling/common/AutoScalingMetadatas.java
  9. +210 −0 ...s/autoscaling-common/src/main/java/com/eucalyptus/autoscaling/common/AutoScalingResourceName.java
  10. +791 −0 clc/modules/autoscaling-common/src/main/resources/autoscaling-binding.xml
  11. +61 −0 ...scaling-common/src/test/java/com/eucalyptus/autoscaling/common/AutoScalingResourceNameTest.groovy
  12. +29 −0 clc/modules/autoscaling/build.xml
  13. +35 −0 clc/modules/autoscaling/src/main/java/com/eucalyptus/autoscaling/AlreadyExistsException.java
  14. +36 −0 clc/modules/autoscaling/src/main/java/com/eucalyptus/autoscaling/AutoScalingException.java
  15. +740 −0 clc/modules/autoscaling/src/main/java/com/eucalyptus/autoscaling/AutoScalingService.java
  16. +35 −0 clc/modules/autoscaling/src/main/java/com/eucalyptus/autoscaling/InternalFailureException.java
  17. +35 −0 clc/modules/autoscaling/src/main/java/com/eucalyptus/autoscaling/InvalidParameterValueException.java
  18. +35 −0 clc/modules/autoscaling/src/main/java/com/eucalyptus/autoscaling/LimitExceededException.java
  19. +102 −0 ...dules/autoscaling/src/main/java/com/eucalyptus/autoscaling/configurations/BlockDeviceMapping.java
  20. +65 −0 clc/modules/autoscaling/src/main/java/com/eucalyptus/autoscaling/configurations/EbsParameters.java
  21. +306 −0 ...ules/autoscaling/src/main/java/com/eucalyptus/autoscaling/configurations/LaunchConfiguration.java
  22. +146 −0 ...les/autoscaling/src/main/java/com/eucalyptus/autoscaling/configurations/LaunchConfigurations.java
  23. +82 −0 ...ling/src/main/java/com/eucalyptus/autoscaling/configurations/PersistenceLaunchConfigurations.java
  24. +357 −0 clc/modules/autoscaling/src/main/java/com/eucalyptus/autoscaling/groups/AutoScalingGroup.java
  25. +142 −0 clc/modules/autoscaling/src/main/java/com/eucalyptus/autoscaling/groups/AutoScalingGroups.java
  26. +29 −0 clc/modules/autoscaling/src/main/java/com/eucalyptus/autoscaling/groups/HealthCheckType.java
  27. +90 −0 ...les/autoscaling/src/main/java/com/eucalyptus/autoscaling/groups/PersistenceAutoScalingGroups.java
  28. +42 −0 clc/modules/autoscaling/src/main/java/com/eucalyptus/autoscaling/groups/TerminationPolicyType.java
  29. +199 −0 ...odules/autoscaling/src/main/java/com/eucalyptus/autoscaling/metadata/AbstractOwnedPersistent.java
  30. +179 −0 ...dules/autoscaling/src/main/java/com/eucalyptus/autoscaling/metadata/AbstractOwnedPersistents.java
  31. +35 −0 ...s/autoscaling/src/main/java/com/eucalyptus/autoscaling/metadata/AutoScalingMetadataException.java
  32. +35 −0 ...aling/src/main/java/com/eucalyptus/autoscaling/metadata/AutoScalingMetadataNotFoundException.java
  33. +99 −0 clc/modules/autoscaling/src/main/java/com/eucalyptus/autoscaling/policies/AdjustmentType.java
  34. +101 −0 ...les/autoscaling/src/main/java/com/eucalyptus/autoscaling/policies/PersistenceScalingPolicies.java
  35. +151 −0 clc/modules/autoscaling/src/main/java/com/eucalyptus/autoscaling/policies/ScalingPolicies.java
  36. +254 −0 clc/modules/autoscaling/src/main/java/com/eucalyptus/autoscaling/policies/ScalingPolicy.java
  37. +39 −0 ...s/autoscaling/src/main/java/com/eucalyptus/autoscaling/policy/AutoScalingGroupNumberQuotaKey.java
  38. +78 −0 ...autoscaling/src/main/java/com/eucalyptus/autoscaling/policy/AutoScalingNumberQuotaKeySupport.java
  39. +39 −0 ...utoscaling/src/main/java/com/eucalyptus/autoscaling/policy/LaunchConfigurationNumberQuotaKey.java
  40. +39 −0 ...ules/autoscaling/src/main/java/com/eucalyptus/autoscaling/policy/ScalingPolicyNumberQuotaKey.java
  41. +55 −0 clc/modules/autoscaling/src/main/java/com/eucalyptus/autoscaling/ws/AutoScalingErrorHandler.java
  42. +38 −0 clc/modules/autoscaling/src/main/java/com/eucalyptus/autoscaling/ws/AutoScalingQueryBinding.java
  43. +45 −0 clc/modules/autoscaling/src/main/java/com/eucalyptus/autoscaling/ws/AutoScalingQueryPipeline.java
  44. +61 −0 clc/modules/autoscaling/src/main/java/com/eucalyptus/autoscaling/ws/AutoScalingSoapPipeline.java
  45. +91 −0 clc/modules/autoscaling/src/main/resources/autoscaling-model.xml
  46. +45 −0 clc/modules/autoscaling/src/test/java/com/eucalyptus/autoscaling/AutoScalingBindingTest.groovy
  47. +520 −0 clc/modules/autoscaling/src/test/java/com/eucalyptus/autoscaling/AutoScalingServiceTest.groovy
  48. +56 −0 clc/modules/autoscaling/src/test/java/com/eucalyptus/autoscaling/policies/AdjustmentTypeTest.groovy
  49. +1,656 −1,414 clc/modules/bootstrap/src/main/native/eucalyptus-opts.c
  50. +218 −386 clc/modules/bootstrap/src/main/native/eucalyptus-opts.h
  51. +3 −0 clc/modules/cloud/src/main/java/com/eucalyptus/cloud/CloudMetadata.java
  52. +2 −4 clc/modules/cloud/src/main/java/com/eucalyptus/cloud/CloudMetadatas.java
  53. +28 −0 clc/modules/cloudwatch-common/build.xml
  54. +39 −0 clc/modules/cloudwatch-common/src/main/java/com/eucalyptus/cloudwatch/CloudWatch.java
  55. +321 −0 clc/modules/cloudwatch-common/src/main/java/com/eucalyptus/cloudwatch/CloudWatchMessages.groovy
  56. +297 −0 clc/modules/cloudwatch-common/src/main/resources/cloudwatch-binding.xml
  57. +29 −0 clc/modules/cloudwatch/build.xml
  58. +34 −0 clc/modules/cloudwatch/src/main/java/com/eucalyptus/cloudwatch/CloudWatchException.java
  59. +141 −0 clc/modules/cloudwatch/src/main/java/com/eucalyptus/cloudwatch/CloudWatchService.java
  60. +361 −0 clc/modules/cloudwatch/src/main/java/com/eucalyptus/cloudwatch/domain/listmetrics/ListMetric.java
  61. +80 −0 ...es/cloudwatch/src/main/java/com/eucalyptus/cloudwatch/domain/listmetrics/ListMetricDimension.java
  62. +175 −0 ...ules/cloudwatch/src/main/java/com/eucalyptus/cloudwatch/domain/listmetrics/ListMetricManager.java
  63. +453 −0 ...odules/cloudwatch/src/main/java/com/eucalyptus/cloudwatch/domain/listmetrics/ListMetricsTest.java
  64. +37 −0 clc/modules/cloudwatch/src/main/java/com/eucalyptus/cloudwatch/hashing/HashUtils.java
  65. +52 −0 clc/modules/cloudwatch/src/main/java/com/eucalyptus/cloudwatch/ws/CloudWatchErrorHandler.java
  66. +36 −0 clc/modules/cloudwatch/src/main/java/com/eucalyptus/cloudwatch/ws/CloudWatchQueryBinding.java
  67. +43 −0 clc/modules/cloudwatch/src/main/java/com/eucalyptus/cloudwatch/ws/CloudWatchQueryPipeline.java
  68. +58 −0 clc/modules/cloudwatch/src/main/java/com/eucalyptus/cloudwatch/ws/CloudWatchSoapPipeline.java
  69. +91 −0 clc/modules/cloudwatch/src/main/resources/cloudwatch-model.xml
  70. +14 −2 clc/modules/cluster-manager/src/main/java/com/eucalyptus/blockstorage/SnapshotManager.java
  71. +6 −1 clc/modules/cluster-manager/src/main/java/com/eucalyptus/blockstorage/SnapshotTag.java
  72. +23 −11 clc/modules/cluster-manager/src/main/java/com/eucalyptus/blockstorage/Snapshots.java
  73. +13 −3 clc/modules/cluster-manager/src/main/java/com/eucalyptus/blockstorage/VolumeManager.java
  74. +6 −1 clc/modules/cluster-manager/src/main/java/com/eucalyptus/blockstorage/VolumeTag.java
  75. +1 −1 clc/modules/cluster-manager/src/main/java/com/eucalyptus/blockstorage/Volumes.java
  76. +16 −9 clc/modules/cluster-manager/src/main/java/com/eucalyptus/cluster/ClusterEndpoint.java
  77. +10 −1 clc/modules/cluster-manager/src/main/java/com/eucalyptus/images/BlockStorageImageInfo.java
  78. +12 −8 clc/modules/cluster-manager/src/main/java/com/eucalyptus/images/BootableImageInfo.java
  79. +6 −2 clc/modules/cluster-manager/src/main/java/com/eucalyptus/images/ImageInfoTag.java
  80. +23 −2 clc/modules/cluster-manager/src/main/java/com/eucalyptus/images/ImageManager.java
  81. +270 −13 clc/modules/cluster-manager/src/main/java/com/eucalyptus/images/Images.java
  82. +10 −0 clc/modules/cluster-manager/src/main/java/com/eucalyptus/images/MachineImageInfo.java
  83. +10 −0 clc/modules/cluster-manager/src/main/java/com/eucalyptus/images/UnavailableImageInfo.java
  84. +5 −1 clc/modules/cluster-manager/src/main/java/com/eucalyptus/network/NetworkGroup.java
  85. +58 −45 clc/modules/cluster-manager/src/main/java/com/eucalyptus/network/NetworkGroupManager.java
  86. +6 −1 clc/modules/cluster-manager/src/main/java/com/eucalyptus/network/NetworkGroupTag.java
  87. +14 −7 clc/modules/cluster-manager/src/main/java/com/eucalyptus/network/NetworkGroups.java
  88. +113 −20 clc/modules/cluster-manager/src/main/java/com/eucalyptus/tags/FilterSupport.java
  89. +88 −8 clc/modules/cluster-manager/src/main/java/com/eucalyptus/tags/TagSupport.java
  90. +52 −2 clc/modules/cluster-manager/src/main/java/com/eucalyptus/tags/Tags.java
  91. +15 −1 clc/modules/cluster-manager/src/main/java/com/eucalyptus/vm/VmControl.java
  92. +56 −56 clc/modules/cluster-manager/src/main/java/com/eucalyptus/vm/VmInstance.java
  93. +6 −1 clc/modules/cluster-manager/src/main/java/com/eucalyptus/vm/VmInstanceTag.java
  94. +357 −3 clc/modules/cluster-manager/src/main/java/com/eucalyptus/vm/VmInstances.java
  95. +15 −0 clc/modules/cluster-manager/src/test/java/com/eucalyptus/blockstorage/SnapshotTagSupportTest.groovy
  96. +15 −0 clc/modules/cluster-manager/src/test/java/com/eucalyptus/blockstorage/VolumeTagSupportTest.groovy
  97. +111 −3 clc/modules/cluster-manager/src/test/java/com/eucalyptus/images/ImageInfoFilterSupportTest.groovy
  98. +15 −0 clc/modules/cluster-manager/src/test/java/com/eucalyptus/images/ImageInfoTagSupportTest.groovy
  99. +2 −3 ...modules/cluster-manager/src/test/java/com/eucalyptus/network/NetworkGroupFilterSupportTest.groovy
  100. +15 −0 clc/modules/cluster-manager/src/test/java/com/eucalyptus/network/NetworkGroupTagSupportTest.groovy
  101. +68 −10 clc/modules/cluster-manager/src/test/java/com/eucalyptus/tags/FilterSupportTest.groovy
  102. +26 −0 clc/modules/cluster-manager/src/test/java/com/eucalyptus/tags/TagSupportTest.groovy
  103. +25 −1 clc/modules/cluster-manager/src/test/java/com/eucalyptus/vm/VmInstanceFilterSupportTest.groovy
  104. +15 −0 clc/modules/cluster-manager/src/test/java/com/eucalyptus/vm/VmInstanceTagSupportTest.groovy
  105. +28 −0 clc/modules/loadbalancing-common/build.xml
  106. +39 −0 clc/modules/loadbalancing-common/src/main/java/com/eucalyptus/loadbalancing/LoadBalancing.java
  107. +650 −0 ...ules/loadbalancing-common/src/main/java/com/eucalyptus/loadbalancing/LoadBalancingMessages.groovy
  108. +506 −0 clc/modules/loadbalancing-common/src/main/resources/loadbalancing-binding.xml
  109. +29 −0 clc/modules/loadbalancing/build.xml
  110. +29 −0 ...odules/loadbalancing/src/main/java/com/eucalyptus/loadbalancing/AccessPointNotFoundException.java
  111. +11 −0 clc/modules/loadbalancing/src/main/java/com/eucalyptus/loadbalancing/DuplicateListenerException.java
  112. +29 −0 ...oadbalancing/src/main/java/com/eucalyptus/loadbalancing/InvalidConfigurationRequestException.java
  113. +266 −0 clc/modules/loadbalancing/src/main/java/com/eucalyptus/loadbalancing/LoadBalancer.java
  114. +150 −0 ...modules/loadbalancing/src/main/java/com/eucalyptus/loadbalancing/LoadBalancerBackendInstance.java
  115. +184 −0 clc/modules/loadbalancing/src/main/java/com/eucalyptus/loadbalancing/LoadBalancerListener.java
  116. +110 −0 clc/modules/loadbalancing/src/main/java/com/eucalyptus/loadbalancing/LoadBalancerZone.java
  117. +215 −0 clc/modules/loadbalancing/src/main/java/com/eucalyptus/loadbalancing/LoadBalancers.java
  118. +50 −0 clc/modules/loadbalancing/src/main/java/com/eucalyptus/loadbalancing/LoadBalancingException.java
  119. +498 −0 clc/modules/loadbalancing/src/main/java/com/eucalyptus/loadbalancing/LoadBalancingService.java
  120. +54 −0 ...odules/loadbalancing/src/main/java/com/eucalyptus/loadbalancing/ws/LoadBalancingErrorHandler.java
  121. +38 −0 ...odules/loadbalancing/src/main/java/com/eucalyptus/loadbalancing/ws/LoadBalancingQueryBinding.java
  122. +47 −0 ...dules/loadbalancing/src/main/java/com/eucalyptus/loadbalancing/ws/LoadBalancingQueryPipeline.java
  123. +61 −0 ...odules/loadbalancing/src/main/java/com/eucalyptus/loadbalancing/ws/LoadBalancingSoapPipeline.java
  124. +91 −0 clc/modules/loadbalancing/src/main/resources/loadbalancing-model.xml
  125. +3 −0 clc/modules/module-inc.order
  126. +5 −0 clc/modules/msgs/src/main/java/com/eucalyptus/auth/Accounts.java
  127. +60 −0 clc/modules/msgs/src/main/java/com/eucalyptus/auth/AuthQuotaException.java
  128. +17 −15 clc/modules/msgs/src/main/java/com/eucalyptus/auth/api/AccountProvider.java
  129. +1 −1 clc/modules/msgs/src/main/java/com/eucalyptus/auth/login/Hmacv4LoginModule.java
  130. +1 −1 clc/modules/msgs/src/main/java/com/eucalyptus/auth/login/SecurityContext.java
  131. +81 −3 clc/modules/msgs/src/main/java/com/eucalyptus/auth/policy/PolicySpec.java
  132. +35 −4 clc/modules/msgs/src/main/java/com/eucalyptus/binding/BindingCache.java
  133. +15 −0 clc/modules/msgs/src/main/java/com/eucalyptus/component/ComponentId.java
  134. +20 −2 clc/modules/msgs/src/main/java/com/eucalyptus/context/Contexts.java
  135. +132 −27 clc/modules/msgs/src/main/java/com/eucalyptus/crypto/util/Timestamps.java
  136. +27 −8 clc/modules/msgs/src/main/java/com/eucalyptus/entities/Transactions.java
  137. +10 −0 clc/modules/msgs/src/main/java/com/eucalyptus/util/Numbers.java
  138. +4 −3 clc/modules/msgs/src/main/java/com/eucalyptus/util/RestrictedTypes.java
  139. +44 −0 clc/modules/msgs/src/main/java/com/eucalyptus/util/Strings.java
  140. +66 −0 clc/modules/msgs/src/main/java/com/eucalyptus/ws/EucalyptusWebServiceException.java
  141. +36 −0 clc/modules/msgs/src/main/java/com/eucalyptus/ws/Role.java
  142. +1 −0 clc/modules/msgs/src/main/java/com/eucalyptus/ws/handlers/RestfulMarshallingHandler.java
  143. +40 −0 clc/modules/msgs/src/main/java/com/eucalyptus/ws/protocol/QueryBindingInfo.java
  144. +20 −9 clc/modules/msgs/src/main/java/com/eucalyptus/ws/server/ServiceContextHandler.java
  145. +3 −0 clc/modules/msgs/src/main/java/com/eucalyptus/ws/server/ServiceHackeryHandler.java
  146. +129 −0 clc/modules/msgs/src/main/java/com/eucalyptus/ws/util/ErrorHandlerSupport.java
  147. +6 −2 clc/modules/msgs/src/main/java/edu/ucsb/eucalyptus/cloud/Extra.groovy
  148. +5 −1 clc/modules/msgs/src/main/java/edu/ucsb/eucalyptus/msgs/BaseMessage.java
  149. +51 −0 clc/modules/msgs/src/main/java/edu/ucsb/eucalyptus/msgs/BaseMessageSupplier.java
  150. +4 −4 clc/modules/msgs/src/main/java/edu/ucsb/eucalyptus/msgs/Messages.groovy
  151. +8 −0 clc/modules/msgs/src/main/java/edu/ucsb/eucalyptus/msgs/Tags.groovy
  152. +2 −0 clc/modules/msgs/src/main/java/edu/ucsb/eucalyptus/msgs/VmBlockDevice.groovy
  153. +2 −0 clc/modules/msgs/src/main/java/edu/ucsb/eucalyptus/msgs/VmControl.groovy
  154. +1 −0 clc/modules/msgs/src/main/java/edu/ucsb/eucalyptus/msgs/VmImages.groovy
  155. +5 −1 clc/modules/msgs/src/main/java/edu/ucsb/eucalyptus/msgs/VmLocation.groovy
  156. +2 −0 clc/modules/msgs/src/main/java/edu/ucsb/eucalyptus/msgs/VmSecurity.groovy
  157. +5 −5 clc/modules/msgs/src/main/resources/2010-08-31-binding.xml
  158. +1 −1 clc/modules/msgs/src/main/resources/CC-binding.xml
  159. +5 −0 clc/modules/msgs/src/main/resources/aws-ebs-snapshots-10-08-31.xml
  160. +5 −0 clc/modules/msgs/src/main/resources/aws-ebs-volumes-10-08-31.xml
  161. +5 −0 clc/modules/msgs/src/main/resources/aws-images-10-08-31.xml
  162. +5 −0 clc/modules/msgs/src/main/resources/aws-instances-10-08-31.xml
  163. +5 −0 clc/modules/msgs/src/main/resources/aws-security-10-08-31.xml
  164. +5 −0 clc/modules/msgs/src/main/resources/aws-security-11-01-01.xml
  165. +75 −0 clc/modules/msgs/src/main/resources/cc-evacuate.xml
  166. +4 −1 clc/modules/msgs/src/main/resources/cc-vms.xml
  167. +157 −0 clc/modules/msgs/src/test/java/com/eucalyptus/crypto/util/TimestampsTest.groovy
  168. +6 −0 clc/modules/www/src/main/java/com/eucalyptus/www/X509Download.java
  169. +6 −0 cluster/CCclient.c
  170. +39 −0 cluster/cc-client-marshal-adb.c
  171. +1 −0 cluster/cc-client-marshal.h
  172. +129 −0 cluster/handlers.c
  173. +1 −1 cluster/handlers.h
  174. +54 −0 cluster/server-marshal.c
  175. +1 −0 cluster/server-marshal.h
  176. +9 −9 configure
  177. +1 −1 console/VERSION
  178. +1 −1 console/eucaconsole/__init__.py
  179. +5 −2 node/NCclient.c
  180. +7 −6 node/client-marshal-adb.c
  181. +1 −1 node/client-marshal-fake.c
  182. +1 −1 node/client-marshal-local.c
  183. +1 −1 node/client-marshal.h
  184. +89 −6 node/handlers.c
  185. +5 −2 node/handlers.h
  186. +9 −9 node/handlers_default.c
  187. +188 −55 node/handlers_kvm.c
  188. +25 −10 node/server-marshal.c
  189. +11 −1 storage/backing.c
  190. +22 −26 storage/vbr.c
  191. +2 −1 tools/connect_iscsitarget_main.pl
  192. +2 −0 tools/disconnect_iscsitarget_main.pl
  193. +2 −1 tools/get_iscsitarget.pl
  194. +47 −0 tools/iscsitarget_common.pl
  195. +2 −1 tools/libvirt.xsl
  196. +9 −3 util/adb-helpers.h
  197. +27 −1 util/data.c
  198. +7 −1 util/data.h
  199. +14 −0 util/eucalyptus.h
  200. +4 −1 util/sensor.c
  201. +54 −2 wsdl/eucalyptus_cc.wsdl
  202. +2 −3 wsdl/eucalyptus_nc.wsdl
View
20 INSTALL
@@ -40,7 +40,7 @@ java-devel java-devel openssl-devel curl-devel axis2c dhcp dhcp-common postgresq
python-boto rampartc iscsi-initiator-utils perl-Crypt-OpenSSL-RSA perl-Crypt-OpenSSL-Random \
sudo which jpackage-utils java lvm2 velocity drbd83 drbd83-kmod drbd-utils drbd euca2ools bitstream-vera-fonts \
dejavu-serif-fonts bridge-utils iptables vtun device-mapper coreutils e2fsprogs file parted util-linux rsync \
-PyGreSQL libcurl4 curl apache2 httpd libvirt tgt scsi-target-utils vconfig wget kvm dhcp-server
+PyGreSQL libcurl4 curl apache2 httpd libvirt tgt scsi-target-utils vconfig wget kvm dhcp-server iputils
Package-name & availability notes for CentOS 6.2 (and possibly earlier?):
@@ -51,9 +51,9 @@ Package-name & availability notes for CentOS 6.2 (and possibly earlier?):
- tgt was replaced by scsi-target-utils.
- bitstream-vera-fonts is no longer available.
-Download and save the following file https://github.com/eucalyptus/eucalyptus-rpmspec/blob/master/euca-WSDL2C.sh
+Download and save the following file https://raw.github.com/eucalyptus/eucalyptus-rpmspec/master/euca-WSDL2C.sh
-to /opt/euca-WSDL2C.sh
+to /opt/euca-WSDL2C.sh and make it executable
CentOS/RHEL 5
-------------
@@ -83,11 +83,11 @@ perl-Crypt-OpenSSL-Random sudo which jpackage-utils java lvm2 velocity drbd83
drbd83-kmod drbd-utils drbd euca2ools bitstream-vera-fonts dejavu-serif-fonts
bridge-utils iptables vtun device-mapper coreutils e2fsprogs file parted
util-linux rsync PyGreSQL libcurl4 curl apache2 httpd libvirt tgt scsi-target-utils
-vconfig wget xen dhcp-server
+vconfig wget xen dhcp-server iputils
-Download and save the following file https://github.com/eucalyptus/eucalyptus-rpmspec/blob/master/euca-WSDL2C.sh
+Download and save the following file https://raw.github.com/eucalyptus/eucalyptus-rpmspec/master/euca-WSDL2C.sh
-to /opt/euca-WSDL2C.sh
+to /opt/euca-WSDL2C.sh and make it executable
Ubuntu 12.04 LTS
@@ -99,7 +99,7 @@ cdbs debhelper libaxis2c-dev librampart-dev \
default-jdk libvirt-dev libfuse-dev libfuse2 libcurl4-openssl-dev \
libssl-dev ant-optional zlib1g-dev pkg-config swig python \
python-setuptools rsync wget open-iscsi libxslt1-dev gengetopt ant \
-groovy postgresql-server-dev-9.1
+groovy postgresql-server-dev-9.1 iputils-arping
Download axis2-1.4 from http://archive.apache.org/dist/ws/axis2/1_4/axis2-1.4-bin.zip and unzip it in /opt, so /opt/axis2-1.4 exists
@@ -111,7 +111,7 @@ Walrus: libc6, adduser, openssh-server, openssh-client, sudo, rsync, postgresql-
SC: libc6, adduser, openssh-server, openssh-client, sudo, rsync, postgresql-client-9.1, python, python2.7, python-boto (>= 2.1), python-psutil, tgt, open-iscsi, libcrypt-openssl-random-perl, libcrypt-openssl-rsa-perl, libcrypt-x509-perl, lvm2, vblade
-CC: libaxis2c0, libc6 (>= 2.14), libcurl3 (>= 7.16.2-1), librampart0 (>= 1.3.0-1euca2), libssl1.0.0 (>= 1.0.0), adduser, openssh-server, openssh-client, sudo, rsync, python (>= 2.5), python2.7, python-boto (>= 2.1), python-psutil (>= 0.1.2), apache2, libapache2-mod-axis2c, libssl1.0.0 (>= 1.0.0), bridge-utils, vlan, dhcp3-server, iptables, vtun, libpam-modules (>= 1.0.1-9ubuntu3)
+CC: libaxis2c0, libc6 (>= 2.14), libcurl3 (>= 7.16.2-1), librampart0 (>= 1.3.0-1euca2), libssl1.0.0 (>= 1.0.0), adduser, openssh-server, openssh-client, sudo, rsync, python (>= 2.5), python2.7, python-boto (>= 2.1), python-psutil (>= 0.1.2), apache2, libapache2-mod-axis2c, libssl1.0.0 (>= 1.0.0), bridge-utils, vlan, dhcp3-server, iptables, vtun, libpam-modules (>= 1.0.1-9ubuntu3), iputils-arping
NC: libaxis2c0, libc6 (>= 2.14), libcurl3 (>= 7.16.2-1), librampart0 (>= 1.3.0-1euca2), libssl1.0.0 (>= 1.0.0), libvirt0 (>= 0.3.0), libxml2 (>= 2.7.4), libxslt1.1 (>= 1.1.25), apache2-mpm-worker | apache2-mpm-prefork, libapache2-mod-axis2c, apache2, libc6 (>= 2.2.5), adduser, openssh-server, openssh-client, sudo, adduser, parted, libvirt-bin, open-iscsi, libcrypt-openssl-random-perl, libcrypt-openssl-rsa-perl, libcrypt-x509-perl, euca2ools (>= 1.4~), libdevmapper, python (>= 2.5), python2.7, python-boto (>= 2.1), python-psutil (>= 0.1.2), file, rsync
@@ -130,7 +130,7 @@ cdbs debhelper libaxis2c-dev librampart-dev \
default-jdk libvirt-dev libfuse-dev libfuse2 libcurl4-openssl-dev \
libssl-dev ant-optional zlib1g-dev pkg-config swig python \
python-setuptools rsync wget open-iscsi libxslt1-dev gengetopt ant \
-groovy postgresql-server-dev-9.1
+groovy postgresql-server-dev-9.1 iputils-arping
Install the following runtime dependencies. Dependencies are broken down by Eucalyptus component.
@@ -140,7 +140,7 @@ Walrus: libc6, adduser, openssh-server, openssh-client, sudo, rsync, postgresql-
SC: libc6, adduser, openssh-server, openssh-client, sudo, rsync, postgresql-client-9.1, python, python2.7, python-boto (>= 2.1), python-psutil, tgt, open-iscsi, libcrypt-openssl-random-perl, libcrypt-openssl-rsa-perl, libcrypt-x509-perl, lvm2, vblade
-CC: libaxis2c0, libc6 (>= 2.14), libcurl3 (>= 7.16.2-1), librampart0 (>= 1.3.0-1euca2), libssl1.0.0 (>= 1.0.0), adduser, openssh-server, openssh-client, sudo, rsync, python (>= 2.5), python2.7, python-boto (>= 2.1), python-psutil (>= 0.1.2), apache2, libapache2-mod-axis2c, libssl1.0.0 (>= 1.0.0), bridge-utils, vlan, dhcp3-server, iptables, vtun, libpam-modules (>= 1.0.1-9ubuntu3)
+CC: libaxis2c0, libc6 (>= 2.14), libcurl3 (>= 7.16.2-1), librampart0 (>= 1.3.0-1euca2), libssl1.0.0 (>= 1.0.0), adduser, openssh-server, openssh-client, sudo, rsync, python (>= 2.5), python2.7, python-boto (>= 2.1), python-psutil (>= 0.1.2), apache2, libapache2-mod-axis2c, libssl1.0.0 (>= 1.0.0), bridge-utils, vlan, dhcp3-server, iptables, vtun, libpam-modules (>= 1.0.1-9ubuntu3), iputils-arping
NC: libaxis2c0, libc6 (>= 2.14), libcurl3 (>= 7.16.2-1), librampart0 (>= 1.3.0-1euca2), libssl1.0.0 (>= 1.0.0), libvirt0 (>= 0.3.0), libxml2 (>= 2.7.4), libxslt1.1 (>= 1.1.25), apache2-mpm-worker | apache2-mpm-prefork, libapache2-mod-axis2c, apache2, libc6 (>= 2.2.5), adduser, openssh-server, openssh-client, sudo, adduser, parted, libvirt-bin, open-iscsi, libcrypt-openssl-random-perl, libcrypt-openssl-rsa-perl, libcrypt-x509-perl, euca2ools (>= 1.4~), libdevmapper, python (>= 2.5), python2.7, python-boto (>= 2.1), python-psutil (>= 0.1.2), file, rsync
@@ -25,7 +25,7 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-import eucadmin.describenodes
+import eucadmin.evacuatenode
if __name__ == "__main__":
r = eucadmin.evacuatenode.EvacuateNode()
@@ -65,6 +65,7 @@
import java.security.cert.X509Certificate;
import java.util.List;
import java.util.NoSuchElementException;
+import java.util.Set;
import org.apache.log4j.Logger;
import org.hibernate.criterion.Restrictions;
@@ -84,7 +85,9 @@
import com.eucalyptus.auth.principal.User;
import com.eucalyptus.auth.util.X509CertHelper;
import com.eucalyptus.entities.EntityWrapper;
+import com.google.common.collect.Iterables;
import com.google.common.collect.Lists;
+import com.google.common.collect.Sets;
/**
* The authorization provider based on database storage. This class includes all the APIs to
@@ -294,8 +297,25 @@ public void deleteAccount( String accountName, boolean forceDeleteSystem, boolea
Debugging.logError( LOG, e, "Failed to delete account " + accountName );
throw new AuthException( AuthException.NO_SUCH_ACCOUNT, e );
}
- }
-
+ }
+
+ @Override
+ public Set<String> resolveAccountNumbersForName( final String accountNameLike ) throws AuthException {
+ final Set<String> results = Sets.newHashSet( );
+ final EntityWrapper<AccountEntity> db = EntityWrapper.get( AccountEntity.class );
+ try {
+ for ( final AccountEntity account : db.query( new AccountEntity( accountNameLike ) ) ) {
+ results.add( account.getAccountNumber() );
+ }
+ } catch ( Exception e ) {
+ Debugging.logError( LOG, e, "Failed to resolve account numbers" );
+ throw new AuthException( "Failed to resolve account numbers", e );
+ } finally {
+ db.rollback();
+ }
+ return results;
+ }
+
@Override
public List<User> listAllUsers( ) throws AuthException {
List<User> results = Lists.newArrayList( );
@@ -0,0 +1,28 @@
+<!--
+ Copyright 2009-2013 Eucalyptus Systems, Inc.
+
+ 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; version 3 of the License.
+
+ 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/.
+
+ Please contact Eucalyptus Systems, Inc., 6755 Hollister Ave., Goleta
+ CA 93117, USA or visit http://www.eucalyptus.com/licenses/ if you need
+ additional information or have any questions.
+ -->
+
+<project name="eucalyptus-autoscaling-common" basedir=".">
+ <property name="builder.suffix" value="groovy" />
+ <uptodate property="groovyc.notRequired" targetfile="${jar.file}">
+ <srcfiles dir="${src.dir}" includes="**/*" />
+ </uptodate>
+ <import file="../module-inc.xml"/>
+</project>
+
@@ -0,0 +1,40 @@
+/*************************************************************************
+ * Copyright 2009-2013 Eucalyptus Systems, Inc.
+ *
+ * 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; version 3 of the License.
+ *
+ * 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/.
+ *
+ * Please contact Eucalyptus Systems, Inc., 6755 Hollister Ave., Goleta
+ * CA 93117, USA or visit http://www.eucalyptus.com/licenses/ if you need
+ * additional information or have any questions.
+ ************************************************************************/
+package com.eucalyptus.autoscaling.common;
+
+import com.eucalyptus.auth.policy.PolicySpec;
+import com.eucalyptus.component.ComponentId;
+import com.eucalyptus.component.id.Eucalyptus;
+
+/**
+ * @author Chris Grzegorczyk <grze@eucalyptus.com>
+ */
+@ComponentId.Partition( Eucalyptus.class )
+@ComponentId.PublicService
+@ComponentId.PolicyVendor( PolicySpec.VENDOR_AUTOSCALING )
+@ComponentId.FaultLogPrefix( "cloud" )
+public class AutoScaling extends ComponentId {
+ private static final long serialVersionUID = 1L;
+
+ @Override
+ public String getInternalNamespaceSuffix() {
+ return "/autoscaling";
+ }
+}
Oops, something went wrong.

0 comments on commit 676bcef

Please sign in to comment.