megam_api 0.7.6 → 0.7.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/megam/api/version.rb +1 -1
- data/lib/megam/builder/delete_node.rb +12 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c54e02654f5842a8fe6a9f1db04ed43efa0f946d
|
4
|
+
data.tar.gz: e7e176ae5e5e18b5c3ba256046db5f3d009414eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eca0464d3a66b7aaab19cb997ff16a98e9f3a032c71da3efa36fe42fd8ff4e3531aa5934c9baf066124e5b3202116e46e93b29c0a0cae143380e149cb01141d1
|
7
|
+
data.tar.gz: 947debff1c449e7d9cd1433d9043983f673a3f7d56d59a7b348ccfaefabbf3456764715d5668c8c152ef0eb3f003ff31e6852d17e2b1eb2e7fbbffdfdcaac7d8
|
data/lib/megam/api/version.rb
CHANGED
@@ -58,7 +58,8 @@ module Megam
|
|
58
58
|
"cc" => {
|
59
59
|
"groups" => "",
|
60
60
|
"image" => "",
|
61
|
-
"flavor" => ""
|
61
|
+
"flavor" => "",
|
62
|
+
"tenant_id" => "#{node.request[:command]['compute']['tenant_id']}"
|
62
63
|
},
|
63
64
|
"access" => {
|
64
65
|
"ssh_key" => "#{node.request[:command]['compute']['access']['ssh_key']}",
|
@@ -66,7 +67,8 @@ module Megam
|
|
66
67
|
"ssh_user" => "",
|
67
68
|
"vault_location" => "#{node.request[:command]['compute']['access']['vault_location']}",
|
68
69
|
"sshpub_location" => "#{node.request[:command]['compute']['access']['sshpub_location']}",
|
69
|
-
"zone" => "#{node.request[:command]['compute']['access']['zone']}"
|
70
|
+
"zone" => "#{node.request[:command]['compute']['access']['zone']}",
|
71
|
+
"region" => "#{node.request[:command]['compute']['access']['region']}"
|
70
72
|
}
|
71
73
|
},
|
72
74
|
"cloudtool" => {
|
@@ -81,8 +83,15 @@ module Megam
|
|
81
83
|
|
82
84
|
node_hash = {
|
83
85
|
"node_name" => "#{node_name}",
|
86
|
+
"node_type" => "#{node[:node_type]}",
|
84
87
|
"req_type" => "#{action}",
|
85
|
-
"
|
88
|
+
"noofinstances" => "",
|
89
|
+
"command" => command_hash,
|
90
|
+
"predefs" => {},
|
91
|
+
"appdefns" => {},
|
92
|
+
"boltdefns" => {},
|
93
|
+
"appreq" => {},
|
94
|
+
"boltreq" => {}
|
86
95
|
}
|
87
96
|
node_hash
|
88
97
|
end
|