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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5ef381d6e0de7512ddd9532e05486783843c4f02
4
- data.tar.gz: fd40c0aca1479b305b40cade4311c6464d29f4c9
3
+ metadata.gz: c54e02654f5842a8fe6a9f1db04ed43efa0f946d
4
+ data.tar.gz: e7e176ae5e5e18b5c3ba256046db5f3d009414eb
5
5
  SHA512:
6
- metadata.gz: e57971cc5d03987a5827fd7ae2825f270421499894b021eda2b9fba3fc4af598e303a33d016398a0b4a82344add3d0f73e4adc50d41366d6ed066c3c169376ef
7
- data.tar.gz: 138f5149b600542fe4d2681b8ca1f004a52a3e0f4682fc68a707059c1ca0d754fc80515f5e504102550a1acae54eb4df09c6256a460473292c043e17b7d9ce03
6
+ metadata.gz: eca0464d3a66b7aaab19cb997ff16a98e9f3a032c71da3efa36fe42fd8ff4e3531aa5934c9baf066124e5b3202116e46e93b29c0a0cae143380e149cb01141d1
7
+ data.tar.gz: 947debff1c449e7d9cd1433d9043983f673a3f7d56d59a7b348ccfaefabbf3456764715d5668c8c152ef0eb3f003ff31e6852d17e2b1eb2e7fbbffdfdcaac7d8
@@ -1,5 +1,5 @@
1
1
  module Megam
2
2
  class API
3
- VERSION = "0.7.6"
3
+ VERSION = "0.7.7"
4
4
  end
5
5
  end
@@ -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
- "command" => command_hash
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: megam_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.6
4
+ version: 0.7.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kishorekumar Neelamegam, Thomas Alrin, Subash Sethurajan, Rajthilak