openstudio-aws 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/lib/openstudio/aws/aws.rb +1 -1
- data/lib/openstudio/aws/version.rb +1 -1
- data/lib/openstudio/lib/openstudio_aws_wrapper.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6b96898493fc6794507cd7f7c8c097ff62e8340c
|
|
4
|
+
data.tar.gz: 38e3a902ee5e58544c91af2977e9f1f42d029837
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9a26a72e1ef25b21f65b8ada82ae0a24c18607a37c4623bfb9489ad60ad15b08b1a3ba12613f44ce9f77655e4f168802ff566f406606e1cb2de4a35d9cc00236
|
|
7
|
+
data.tar.gz: 13e98a46a66e0d256c53b6ae3af69a185b7b2ea56db4e2a4700df5c6ed7947062cb438237ffae7fecf48534e3e8e392ed498685774745bea70937de816994d5c
|
data/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
OpenStudio AWS Gem
|
|
2
2
|
==================
|
|
3
3
|
|
|
4
|
+
[](https://www.versioneye.com/user/projects/540a30dbccc023fe760002c9)
|
|
5
|
+
|
|
4
6
|
OpenStudio AWS uses the OpenStudio AWS ruby class to launch a server and multiple workers for doing
|
|
5
7
|
OpenStudio/EnergyPlus Analyses using Amazon AWS/EC2
|
|
6
8
|
|
data/lib/openstudio/aws/aws.rb
CHANGED
|
@@ -90,7 +90,7 @@ module OpenStudio
|
|
|
90
90
|
def create_server(options = {}, instances_json = 'server_data.json')
|
|
91
91
|
defaults = {
|
|
92
92
|
instance_type: 'm2.xlarge',
|
|
93
|
-
security_group: 'openstudio-
|
|
93
|
+
security_group: 'openstudio-server-sg-v1',
|
|
94
94
|
image_id: @default_amis[:server],
|
|
95
95
|
user_id: 'unknown_user',
|
|
96
96
|
|
|
@@ -231,7 +231,7 @@ class OpenStudioAwsWrapper
|
|
|
231
231
|
def create_or_retrieve_key_pair(key_pair_name = nil)
|
|
232
232
|
tmp_name = key_pair_name || "os-key-pair-#{@group_uuid}"
|
|
233
233
|
|
|
234
|
-
# the describe_key_pairs method will raise an
|
|
234
|
+
# the describe_key_pairs method will raise an expectation if it can't find the key pair, so catch it
|
|
235
235
|
resp = nil
|
|
236
236
|
begin
|
|
237
237
|
resp = @aws.describe_key_pairs(key_names: [tmp_name]).data
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: openstudio-aws
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nicholas Long
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-09-
|
|
11
|
+
date: 2014-09-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: net-scp
|