test-oneview 5.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (782) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +758 -0
  3. data/Dockerfile +21 -0
  4. data/Gemfile +14 -0
  5. data/Guardfile +26 -0
  6. data/LICENSE +201 -0
  7. data/README.md +516 -0
  8. data/Rakefile +126 -0
  9. data/TESTING.md +61 -0
  10. data/bin/oneview-sdk-ruby +4 -0
  11. data/endpoints-support.md +552 -0
  12. data/lib/oneview-sdk.rb +65 -0
  13. data/lib/oneview-sdk/cli.rb +639 -0
  14. data/lib/oneview-sdk/client.rb +220 -0
  15. data/lib/oneview-sdk/config_loader.rb +31 -0
  16. data/lib/oneview-sdk/exceptions.rb +91 -0
  17. data/lib/oneview-sdk/image-streamer/client.rb +99 -0
  18. data/lib/oneview-sdk/image-streamer/resource/api1000.rb +39 -0
  19. data/lib/oneview-sdk/image-streamer/resource/api1000/artifact_bundle.rb +22 -0
  20. data/lib/oneview-sdk/image-streamer/resource/api1000/build_plan.rb +22 -0
  21. data/lib/oneview-sdk/image-streamer/resource/api1000/deployment_group.rb +22 -0
  22. data/lib/oneview-sdk/image-streamer/resource/api1000/deployment_plan.rb +22 -0
  23. data/lib/oneview-sdk/image-streamer/resource/api1000/golden_image.rb +22 -0
  24. data/lib/oneview-sdk/image-streamer/resource/api1000/os_volume.rb +22 -0
  25. data/lib/oneview-sdk/image-streamer/resource/api1000/plan_script.rb +22 -0
  26. data/lib/oneview-sdk/image-streamer/resource/api1020.rb +39 -0
  27. data/lib/oneview-sdk/image-streamer/resource/api1020/artifact_bundle.rb +22 -0
  28. data/lib/oneview-sdk/image-streamer/resource/api1020/build_plan.rb +22 -0
  29. data/lib/oneview-sdk/image-streamer/resource/api1020/deployment_group.rb +22 -0
  30. data/lib/oneview-sdk/image-streamer/resource/api1020/deployment_plan.rb +22 -0
  31. data/lib/oneview-sdk/image-streamer/resource/api1020/golden_image.rb +22 -0
  32. data/lib/oneview-sdk/image-streamer/resource/api1020/os_volume.rb +22 -0
  33. data/lib/oneview-sdk/image-streamer/resource/api1020/plan_script.rb +22 -0
  34. data/lib/oneview-sdk/image-streamer/resource/api1600.rb +39 -0
  35. data/lib/oneview-sdk/image-streamer/resource/api1600/artifact_bundle.rb +22 -0
  36. data/lib/oneview-sdk/image-streamer/resource/api1600/build_plan.rb +22 -0
  37. data/lib/oneview-sdk/image-streamer/resource/api1600/deployment_group.rb +22 -0
  38. data/lib/oneview-sdk/image-streamer/resource/api1600/deployment_plan.rb +22 -0
  39. data/lib/oneview-sdk/image-streamer/resource/api1600/golden_image.rb +22 -0
  40. data/lib/oneview-sdk/image-streamer/resource/api1600/os_volume.rb +22 -0
  41. data/lib/oneview-sdk/image-streamer/resource/api1600/plan_script.rb +22 -0
  42. data/lib/oneview-sdk/image-streamer/resource/api300.rb +39 -0
  43. data/lib/oneview-sdk/image-streamer/resource/api300/artifact_bundle.rb +213 -0
  44. data/lib/oneview-sdk/image-streamer/resource/api300/build_plan.rb +33 -0
  45. data/lib/oneview-sdk/image-streamer/resource/api300/deployment_group.rb +41 -0
  46. data/lib/oneview-sdk/image-streamer/resource/api300/deployment_plan.rb +33 -0
  47. data/lib/oneview-sdk/image-streamer/resource/api300/golden_image.rb +89 -0
  48. data/lib/oneview-sdk/image-streamer/resource/api300/os_volume.rb +49 -0
  49. data/lib/oneview-sdk/image-streamer/resource/api300/plan_script.rb +42 -0
  50. data/lib/oneview-sdk/image-streamer/resource/api300/resource.rb +21 -0
  51. data/lib/oneview-sdk/image-streamer/resource/api500.rb +39 -0
  52. data/lib/oneview-sdk/image-streamer/resource/api500/artifact_bundle.rb +22 -0
  53. data/lib/oneview-sdk/image-streamer/resource/api500/build_plan.rb +32 -0
  54. data/lib/oneview-sdk/image-streamer/resource/api500/deployment_group.rb +22 -0
  55. data/lib/oneview-sdk/image-streamer/resource/api500/deployment_plan.rb +42 -0
  56. data/lib/oneview-sdk/image-streamer/resource/api500/golden_image.rb +22 -0
  57. data/lib/oneview-sdk/image-streamer/resource/api500/os_volume.rb +22 -0
  58. data/lib/oneview-sdk/image-streamer/resource/api500/plan_script.rb +22 -0
  59. data/lib/oneview-sdk/image-streamer/resource/api600.rb +39 -0
  60. data/lib/oneview-sdk/image-streamer/resource/api600/artifact_bundle.rb +22 -0
  61. data/lib/oneview-sdk/image-streamer/resource/api600/build_plan.rb +22 -0
  62. data/lib/oneview-sdk/image-streamer/resource/api600/deployment_group.rb +22 -0
  63. data/lib/oneview-sdk/image-streamer/resource/api600/deployment_plan.rb +31 -0
  64. data/lib/oneview-sdk/image-streamer/resource/api600/golden_image.rb +22 -0
  65. data/lib/oneview-sdk/image-streamer/resource/api600/os_volume.rb +39 -0
  66. data/lib/oneview-sdk/image-streamer/resource/api600/plan_script.rb +31 -0
  67. data/lib/oneview-sdk/image-streamer/resource/api800.rb +39 -0
  68. data/lib/oneview-sdk/image-streamer/resource/api800/artifact_bundle.rb +22 -0
  69. data/lib/oneview-sdk/image-streamer/resource/api800/build_plan.rb +22 -0
  70. data/lib/oneview-sdk/image-streamer/resource/api800/deployment_group.rb +22 -0
  71. data/lib/oneview-sdk/image-streamer/resource/api800/deployment_plan.rb +22 -0
  72. data/lib/oneview-sdk/image-streamer/resource/api800/golden_image.rb +22 -0
  73. data/lib/oneview-sdk/image-streamer/resource/api800/os_volume.rb +22 -0
  74. data/lib/oneview-sdk/image-streamer/resource/api800/plan_script.rb +22 -0
  75. data/lib/oneview-sdk/image_streamer.rb +68 -0
  76. data/lib/oneview-sdk/resource.rb +431 -0
  77. data/lib/oneview-sdk/resource/api1000.rb +66 -0
  78. data/lib/oneview-sdk/resource/api1000/c7000.rb +27 -0
  79. data/lib/oneview-sdk/resource/api1000/c7000/connection_template.rb +22 -0
  80. data/lib/oneview-sdk/resource/api1000/c7000/enclosure.rb +22 -0
  81. data/lib/oneview-sdk/resource/api1000/c7000/enclosure_group.rb +22 -0
  82. data/lib/oneview-sdk/resource/api1000/c7000/ethernet_network.rb +22 -0
  83. data/lib/oneview-sdk/resource/api1000/c7000/fc_network.rb +22 -0
  84. data/lib/oneview-sdk/resource/api1000/c7000/fcoe_network.rb +23 -0
  85. data/lib/oneview-sdk/resource/api1000/c7000/firmware_driver.rb +22 -0
  86. data/lib/oneview-sdk/resource/api1000/c7000/hypervisor_cluster_profile.rb +22 -0
  87. data/lib/oneview-sdk/resource/api1000/c7000/hypervisor_manager.rb +22 -0
  88. data/lib/oneview-sdk/resource/api1000/c7000/interconnect.rb +23 -0
  89. data/lib/oneview-sdk/resource/api1000/c7000/lig_uplink_set.rb +21 -0
  90. data/lib/oneview-sdk/resource/api1000/c7000/logical_enclosure.rb +22 -0
  91. data/lib/oneview-sdk/resource/api1000/c7000/logical_interconnect.rb +32 -0
  92. data/lib/oneview-sdk/resource/api1000/c7000/logical_interconnect_group.rb +32 -0
  93. data/lib/oneview-sdk/resource/api1000/c7000/network_set.rb +22 -0
  94. data/lib/oneview-sdk/resource/api1000/c7000/scope.rb +22 -0
  95. data/lib/oneview-sdk/resource/api1000/c7000/server_certificate.rb +22 -0
  96. data/lib/oneview-sdk/resource/api1000/c7000/server_hardware.rb +32 -0
  97. data/lib/oneview-sdk/resource/api1000/c7000/server_hardware_type.rb +32 -0
  98. data/lib/oneview-sdk/resource/api1000/c7000/server_profile.rb +32 -0
  99. data/lib/oneview-sdk/resource/api1000/c7000/server_profile_template.rb +33 -0
  100. data/lib/oneview-sdk/resource/api1000/c7000/storage_pool.rb +22 -0
  101. data/lib/oneview-sdk/resource/api1000/c7000/storage_system.rb +35 -0
  102. data/lib/oneview-sdk/resource/api1000/c7000/uplink_set.rb +32 -0
  103. data/lib/oneview-sdk/resource/api1000/c7000/volume.rb +22 -0
  104. data/lib/oneview-sdk/resource/api1000/c7000/volume_attachment.rb +22 -0
  105. data/lib/oneview-sdk/resource/api1000/c7000/volume_template.rb +22 -0
  106. data/lib/oneview-sdk/resource/api1000/synergy.rb +27 -0
  107. data/lib/oneview-sdk/resource/api1000/synergy/connection_template.rb +22 -0
  108. data/lib/oneview-sdk/resource/api1000/synergy/enclosure.rb +22 -0
  109. data/lib/oneview-sdk/resource/api1000/synergy/enclosure_group.rb +22 -0
  110. data/lib/oneview-sdk/resource/api1000/synergy/ethernet_network.rb +22 -0
  111. data/lib/oneview-sdk/resource/api1000/synergy/fc_network.rb +22 -0
  112. data/lib/oneview-sdk/resource/api1000/synergy/fcoe_network.rb +22 -0
  113. data/lib/oneview-sdk/resource/api1000/synergy/firmware_driver.rb +22 -0
  114. data/lib/oneview-sdk/resource/api1000/synergy/hypervisor_cluster_profile.rb +22 -0
  115. data/lib/oneview-sdk/resource/api1000/synergy/hypervisor_manager.rb +22 -0
  116. data/lib/oneview-sdk/resource/api1000/synergy/interconnect.rb +22 -0
  117. data/lib/oneview-sdk/resource/api1000/synergy/lig_uplink_set.rb +21 -0
  118. data/lib/oneview-sdk/resource/api1000/synergy/logical_enclosure.rb +22 -0
  119. data/lib/oneview-sdk/resource/api1000/synergy/logical_interconnect.rb +32 -0
  120. data/lib/oneview-sdk/resource/api1000/synergy/logical_interconnect_group.rb +33 -0
  121. data/lib/oneview-sdk/resource/api1000/synergy/network_set.rb +22 -0
  122. data/lib/oneview-sdk/resource/api1000/synergy/os_deployment_plan.rb +22 -0
  123. data/lib/oneview-sdk/resource/api1000/synergy/sas_logical_interconnect_group.rb +22 -0
  124. data/lib/oneview-sdk/resource/api1000/synergy/scope.rb +22 -0
  125. data/lib/oneview-sdk/resource/api1000/synergy/server_certificate.rb +22 -0
  126. data/lib/oneview-sdk/resource/api1000/synergy/server_hardware.rb +32 -0
  127. data/lib/oneview-sdk/resource/api1000/synergy/server_hardware_type.rb +22 -0
  128. data/lib/oneview-sdk/resource/api1000/synergy/server_profile.rb +25 -0
  129. data/lib/oneview-sdk/resource/api1000/synergy/server_profile_template.rb +22 -0
  130. data/lib/oneview-sdk/resource/api1000/synergy/storage_pool.rb +22 -0
  131. data/lib/oneview-sdk/resource/api1000/synergy/storage_system.rb +22 -0
  132. data/lib/oneview-sdk/resource/api1000/synergy/uplink_set.rb +32 -0
  133. data/lib/oneview-sdk/resource/api1000/synergy/volume.rb +22 -0
  134. data/lib/oneview-sdk/resource/api1000/synergy/volume_attachment.rb +22 -0
  135. data/lib/oneview-sdk/resource/api1000/synergy/volume_template.rb +22 -0
  136. data/lib/oneview-sdk/resource/api1200.rb +66 -0
  137. data/lib/oneview-sdk/resource/api1200/c7000.rb +27 -0
  138. data/lib/oneview-sdk/resource/api1200/c7000/connection_template.rb +22 -0
  139. data/lib/oneview-sdk/resource/api1200/c7000/enclosure.rb +32 -0
  140. data/lib/oneview-sdk/resource/api1200/c7000/enclosure_group.rb +36 -0
  141. data/lib/oneview-sdk/resource/api1200/c7000/ethernet_network.rb +35 -0
  142. data/lib/oneview-sdk/resource/api1200/c7000/fc_network.rb +22 -0
  143. data/lib/oneview-sdk/resource/api1200/c7000/fcoe_network.rb +23 -0
  144. data/lib/oneview-sdk/resource/api1200/c7000/firmware_driver.rb +22 -0
  145. data/lib/oneview-sdk/resource/api1200/c7000/hypervisor_cluster_profile.rb +22 -0
  146. data/lib/oneview-sdk/resource/api1200/c7000/hypervisor_manager.rb +22 -0
  147. data/lib/oneview-sdk/resource/api1200/c7000/interconnect.rb +33 -0
  148. data/lib/oneview-sdk/resource/api1200/c7000/lig_uplink_set.rb +21 -0
  149. data/lib/oneview-sdk/resource/api1200/c7000/logical_enclosure.rb +22 -0
  150. data/lib/oneview-sdk/resource/api1200/c7000/logical_interconnect.rb +32 -0
  151. data/lib/oneview-sdk/resource/api1200/c7000/logical_interconnect_group.rb +32 -0
  152. data/lib/oneview-sdk/resource/api1200/c7000/network_set.rb +32 -0
  153. data/lib/oneview-sdk/resource/api1200/c7000/scope.rb +22 -0
  154. data/lib/oneview-sdk/resource/api1200/c7000/server_certificate.rb +22 -0
  155. data/lib/oneview-sdk/resource/api1200/c7000/server_hardware.rb +22 -0
  156. data/lib/oneview-sdk/resource/api1200/c7000/server_hardware_type.rb +22 -0
  157. data/lib/oneview-sdk/resource/api1200/c7000/server_profile.rb +32 -0
  158. data/lib/oneview-sdk/resource/api1200/c7000/server_profile_template.rb +33 -0
  159. data/lib/oneview-sdk/resource/api1200/c7000/storage_pool.rb +22 -0
  160. data/lib/oneview-sdk/resource/api1200/c7000/storage_system.rb +22 -0
  161. data/lib/oneview-sdk/resource/api1200/c7000/uplink_set.rb +32 -0
  162. data/lib/oneview-sdk/resource/api1200/c7000/volume.rb +22 -0
  163. data/lib/oneview-sdk/resource/api1200/c7000/volume_attachment.rb +22 -0
  164. data/lib/oneview-sdk/resource/api1200/c7000/volume_template.rb +22 -0
  165. data/lib/oneview-sdk/resource/api1200/synergy.rb +27 -0
  166. data/lib/oneview-sdk/resource/api1200/synergy/connection_template.rb +22 -0
  167. data/lib/oneview-sdk/resource/api1200/synergy/enclosure.rb +32 -0
  168. data/lib/oneview-sdk/resource/api1200/synergy/enclosure_group.rb +36 -0
  169. data/lib/oneview-sdk/resource/api1200/synergy/ethernet_network.rb +35 -0
  170. data/lib/oneview-sdk/resource/api1200/synergy/fc_network.rb +22 -0
  171. data/lib/oneview-sdk/resource/api1200/synergy/fcoe_network.rb +22 -0
  172. data/lib/oneview-sdk/resource/api1200/synergy/firmware_driver.rb +22 -0
  173. data/lib/oneview-sdk/resource/api1200/synergy/hypervisor_cluster_profile.rb +22 -0
  174. data/lib/oneview-sdk/resource/api1200/synergy/hypervisor_manager.rb +22 -0
  175. data/lib/oneview-sdk/resource/api1200/synergy/interconnect.rb +32 -0
  176. data/lib/oneview-sdk/resource/api1200/synergy/lig_uplink_set.rb +21 -0
  177. data/lib/oneview-sdk/resource/api1200/synergy/logical_enclosure.rb +22 -0
  178. data/lib/oneview-sdk/resource/api1200/synergy/logical_interconnect.rb +32 -0
  179. data/lib/oneview-sdk/resource/api1200/synergy/logical_interconnect_group.rb +32 -0
  180. data/lib/oneview-sdk/resource/api1200/synergy/network_set.rb +22 -0
  181. data/lib/oneview-sdk/resource/api1200/synergy/os_deployment_plan.rb +22 -0
  182. data/lib/oneview-sdk/resource/api1200/synergy/sas_logical_interconnect_group.rb +22 -0
  183. data/lib/oneview-sdk/resource/api1200/synergy/scope.rb +22 -0
  184. data/lib/oneview-sdk/resource/api1200/synergy/server_certificate.rb +22 -0
  185. data/lib/oneview-sdk/resource/api1200/synergy/server_hardware.rb +22 -0
  186. data/lib/oneview-sdk/resource/api1200/synergy/server_hardware_type.rb +22 -0
  187. data/lib/oneview-sdk/resource/api1200/synergy/server_profile.rb +25 -0
  188. data/lib/oneview-sdk/resource/api1200/synergy/server_profile_template.rb +22 -0
  189. data/lib/oneview-sdk/resource/api1200/synergy/storage_pool.rb +22 -0
  190. data/lib/oneview-sdk/resource/api1200/synergy/storage_system.rb +22 -0
  191. data/lib/oneview-sdk/resource/api1200/synergy/uplink_set.rb +32 -0
  192. data/lib/oneview-sdk/resource/api1200/synergy/volume.rb +22 -0
  193. data/lib/oneview-sdk/resource/api1200/synergy/volume_attachment.rb +22 -0
  194. data/lib/oneview-sdk/resource/api1200/synergy/volume_template.rb +22 -0
  195. data/lib/oneview-sdk/resource/api1600.rb +66 -0
  196. data/lib/oneview-sdk/resource/api1600/c7000.rb +27 -0
  197. data/lib/oneview-sdk/resource/api1600/c7000/connection_template.rb +22 -0
  198. data/lib/oneview-sdk/resource/api1600/c7000/enclosure.rb +22 -0
  199. data/lib/oneview-sdk/resource/api1600/c7000/enclosure_group.rb +22 -0
  200. data/lib/oneview-sdk/resource/api1600/c7000/ethernet_network.rb +22 -0
  201. data/lib/oneview-sdk/resource/api1600/c7000/fc_network.rb +22 -0
  202. data/lib/oneview-sdk/resource/api1600/c7000/fcoe_network.rb +23 -0
  203. data/lib/oneview-sdk/resource/api1600/c7000/firmware_driver.rb +22 -0
  204. data/lib/oneview-sdk/resource/api1600/c7000/hypervisor_cluster_profile.rb +36 -0
  205. data/lib/oneview-sdk/resource/api1600/c7000/hypervisor_manager.rb +22 -0
  206. data/lib/oneview-sdk/resource/api1600/c7000/interconnect.rb +26 -0
  207. data/lib/oneview-sdk/resource/api1600/c7000/lig_uplink_set.rb +21 -0
  208. data/lib/oneview-sdk/resource/api1600/c7000/logical_enclosure.rb +22 -0
  209. data/lib/oneview-sdk/resource/api1600/c7000/logical_interconnect.rb +32 -0
  210. data/lib/oneview-sdk/resource/api1600/c7000/logical_interconnect_group.rb +36 -0
  211. data/lib/oneview-sdk/resource/api1600/c7000/network_set.rb +22 -0
  212. data/lib/oneview-sdk/resource/api1600/c7000/scope.rb +22 -0
  213. data/lib/oneview-sdk/resource/api1600/c7000/server_certificate.rb +22 -0
  214. data/lib/oneview-sdk/resource/api1600/c7000/server_hardware.rb +22 -0
  215. data/lib/oneview-sdk/resource/api1600/c7000/server_hardware_type.rb +25 -0
  216. data/lib/oneview-sdk/resource/api1600/c7000/server_profile.rb +40 -0
  217. data/lib/oneview-sdk/resource/api1600/c7000/server_profile_template.rb +32 -0
  218. data/lib/oneview-sdk/resource/api1600/c7000/storage_pool.rb +22 -0
  219. data/lib/oneview-sdk/resource/api1600/c7000/storage_system.rb +22 -0
  220. data/lib/oneview-sdk/resource/api1600/c7000/uplink_set.rb +32 -0
  221. data/lib/oneview-sdk/resource/api1600/c7000/volume.rb +22 -0
  222. data/lib/oneview-sdk/resource/api1600/c7000/volume_attachment.rb +22 -0
  223. data/lib/oneview-sdk/resource/api1600/c7000/volume_template.rb +22 -0
  224. data/lib/oneview-sdk/resource/api1600/synergy.rb +27 -0
  225. data/lib/oneview-sdk/resource/api1600/synergy/connection_template.rb +22 -0
  226. data/lib/oneview-sdk/resource/api1600/synergy/enclosure.rb +22 -0
  227. data/lib/oneview-sdk/resource/api1600/synergy/enclosure_group.rb +22 -0
  228. data/lib/oneview-sdk/resource/api1600/synergy/ethernet_network.rb +22 -0
  229. data/lib/oneview-sdk/resource/api1600/synergy/fc_network.rb +22 -0
  230. data/lib/oneview-sdk/resource/api1600/synergy/fcoe_network.rb +22 -0
  231. data/lib/oneview-sdk/resource/api1600/synergy/firmware_driver.rb +22 -0
  232. data/lib/oneview-sdk/resource/api1600/synergy/hypervisor_cluster_profile.rb +22 -0
  233. data/lib/oneview-sdk/resource/api1600/synergy/hypervisor_manager.rb +22 -0
  234. data/lib/oneview-sdk/resource/api1600/synergy/interconnect.rb +25 -0
  235. data/lib/oneview-sdk/resource/api1600/synergy/lig_uplink_set.rb +21 -0
  236. data/lib/oneview-sdk/resource/api1600/synergy/logical_enclosure.rb +22 -0
  237. data/lib/oneview-sdk/resource/api1600/synergy/logical_interconnect.rb +32 -0
  238. data/lib/oneview-sdk/resource/api1600/synergy/logical_interconnect_group.rb +36 -0
  239. data/lib/oneview-sdk/resource/api1600/synergy/network_set.rb +22 -0
  240. data/lib/oneview-sdk/resource/api1600/synergy/os_deployment_plan.rb +22 -0
  241. data/lib/oneview-sdk/resource/api1600/synergy/scope.rb +22 -0
  242. data/lib/oneview-sdk/resource/api1600/synergy/server_certificate.rb +22 -0
  243. data/lib/oneview-sdk/resource/api1600/synergy/server_hardware.rb +22 -0
  244. data/lib/oneview-sdk/resource/api1600/synergy/server_hardware_type.rb +25 -0
  245. data/lib/oneview-sdk/resource/api1600/synergy/server_profile.rb +25 -0
  246. data/lib/oneview-sdk/resource/api1600/synergy/server_profile_template.rb +22 -0
  247. data/lib/oneview-sdk/resource/api1600/synergy/storage_pool.rb +22 -0
  248. data/lib/oneview-sdk/resource/api1600/synergy/storage_system.rb +22 -0
  249. data/lib/oneview-sdk/resource/api1600/synergy/uplink_set.rb +32 -0
  250. data/lib/oneview-sdk/resource/api1600/synergy/volume.rb +22 -0
  251. data/lib/oneview-sdk/resource/api1600/synergy/volume_attachment.rb +22 -0
  252. data/lib/oneview-sdk/resource/api1600/synergy/volume_template.rb +22 -0
  253. data/lib/oneview-sdk/resource/api1800.rb +66 -0
  254. data/lib/oneview-sdk/resource/api1800/c7000.rb +27 -0
  255. data/lib/oneview-sdk/resource/api1800/c7000/connection_template.rb +22 -0
  256. data/lib/oneview-sdk/resource/api1800/c7000/enclosure.rb +22 -0
  257. data/lib/oneview-sdk/resource/api1800/c7000/enclosure_group.rb +22 -0
  258. data/lib/oneview-sdk/resource/api1800/c7000/ethernet_network.rb +28 -0
  259. data/lib/oneview-sdk/resource/api1800/c7000/fc_network.rb +28 -0
  260. data/lib/oneview-sdk/resource/api1800/c7000/fcoe_network.rb +28 -0
  261. data/lib/oneview-sdk/resource/api1800/c7000/firmware_driver.rb +22 -0
  262. data/lib/oneview-sdk/resource/api1800/c7000/hypervisor_cluster_profile.rb +22 -0
  263. data/lib/oneview-sdk/resource/api1800/c7000/hypervisor_manager.rb +22 -0
  264. data/lib/oneview-sdk/resource/api1800/c7000/interconnect.rb +26 -0
  265. data/lib/oneview-sdk/resource/api1800/c7000/lig_uplink_set.rb +21 -0
  266. data/lib/oneview-sdk/resource/api1800/c7000/logical_enclosure.rb +22 -0
  267. data/lib/oneview-sdk/resource/api1800/c7000/logical_interconnect.rb +42 -0
  268. data/lib/oneview-sdk/resource/api1800/c7000/logical_interconnect_group.rb +25 -0
  269. data/lib/oneview-sdk/resource/api1800/c7000/network_set.rb +22 -0
  270. data/lib/oneview-sdk/resource/api1800/c7000/scope.rb +22 -0
  271. data/lib/oneview-sdk/resource/api1800/c7000/server_certificate.rb +22 -0
  272. data/lib/oneview-sdk/resource/api1800/c7000/server_hardware.rb +51 -0
  273. data/lib/oneview-sdk/resource/api1800/c7000/server_hardware_type.rb +25 -0
  274. data/lib/oneview-sdk/resource/api1800/c7000/server_profile.rb +22 -0
  275. data/lib/oneview-sdk/resource/api1800/c7000/server_profile_template.rb +22 -0
  276. data/lib/oneview-sdk/resource/api1800/c7000/storage_pool.rb +22 -0
  277. data/lib/oneview-sdk/resource/api1800/c7000/storage_system.rb +22 -0
  278. data/lib/oneview-sdk/resource/api1800/c7000/uplink_set.rb +22 -0
  279. data/lib/oneview-sdk/resource/api1800/c7000/volume.rb +22 -0
  280. data/lib/oneview-sdk/resource/api1800/c7000/volume_attachment.rb +22 -0
  281. data/lib/oneview-sdk/resource/api1800/c7000/volume_template.rb +22 -0
  282. data/lib/oneview-sdk/resource/api1800/synergy.rb +27 -0
  283. data/lib/oneview-sdk/resource/api1800/synergy/connection_template.rb +22 -0
  284. data/lib/oneview-sdk/resource/api1800/synergy/enclosure.rb +22 -0
  285. data/lib/oneview-sdk/resource/api1800/synergy/enclosure_group.rb +22 -0
  286. data/lib/oneview-sdk/resource/api1800/synergy/ethernet_network.rb +22 -0
  287. data/lib/oneview-sdk/resource/api1800/synergy/fc_network.rb +22 -0
  288. data/lib/oneview-sdk/resource/api1800/synergy/fcoe_network.rb +22 -0
  289. data/lib/oneview-sdk/resource/api1800/synergy/firmware_driver.rb +22 -0
  290. data/lib/oneview-sdk/resource/api1800/synergy/hypervisor_cluster_profile.rb +22 -0
  291. data/lib/oneview-sdk/resource/api1800/synergy/hypervisor_manager.rb +22 -0
  292. data/lib/oneview-sdk/resource/api1800/synergy/interconnect.rb +25 -0
  293. data/lib/oneview-sdk/resource/api1800/synergy/lig_uplink_set.rb +21 -0
  294. data/lib/oneview-sdk/resource/api1800/synergy/logical_enclosure.rb +22 -0
  295. data/lib/oneview-sdk/resource/api1800/synergy/logical_interconnect.rb +22 -0
  296. data/lib/oneview-sdk/resource/api1800/synergy/logical_interconnect_group.rb +25 -0
  297. data/lib/oneview-sdk/resource/api1800/synergy/network_set.rb +22 -0
  298. data/lib/oneview-sdk/resource/api1800/synergy/os_deployment_plan.rb +22 -0
  299. data/lib/oneview-sdk/resource/api1800/synergy/scope.rb +22 -0
  300. data/lib/oneview-sdk/resource/api1800/synergy/server_certificate.rb +22 -0
  301. data/lib/oneview-sdk/resource/api1800/synergy/server_hardware.rb +22 -0
  302. data/lib/oneview-sdk/resource/api1800/synergy/server_hardware_type.rb +22 -0
  303. data/lib/oneview-sdk/resource/api1800/synergy/server_profile.rb +25 -0
  304. data/lib/oneview-sdk/resource/api1800/synergy/server_profile_template.rb +22 -0
  305. data/lib/oneview-sdk/resource/api1800/synergy/storage_pool.rb +22 -0
  306. data/lib/oneview-sdk/resource/api1800/synergy/storage_system.rb +22 -0
  307. data/lib/oneview-sdk/resource/api1800/synergy/uplink_set.rb +22 -0
  308. data/lib/oneview-sdk/resource/api1800/synergy/volume.rb +22 -0
  309. data/lib/oneview-sdk/resource/api1800/synergy/volume_attachment.rb +22 -0
  310. data/lib/oneview-sdk/resource/api1800/synergy/volume_template.rb +22 -0
  311. data/lib/oneview-sdk/resource/api200.rb +34 -0
  312. data/lib/oneview-sdk/resource/api200/alerts.rb +39 -0
  313. data/lib/oneview-sdk/resource/api200/client_certificate.rb +134 -0
  314. data/lib/oneview-sdk/resource/api200/connection_template.rb +53 -0
  315. data/lib/oneview-sdk/resource/api200/datacenter.rb +81 -0
  316. data/lib/oneview-sdk/resource/api200/enclosure.rb +192 -0
  317. data/lib/oneview-sdk/resource/api200/enclosure_group.rb +93 -0
  318. data/lib/oneview-sdk/resource/api200/ethernet_network.rb +60 -0
  319. data/lib/oneview-sdk/resource/api200/event.rb +43 -0
  320. data/lib/oneview-sdk/resource/api200/fabric.rb +45 -0
  321. data/lib/oneview-sdk/resource/api200/fc_network.rb +34 -0
  322. data/lib/oneview-sdk/resource/api200/fcoe_network.rb +32 -0
  323. data/lib/oneview-sdk/resource/api200/firmware_bundle.rb +31 -0
  324. data/lib/oneview-sdk/resource/api200/firmware_driver.rb +37 -0
  325. data/lib/oneview-sdk/resource/api200/id_pool.rb +124 -0
  326. data/lib/oneview-sdk/resource/api200/interconnect.rb +114 -0
  327. data/lib/oneview-sdk/resource/api200/lig_uplink_set.rb +106 -0
  328. data/lib/oneview-sdk/resource/api200/logical_downlink.rb +57 -0
  329. data/lib/oneview-sdk/resource/api200/logical_enclosure.rb +88 -0
  330. data/lib/oneview-sdk/resource/api200/logical_interconnect.rb +267 -0
  331. data/lib/oneview-sdk/resource/api200/logical_interconnect_group.rb +134 -0
  332. data/lib/oneview-sdk/resource/api200/logical_switch.rb +188 -0
  333. data/lib/oneview-sdk/resource/api200/logical_switch_group.rb +70 -0
  334. data/lib/oneview-sdk/resource/api200/login_detail.rb +27 -0
  335. data/lib/oneview-sdk/resource/api200/managed_san.rb +83 -0
  336. data/lib/oneview-sdk/resource/api200/network_set.rb +68 -0
  337. data/lib/oneview-sdk/resource/api200/power_device.rb +178 -0
  338. data/lib/oneview-sdk/resource/api200/rack.rb +95 -0
  339. data/lib/oneview-sdk/resource/api200/resource.rb +18 -0
  340. data/lib/oneview-sdk/resource/api200/san_manager.rb +92 -0
  341. data/lib/oneview-sdk/resource/api200/server_hardware.rb +250 -0
  342. data/lib/oneview-sdk/resource/api200/server_hardware_type.rb +61 -0
  343. data/lib/oneview-sdk/resource/api200/server_profile.rb +396 -0
  344. data/lib/oneview-sdk/resource/api200/server_profile_template.rb +227 -0
  345. data/lib/oneview-sdk/resource/api200/storage_pool.rb +99 -0
  346. data/lib/oneview-sdk/resource/api200/storage_system.rb +159 -0
  347. data/lib/oneview-sdk/resource/api200/switch.rb +85 -0
  348. data/lib/oneview-sdk/resource/api200/unmanaged_device.rb +59 -0
  349. data/lib/oneview-sdk/resource/api200/uplink_set.rb +92 -0
  350. data/lib/oneview-sdk/resource/api200/user.rb +98 -0
  351. data/lib/oneview-sdk/resource/api200/version.rb +27 -0
  352. data/lib/oneview-sdk/resource/api200/volume.rb +191 -0
  353. data/lib/oneview-sdk/resource/api200/volume_attachment.rb +85 -0
  354. data/lib/oneview-sdk/resource/api200/volume_snapshot.rb +50 -0
  355. data/lib/oneview-sdk/resource/api200/volume_template.rb +96 -0
  356. data/lib/oneview-sdk/resource/api200/web_server_certificate.rb +97 -0
  357. data/lib/oneview-sdk/resource/api2000.rb +66 -0
  358. data/lib/oneview-sdk/resource/api2000/c7000.rb +27 -0
  359. data/lib/oneview-sdk/resource/api2000/c7000/connection_template.rb +22 -0
  360. data/lib/oneview-sdk/resource/api2000/c7000/enclosure.rb +22 -0
  361. data/lib/oneview-sdk/resource/api2000/c7000/enclosure_group.rb +22 -0
  362. data/lib/oneview-sdk/resource/api2000/c7000/ethernet_network.rb +22 -0
  363. data/lib/oneview-sdk/resource/api2000/c7000/fc_network.rb +22 -0
  364. data/lib/oneview-sdk/resource/api2000/c7000/fcoe_network.rb +22 -0
  365. data/lib/oneview-sdk/resource/api2000/c7000/firmware_driver.rb +22 -0
  366. data/lib/oneview-sdk/resource/api2000/c7000/hypervisor_cluster_profile.rb +22 -0
  367. data/lib/oneview-sdk/resource/api2000/c7000/hypervisor_manager.rb +22 -0
  368. data/lib/oneview-sdk/resource/api2000/c7000/interconnect.rb +26 -0
  369. data/lib/oneview-sdk/resource/api2000/c7000/lig_uplink_set.rb +21 -0
  370. data/lib/oneview-sdk/resource/api2000/c7000/logical_enclosure.rb +22 -0
  371. data/lib/oneview-sdk/resource/api2000/c7000/logical_interconnect.rb +33 -0
  372. data/lib/oneview-sdk/resource/api2000/c7000/logical_interconnect_group.rb +25 -0
  373. data/lib/oneview-sdk/resource/api2000/c7000/network_set.rb +22 -0
  374. data/lib/oneview-sdk/resource/api2000/c7000/scope.rb +22 -0
  375. data/lib/oneview-sdk/resource/api2000/c7000/server_certificate.rb +22 -0
  376. data/lib/oneview-sdk/resource/api2000/c7000/server_hardware.rb +22 -0
  377. data/lib/oneview-sdk/resource/api2000/c7000/server_hardware_type.rb +25 -0
  378. data/lib/oneview-sdk/resource/api2000/c7000/server_profile.rb +22 -0
  379. data/lib/oneview-sdk/resource/api2000/c7000/server_profile_template.rb +22 -0
  380. data/lib/oneview-sdk/resource/api2000/c7000/storage_pool.rb +22 -0
  381. data/lib/oneview-sdk/resource/api2000/c7000/storage_system.rb +22 -0
  382. data/lib/oneview-sdk/resource/api2000/c7000/uplink_set.rb +22 -0
  383. data/lib/oneview-sdk/resource/api2000/c7000/volume.rb +22 -0
  384. data/lib/oneview-sdk/resource/api2000/c7000/volume_attachment.rb +22 -0
  385. data/lib/oneview-sdk/resource/api2000/c7000/volume_template.rb +22 -0
  386. data/lib/oneview-sdk/resource/api2000/synergy.rb +27 -0
  387. data/lib/oneview-sdk/resource/api2000/synergy/connection_template.rb +22 -0
  388. data/lib/oneview-sdk/resource/api2000/synergy/enclosure.rb +22 -0
  389. data/lib/oneview-sdk/resource/api2000/synergy/enclosure_group.rb +22 -0
  390. data/lib/oneview-sdk/resource/api2000/synergy/ethernet_network.rb +22 -0
  391. data/lib/oneview-sdk/resource/api2000/synergy/fc_network.rb +22 -0
  392. data/lib/oneview-sdk/resource/api2000/synergy/fcoe_network.rb +22 -0
  393. data/lib/oneview-sdk/resource/api2000/synergy/firmware_driver.rb +22 -0
  394. data/lib/oneview-sdk/resource/api2000/synergy/hypervisor_cluster_profile.rb +22 -0
  395. data/lib/oneview-sdk/resource/api2000/synergy/hypervisor_manager.rb +22 -0
  396. data/lib/oneview-sdk/resource/api2000/synergy/interconnect.rb +25 -0
  397. data/lib/oneview-sdk/resource/api2000/synergy/lig_uplink_set.rb +21 -0
  398. data/lib/oneview-sdk/resource/api2000/synergy/logical_enclosure.rb +22 -0
  399. data/lib/oneview-sdk/resource/api2000/synergy/logical_interconnect.rb +22 -0
  400. data/lib/oneview-sdk/resource/api2000/synergy/logical_interconnect_group.rb +25 -0
  401. data/lib/oneview-sdk/resource/api2000/synergy/network_set.rb +22 -0
  402. data/lib/oneview-sdk/resource/api2000/synergy/os_deployment_plan.rb +22 -0
  403. data/lib/oneview-sdk/resource/api2000/synergy/scope.rb +22 -0
  404. data/lib/oneview-sdk/resource/api2000/synergy/server_certificate.rb +22 -0
  405. data/lib/oneview-sdk/resource/api2000/synergy/server_hardware.rb +22 -0
  406. data/lib/oneview-sdk/resource/api2000/synergy/server_hardware_type.rb +22 -0
  407. data/lib/oneview-sdk/resource/api2000/synergy/server_profile.rb +25 -0
  408. data/lib/oneview-sdk/resource/api2000/synergy/server_profile_template.rb +22 -0
  409. data/lib/oneview-sdk/resource/api2000/synergy/storage_pool.rb +22 -0
  410. data/lib/oneview-sdk/resource/api2000/synergy/storage_system.rb +22 -0
  411. data/lib/oneview-sdk/resource/api2000/synergy/uplink_set.rb +22 -0
  412. data/lib/oneview-sdk/resource/api2000/synergy/volume.rb +22 -0
  413. data/lib/oneview-sdk/resource/api2000/synergy/volume_attachment.rb +22 -0
  414. data/lib/oneview-sdk/resource/api2000/synergy/volume_template.rb +22 -0
  415. data/lib/oneview-sdk/resource/api300.rb +66 -0
  416. data/lib/oneview-sdk/resource/api300/c7000.rb +27 -0
  417. data/lib/oneview-sdk/resource/api300/c7000/alerts.rb +22 -0
  418. data/lib/oneview-sdk/resource/api300/c7000/client_certificate.rb +22 -0
  419. data/lib/oneview-sdk/resource/api300/c7000/connection_template.rb +22 -0
  420. data/lib/oneview-sdk/resource/api300/c7000/datacenter.rb +22 -0
  421. data/lib/oneview-sdk/resource/api300/c7000/enclosure.rb +36 -0
  422. data/lib/oneview-sdk/resource/api300/c7000/enclosure_group.rb +89 -0
  423. data/lib/oneview-sdk/resource/api300/c7000/ethernet_network.rb +37 -0
  424. data/lib/oneview-sdk/resource/api300/c7000/event.rb +22 -0
  425. data/lib/oneview-sdk/resource/api300/c7000/fabric.rb +22 -0
  426. data/lib/oneview-sdk/resource/api300/c7000/fc_network.rb +39 -0
  427. data/lib/oneview-sdk/resource/api300/c7000/fcoe_network.rb +37 -0
  428. data/lib/oneview-sdk/resource/api300/c7000/firmware_bundle.rb +21 -0
  429. data/lib/oneview-sdk/resource/api300/c7000/firmware_driver.rb +22 -0
  430. data/lib/oneview-sdk/resource/api300/c7000/id_pool.rb +22 -0
  431. data/lib/oneview-sdk/resource/api300/c7000/interconnect.rb +33 -0
  432. data/lib/oneview-sdk/resource/api300/c7000/internal_link_set.rb +58 -0
  433. data/lib/oneview-sdk/resource/api300/c7000/lig_uplink_set.rb +21 -0
  434. data/lib/oneview-sdk/resource/api300/c7000/logical_downlink.rb +34 -0
  435. data/lib/oneview-sdk/resource/api300/c7000/logical_enclosure.rb +37 -0
  436. data/lib/oneview-sdk/resource/api300/c7000/logical_interconnect.rb +45 -0
  437. data/lib/oneview-sdk/resource/api300/c7000/logical_interconnect_group.rb +35 -0
  438. data/lib/oneview-sdk/resource/api300/c7000/logical_switch.rb +36 -0
  439. data/lib/oneview-sdk/resource/api300/c7000/logical_switch_group.rb +35 -0
  440. data/lib/oneview-sdk/resource/api300/c7000/login_detail.rb +23 -0
  441. data/lib/oneview-sdk/resource/api300/c7000/managed_san.rb +36 -0
  442. data/lib/oneview-sdk/resource/api300/c7000/network_set.rb +39 -0
  443. data/lib/oneview-sdk/resource/api300/c7000/power_device.rb +21 -0
  444. data/lib/oneview-sdk/resource/api300/c7000/rack.rb +22 -0
  445. data/lib/oneview-sdk/resource/api300/c7000/resource.rb +21 -0
  446. data/lib/oneview-sdk/resource/api300/c7000/san_manager.rb +22 -0
  447. data/lib/oneview-sdk/resource/api300/c7000/scope.rb +140 -0
  448. data/lib/oneview-sdk/resource/api300/c7000/server_hardware.rb +67 -0
  449. data/lib/oneview-sdk/resource/api300/c7000/server_hardware_type.rb +21 -0
  450. data/lib/oneview-sdk/resource/api300/c7000/server_profile.rb +33 -0
  451. data/lib/oneview-sdk/resource/api300/c7000/server_profile_template.rb +50 -0
  452. data/lib/oneview-sdk/resource/api300/c7000/storage_pool.rb +29 -0
  453. data/lib/oneview-sdk/resource/api300/c7000/storage_system.rb +21 -0
  454. data/lib/oneview-sdk/resource/api300/c7000/switch.rb +43 -0
  455. data/lib/oneview-sdk/resource/api300/c7000/unmanaged_device.rb +22 -0
  456. data/lib/oneview-sdk/resource/api300/c7000/uplink_set.rb +33 -0
  457. data/lib/oneview-sdk/resource/api300/c7000/user.rb +22 -0
  458. data/lib/oneview-sdk/resource/api300/c7000/version.rb +23 -0
  459. data/lib/oneview-sdk/resource/api300/c7000/volume.rb +22 -0
  460. data/lib/oneview-sdk/resource/api300/c7000/volume_attachment.rb +22 -0
  461. data/lib/oneview-sdk/resource/api300/c7000/volume_snapshot.rb +21 -0
  462. data/lib/oneview-sdk/resource/api300/c7000/volume_template.rb +32 -0
  463. data/lib/oneview-sdk/resource/api300/c7000/web_server_certificate.rb +22 -0
  464. data/lib/oneview-sdk/resource/api300/synergy.rb +27 -0
  465. data/lib/oneview-sdk/resource/api300/synergy/alerts.rb +22 -0
  466. data/lib/oneview-sdk/resource/api300/synergy/client_certificate.rb +22 -0
  467. data/lib/oneview-sdk/resource/api300/synergy/connection_template.rb +22 -0
  468. data/lib/oneview-sdk/resource/api300/synergy/datacenter.rb +22 -0
  469. data/lib/oneview-sdk/resource/api300/synergy/drive_enclosure.rb +71 -0
  470. data/lib/oneview-sdk/resource/api300/synergy/enclosure.rb +83 -0
  471. data/lib/oneview-sdk/resource/api300/synergy/enclosure_group.rb +40 -0
  472. data/lib/oneview-sdk/resource/api300/synergy/ethernet_network.rb +37 -0
  473. data/lib/oneview-sdk/resource/api300/synergy/event.rb +22 -0
  474. data/lib/oneview-sdk/resource/api300/synergy/fabric.rb +46 -0
  475. data/lib/oneview-sdk/resource/api300/synergy/fc_network.rb +39 -0
  476. data/lib/oneview-sdk/resource/api300/synergy/fcoe_network.rb +24 -0
  477. data/lib/oneview-sdk/resource/api300/synergy/firmware_bundle.rb +21 -0
  478. data/lib/oneview-sdk/resource/api300/synergy/firmware_driver.rb +22 -0
  479. data/lib/oneview-sdk/resource/api300/synergy/id_pool.rb +22 -0
  480. data/lib/oneview-sdk/resource/api300/synergy/interconnect.rb +53 -0
  481. data/lib/oneview-sdk/resource/api300/synergy/internal_link_set.rb +22 -0
  482. data/lib/oneview-sdk/resource/api300/synergy/lig_uplink_set.rb +21 -0
  483. data/lib/oneview-sdk/resource/api300/synergy/logical_downlink.rb +22 -0
  484. data/lib/oneview-sdk/resource/api300/synergy/logical_enclosure.rb +59 -0
  485. data/lib/oneview-sdk/resource/api300/synergy/logical_interconnect.rb +22 -0
  486. data/lib/oneview-sdk/resource/api300/synergy/logical_interconnect_group.rb +122 -0
  487. data/lib/oneview-sdk/resource/api300/synergy/login_detail.rb +23 -0
  488. data/lib/oneview-sdk/resource/api300/synergy/managed_san.rb +23 -0
  489. data/lib/oneview-sdk/resource/api300/synergy/network_set.rb +22 -0
  490. data/lib/oneview-sdk/resource/api300/synergy/os_deployment_plan.rb +41 -0
  491. data/lib/oneview-sdk/resource/api300/synergy/power_device.rb +21 -0
  492. data/lib/oneview-sdk/resource/api300/synergy/rack.rb +22 -0
  493. data/lib/oneview-sdk/resource/api300/synergy/resource.rb +21 -0
  494. data/lib/oneview-sdk/resource/api300/synergy/san_manager.rb +22 -0
  495. data/lib/oneview-sdk/resource/api300/synergy/sas_interconnect.rb +87 -0
  496. data/lib/oneview-sdk/resource/api300/synergy/sas_logical_interconnect.rb +103 -0
  497. data/lib/oneview-sdk/resource/api300/synergy/sas_logical_interconnect_group.rb +87 -0
  498. data/lib/oneview-sdk/resource/api300/synergy/scope.rb +22 -0
  499. data/lib/oneview-sdk/resource/api300/synergy/server_hardware.rb +30 -0
  500. data/lib/oneview-sdk/resource/api300/synergy/server_hardware_type.rb +21 -0
  501. data/lib/oneview-sdk/resource/api300/synergy/server_profile.rb +88 -0
  502. data/lib/oneview-sdk/resource/api300/synergy/server_profile_template.rb +22 -0
  503. data/lib/oneview-sdk/resource/api300/synergy/storage_pool.rb +22 -0
  504. data/lib/oneview-sdk/resource/api300/synergy/storage_system.rb +21 -0
  505. data/lib/oneview-sdk/resource/api300/synergy/switch.rb +37 -0
  506. data/lib/oneview-sdk/resource/api300/synergy/unmanaged_device.rb +22 -0
  507. data/lib/oneview-sdk/resource/api300/synergy/uplink_set.rb +33 -0
  508. data/lib/oneview-sdk/resource/api300/synergy/user.rb +22 -0
  509. data/lib/oneview-sdk/resource/api300/synergy/version.rb +23 -0
  510. data/lib/oneview-sdk/resource/api300/synergy/volume.rb +22 -0
  511. data/lib/oneview-sdk/resource/api300/synergy/volume_attachment.rb +22 -0
  512. data/lib/oneview-sdk/resource/api300/synergy/volume_snapshot.rb +21 -0
  513. data/lib/oneview-sdk/resource/api300/synergy/volume_template.rb +32 -0
  514. data/lib/oneview-sdk/resource/api300/synergy/web_server_certificate.rb +22 -0
  515. data/lib/oneview-sdk/resource/api500.rb +66 -0
  516. data/lib/oneview-sdk/resource/api500/c7000.rb +27 -0
  517. data/lib/oneview-sdk/resource/api500/c7000/alerts.rb +22 -0
  518. data/lib/oneview-sdk/resource/api500/c7000/client_certificate.rb +22 -0
  519. data/lib/oneview-sdk/resource/api500/c7000/connection_template.rb +22 -0
  520. data/lib/oneview-sdk/resource/api500/c7000/datacenter.rb +22 -0
  521. data/lib/oneview-sdk/resource/api500/c7000/enclosure.rb +57 -0
  522. data/lib/oneview-sdk/resource/api500/c7000/enclosure_group.rb +43 -0
  523. data/lib/oneview-sdk/resource/api500/c7000/ethernet_network.rb +22 -0
  524. data/lib/oneview-sdk/resource/api500/c7000/event.rb +22 -0
  525. data/lib/oneview-sdk/resource/api500/c7000/fabric.rb +22 -0
  526. data/lib/oneview-sdk/resource/api500/c7000/fc_network.rb +24 -0
  527. data/lib/oneview-sdk/resource/api500/c7000/fcoe_network.rb +22 -0
  528. data/lib/oneview-sdk/resource/api500/c7000/firmware_bundle.rb +21 -0
  529. data/lib/oneview-sdk/resource/api500/c7000/firmware_driver.rb +22 -0
  530. data/lib/oneview-sdk/resource/api500/c7000/id_pool.rb +22 -0
  531. data/lib/oneview-sdk/resource/api500/c7000/interconnect.rb +31 -0
  532. data/lib/oneview-sdk/resource/api500/c7000/internal_link_set.rb +22 -0
  533. data/lib/oneview-sdk/resource/api500/c7000/lig_uplink_set.rb +21 -0
  534. data/lib/oneview-sdk/resource/api500/c7000/logical_downlink.rb +22 -0
  535. data/lib/oneview-sdk/resource/api500/c7000/logical_enclosure.rb +62 -0
  536. data/lib/oneview-sdk/resource/api500/c7000/logical_interconnect.rb +22 -0
  537. data/lib/oneview-sdk/resource/api500/c7000/logical_interconnect_group.rb +22 -0
  538. data/lib/oneview-sdk/resource/api500/c7000/logical_switch.rb +22 -0
  539. data/lib/oneview-sdk/resource/api500/c7000/logical_switch_group.rb +22 -0
  540. data/lib/oneview-sdk/resource/api500/c7000/login_detail.rb +23 -0
  541. data/lib/oneview-sdk/resource/api500/c7000/managed_san.rb +32 -0
  542. data/lib/oneview-sdk/resource/api500/c7000/network_set.rb +22 -0
  543. data/lib/oneview-sdk/resource/api500/c7000/power_device.rb +21 -0
  544. data/lib/oneview-sdk/resource/api500/c7000/rack.rb +22 -0
  545. data/lib/oneview-sdk/resource/api500/c7000/resource.rb +21 -0
  546. data/lib/oneview-sdk/resource/api500/c7000/san_manager.rb +22 -0
  547. data/lib/oneview-sdk/resource/api500/c7000/scope.rb +71 -0
  548. data/lib/oneview-sdk/resource/api500/c7000/server_hardware.rb +42 -0
  549. data/lib/oneview-sdk/resource/api500/c7000/server_hardware_type.rb +22 -0
  550. data/lib/oneview-sdk/resource/api500/c7000/server_profile.rb +81 -0
  551. data/lib/oneview-sdk/resource/api500/c7000/server_profile_template.rb +108 -0
  552. data/lib/oneview-sdk/resource/api500/c7000/storage_pool.rb +116 -0
  553. data/lib/oneview-sdk/resource/api500/c7000/storage_system.rb +154 -0
  554. data/lib/oneview-sdk/resource/api500/c7000/switch.rb +29 -0
  555. data/lib/oneview-sdk/resource/api500/c7000/unmanaged_device.rb +22 -0
  556. data/lib/oneview-sdk/resource/api500/c7000/uplink_set.rb +22 -0
  557. data/lib/oneview-sdk/resource/api500/c7000/user.rb +22 -0
  558. data/lib/oneview-sdk/resource/api500/c7000/version.rb +23 -0
  559. data/lib/oneview-sdk/resource/api500/c7000/volume.rb +221 -0
  560. data/lib/oneview-sdk/resource/api500/c7000/volume_attachment.rb +45 -0
  561. data/lib/oneview-sdk/resource/api500/c7000/volume_snapshot.rb +32 -0
  562. data/lib/oneview-sdk/resource/api500/c7000/volume_template.rb +111 -0
  563. data/lib/oneview-sdk/resource/api500/c7000/web_server_certificate.rb +22 -0
  564. data/lib/oneview-sdk/resource/api500/synergy.rb +27 -0
  565. data/lib/oneview-sdk/resource/api500/synergy/alerts.rb +22 -0
  566. data/lib/oneview-sdk/resource/api500/synergy/client_certificate.rb +22 -0
  567. data/lib/oneview-sdk/resource/api500/synergy/connection_template.rb +22 -0
  568. data/lib/oneview-sdk/resource/api500/synergy/datacenter.rb +22 -0
  569. data/lib/oneview-sdk/resource/api500/synergy/drive_enclosure.rb +22 -0
  570. data/lib/oneview-sdk/resource/api500/synergy/enclosure.rb +57 -0
  571. data/lib/oneview-sdk/resource/api500/synergy/enclosure_group.rb +49 -0
  572. data/lib/oneview-sdk/resource/api500/synergy/ethernet_network.rb +22 -0
  573. data/lib/oneview-sdk/resource/api500/synergy/event.rb +22 -0
  574. data/lib/oneview-sdk/resource/api500/synergy/fabric.rb +22 -0
  575. data/lib/oneview-sdk/resource/api500/synergy/fc_network.rb +24 -0
  576. data/lib/oneview-sdk/resource/api500/synergy/fcoe_network.rb +22 -0
  577. data/lib/oneview-sdk/resource/api500/synergy/firmware_bundle.rb +21 -0
  578. data/lib/oneview-sdk/resource/api500/synergy/firmware_driver.rb +22 -0
  579. data/lib/oneview-sdk/resource/api500/synergy/id_pool.rb +22 -0
  580. data/lib/oneview-sdk/resource/api500/synergy/interconnect.rb +38 -0
  581. data/lib/oneview-sdk/resource/api500/synergy/internal_link_set.rb +22 -0
  582. data/lib/oneview-sdk/resource/api500/synergy/lig_uplink_set.rb +21 -0
  583. data/lib/oneview-sdk/resource/api500/synergy/logical_downlink.rb +22 -0
  584. data/lib/oneview-sdk/resource/api500/synergy/logical_enclosure.rb +39 -0
  585. data/lib/oneview-sdk/resource/api500/synergy/logical_interconnect.rb +22 -0
  586. data/lib/oneview-sdk/resource/api500/synergy/logical_interconnect_group.rb +22 -0
  587. data/lib/oneview-sdk/resource/api500/synergy/login_detail.rb +23 -0
  588. data/lib/oneview-sdk/resource/api500/synergy/managed_san.rb +22 -0
  589. data/lib/oneview-sdk/resource/api500/synergy/network_set.rb +22 -0
  590. data/lib/oneview-sdk/resource/api500/synergy/os_deployment_plan.rb +22 -0
  591. data/lib/oneview-sdk/resource/api500/synergy/power_device.rb +21 -0
  592. data/lib/oneview-sdk/resource/api500/synergy/rack.rb +22 -0
  593. data/lib/oneview-sdk/resource/api500/synergy/resource.rb +21 -0
  594. data/lib/oneview-sdk/resource/api500/synergy/san_manager.rb +22 -0
  595. data/lib/oneview-sdk/resource/api500/synergy/sas_interconnect.rb +22 -0
  596. data/lib/oneview-sdk/resource/api500/synergy/sas_logical_interconnect.rb +22 -0
  597. data/lib/oneview-sdk/resource/api500/synergy/sas_logical_interconnect_group.rb +22 -0
  598. data/lib/oneview-sdk/resource/api500/synergy/scope.rb +22 -0
  599. data/lib/oneview-sdk/resource/api500/synergy/server_hardware.rb +22 -0
  600. data/lib/oneview-sdk/resource/api500/synergy/server_hardware_type.rb +22 -0
  601. data/lib/oneview-sdk/resource/api500/synergy/server_profile.rb +25 -0
  602. data/lib/oneview-sdk/resource/api500/synergy/server_profile_template.rb +36 -0
  603. data/lib/oneview-sdk/resource/api500/synergy/storage_pool.rb +22 -0
  604. data/lib/oneview-sdk/resource/api500/synergy/storage_system.rb +22 -0
  605. data/lib/oneview-sdk/resource/api500/synergy/switch.rb +22 -0
  606. data/lib/oneview-sdk/resource/api500/synergy/unmanaged_device.rb +22 -0
  607. data/lib/oneview-sdk/resource/api500/synergy/uplink_set.rb +22 -0
  608. data/lib/oneview-sdk/resource/api500/synergy/user.rb +22 -0
  609. data/lib/oneview-sdk/resource/api500/synergy/version.rb +23 -0
  610. data/lib/oneview-sdk/resource/api500/synergy/volume.rb +22 -0
  611. data/lib/oneview-sdk/resource/api500/synergy/volume_attachment.rb +22 -0
  612. data/lib/oneview-sdk/resource/api500/synergy/volume_snapshot.rb +22 -0
  613. data/lib/oneview-sdk/resource/api500/synergy/volume_template.rb +22 -0
  614. data/lib/oneview-sdk/resource/api500/synergy/web_server_certificate.rb +22 -0
  615. data/lib/oneview-sdk/resource/api600.rb +66 -0
  616. data/lib/oneview-sdk/resource/api600/c7000.rb +27 -0
  617. data/lib/oneview-sdk/resource/api600/c7000/alerts.rb +22 -0
  618. data/lib/oneview-sdk/resource/api600/c7000/client_certificate.rb +22 -0
  619. data/lib/oneview-sdk/resource/api600/c7000/connection_template.rb +22 -0
  620. data/lib/oneview-sdk/resource/api600/c7000/datacenter.rb +22 -0
  621. data/lib/oneview-sdk/resource/api600/c7000/enclosure.rb +71 -0
  622. data/lib/oneview-sdk/resource/api600/c7000/enclosure_group.rb +39 -0
  623. data/lib/oneview-sdk/resource/api600/c7000/ethernet_network.rb +47 -0
  624. data/lib/oneview-sdk/resource/api600/c7000/event.rb +22 -0
  625. data/lib/oneview-sdk/resource/api600/c7000/fabric.rb +22 -0
  626. data/lib/oneview-sdk/resource/api600/c7000/fc_network.rb +35 -0
  627. data/lib/oneview-sdk/resource/api600/c7000/fcoe_network.rb +33 -0
  628. data/lib/oneview-sdk/resource/api600/c7000/firmware_bundle.rb +21 -0
  629. data/lib/oneview-sdk/resource/api600/c7000/firmware_driver.rb +22 -0
  630. data/lib/oneview-sdk/resource/api600/c7000/id_pool.rb +22 -0
  631. data/lib/oneview-sdk/resource/api600/c7000/interconnect.rb +34 -0
  632. data/lib/oneview-sdk/resource/api600/c7000/internal_link_set.rb +22 -0
  633. data/lib/oneview-sdk/resource/api600/c7000/lig_uplink_set.rb +21 -0
  634. data/lib/oneview-sdk/resource/api600/c7000/logical_downlink.rb +22 -0
  635. data/lib/oneview-sdk/resource/api600/c7000/logical_enclosure.rb +22 -0
  636. data/lib/oneview-sdk/resource/api600/c7000/logical_interconnect.rb +39 -0
  637. data/lib/oneview-sdk/resource/api600/c7000/logical_interconnect_group.rb +33 -0
  638. data/lib/oneview-sdk/resource/api600/c7000/logical_switch.rb +32 -0
  639. data/lib/oneview-sdk/resource/api600/c7000/logical_switch_group.rb +32 -0
  640. data/lib/oneview-sdk/resource/api600/c7000/login_detail.rb +23 -0
  641. data/lib/oneview-sdk/resource/api600/c7000/managed_san.rb +22 -0
  642. data/lib/oneview-sdk/resource/api600/c7000/network_set.rb +32 -0
  643. data/lib/oneview-sdk/resource/api600/c7000/power_device.rb +21 -0
  644. data/lib/oneview-sdk/resource/api600/c7000/rack.rb +22 -0
  645. data/lib/oneview-sdk/resource/api600/c7000/resource.rb +21 -0
  646. data/lib/oneview-sdk/resource/api600/c7000/san_manager.rb +22 -0
  647. data/lib/oneview-sdk/resource/api600/c7000/scope.rb +103 -0
  648. data/lib/oneview-sdk/resource/api600/c7000/server_certificate.rb +63 -0
  649. data/lib/oneview-sdk/resource/api600/c7000/server_hardware.rb +44 -0
  650. data/lib/oneview-sdk/resource/api600/c7000/server_hardware_type.rb +22 -0
  651. data/lib/oneview-sdk/resource/api600/c7000/server_profile.rb +82 -0
  652. data/lib/oneview-sdk/resource/api600/c7000/server_profile_template.rb +49 -0
  653. data/lib/oneview-sdk/resource/api600/c7000/storage_pool.rb +32 -0
  654. data/lib/oneview-sdk/resource/api600/c7000/storage_system.rb +22 -0
  655. data/lib/oneview-sdk/resource/api600/c7000/switch.rb +22 -0
  656. data/lib/oneview-sdk/resource/api600/c7000/unmanaged_device.rb +22 -0
  657. data/lib/oneview-sdk/resource/api600/c7000/uplink_set.rb +33 -0
  658. data/lib/oneview-sdk/resource/api600/c7000/user.rb +22 -0
  659. data/lib/oneview-sdk/resource/api600/c7000/version.rb +23 -0
  660. data/lib/oneview-sdk/resource/api600/c7000/volume.rb +22 -0
  661. data/lib/oneview-sdk/resource/api600/c7000/volume_attachment.rb +45 -0
  662. data/lib/oneview-sdk/resource/api600/c7000/volume_snapshot.rb +32 -0
  663. data/lib/oneview-sdk/resource/api600/c7000/volume_template.rb +34 -0
  664. data/lib/oneview-sdk/resource/api600/c7000/web_server_certificate.rb +22 -0
  665. data/lib/oneview-sdk/resource/api600/synergy.rb +27 -0
  666. data/lib/oneview-sdk/resource/api600/synergy/alerts.rb +22 -0
  667. data/lib/oneview-sdk/resource/api600/synergy/client_certificate.rb +22 -0
  668. data/lib/oneview-sdk/resource/api600/synergy/connection_template.rb +22 -0
  669. data/lib/oneview-sdk/resource/api600/synergy/datacenter.rb +22 -0
  670. data/lib/oneview-sdk/resource/api600/synergy/drive_enclosure.rb +22 -0
  671. data/lib/oneview-sdk/resource/api600/synergy/enclosure.rb +71 -0
  672. data/lib/oneview-sdk/resource/api600/synergy/enclosure_group.rb +41 -0
  673. data/lib/oneview-sdk/resource/api600/synergy/ethernet_network.rb +47 -0
  674. data/lib/oneview-sdk/resource/api600/synergy/event.rb +22 -0
  675. data/lib/oneview-sdk/resource/api600/synergy/fabric.rb +22 -0
  676. data/lib/oneview-sdk/resource/api600/synergy/fc_network.rb +35 -0
  677. data/lib/oneview-sdk/resource/api600/synergy/fcoe_network.rb +33 -0
  678. data/lib/oneview-sdk/resource/api600/synergy/firmware_bundle.rb +21 -0
  679. data/lib/oneview-sdk/resource/api600/synergy/firmware_driver.rb +22 -0
  680. data/lib/oneview-sdk/resource/api600/synergy/id_pool.rb +22 -0
  681. data/lib/oneview-sdk/resource/api600/synergy/interconnect.rb +38 -0
  682. data/lib/oneview-sdk/resource/api600/synergy/internal_link_set.rb +22 -0
  683. data/lib/oneview-sdk/resource/api600/synergy/lig_uplink_set.rb +21 -0
  684. data/lib/oneview-sdk/resource/api600/synergy/logical_downlink.rb +22 -0
  685. data/lib/oneview-sdk/resource/api600/synergy/logical_enclosure.rb +22 -0
  686. data/lib/oneview-sdk/resource/api600/synergy/logical_interconnect.rb +39 -0
  687. data/lib/oneview-sdk/resource/api600/synergy/logical_interconnect_group.rb +22 -0
  688. data/lib/oneview-sdk/resource/api600/synergy/login_detail.rb +23 -0
  689. data/lib/oneview-sdk/resource/api600/synergy/managed_san.rb +22 -0
  690. data/lib/oneview-sdk/resource/api600/synergy/network_set.rb +22 -0
  691. data/lib/oneview-sdk/resource/api600/synergy/os_deployment_plan.rb +22 -0
  692. data/lib/oneview-sdk/resource/api600/synergy/power_device.rb +21 -0
  693. data/lib/oneview-sdk/resource/api600/synergy/rack.rb +22 -0
  694. data/lib/oneview-sdk/resource/api600/synergy/resource.rb +21 -0
  695. data/lib/oneview-sdk/resource/api600/synergy/san_manager.rb +22 -0
  696. data/lib/oneview-sdk/resource/api600/synergy/sas_interconnect.rb +22 -0
  697. data/lib/oneview-sdk/resource/api600/synergy/sas_logical_interconnect.rb +22 -0
  698. data/lib/oneview-sdk/resource/api600/synergy/sas_logical_interconnect_group.rb +33 -0
  699. data/lib/oneview-sdk/resource/api600/synergy/scope.rb +22 -0
  700. data/lib/oneview-sdk/resource/api600/synergy/server_certificate.rb +22 -0
  701. data/lib/oneview-sdk/resource/api600/synergy/server_hardware.rb +33 -0
  702. data/lib/oneview-sdk/resource/api600/synergy/server_hardware_type.rb +22 -0
  703. data/lib/oneview-sdk/resource/api600/synergy/server_profile.rb +25 -0
  704. data/lib/oneview-sdk/resource/api600/synergy/server_profile_template.rb +22 -0
  705. data/lib/oneview-sdk/resource/api600/synergy/storage_pool.rb +22 -0
  706. data/lib/oneview-sdk/resource/api600/synergy/storage_system.rb +22 -0
  707. data/lib/oneview-sdk/resource/api600/synergy/switch.rb +22 -0
  708. data/lib/oneview-sdk/resource/api600/synergy/unmanaged_device.rb +22 -0
  709. data/lib/oneview-sdk/resource/api600/synergy/uplink_set.rb +33 -0
  710. data/lib/oneview-sdk/resource/api600/synergy/user.rb +22 -0
  711. data/lib/oneview-sdk/resource/api600/synergy/version.rb +23 -0
  712. data/lib/oneview-sdk/resource/api600/synergy/volume.rb +22 -0
  713. data/lib/oneview-sdk/resource/api600/synergy/volume_attachment.rb +22 -0
  714. data/lib/oneview-sdk/resource/api600/synergy/volume_snapshot.rb +22 -0
  715. data/lib/oneview-sdk/resource/api600/synergy/volume_template.rb +22 -0
  716. data/lib/oneview-sdk/resource/api600/synergy/web_server_certificate.rb +22 -0
  717. data/lib/oneview-sdk/resource/api800.rb +66 -0
  718. data/lib/oneview-sdk/resource/api800/c7000.rb +27 -0
  719. data/lib/oneview-sdk/resource/api800/c7000/connection_template.rb +22 -0
  720. data/lib/oneview-sdk/resource/api800/c7000/enclosure.rb +22 -0
  721. data/lib/oneview-sdk/resource/api800/c7000/enclosure_group.rb +22 -0
  722. data/lib/oneview-sdk/resource/api800/c7000/ethernet_network.rb +22 -0
  723. data/lib/oneview-sdk/resource/api800/c7000/fc_network.rb +22 -0
  724. data/lib/oneview-sdk/resource/api800/c7000/fcoe_network.rb +23 -0
  725. data/lib/oneview-sdk/resource/api800/c7000/firmware_driver.rb +22 -0
  726. data/lib/oneview-sdk/resource/api800/c7000/hypervisor_cluster_profile.rb +39 -0
  727. data/lib/oneview-sdk/resource/api800/c7000/hypervisor_manager.rb +33 -0
  728. data/lib/oneview-sdk/resource/api800/c7000/interconnect.rb +23 -0
  729. data/lib/oneview-sdk/resource/api800/c7000/lig_uplink_set.rb +21 -0
  730. data/lib/oneview-sdk/resource/api800/c7000/logical_enclosure.rb +22 -0
  731. data/lib/oneview-sdk/resource/api800/c7000/logical_interconnect.rb +32 -0
  732. data/lib/oneview-sdk/resource/api800/c7000/logical_interconnect_group.rb +32 -0
  733. data/lib/oneview-sdk/resource/api800/c7000/network_set.rb +22 -0
  734. data/lib/oneview-sdk/resource/api800/c7000/scope.rb +22 -0
  735. data/lib/oneview-sdk/resource/api800/c7000/server_certificate.rb +22 -0
  736. data/lib/oneview-sdk/resource/api800/c7000/server_hardware.rb +22 -0
  737. data/lib/oneview-sdk/resource/api800/c7000/server_hardware_type.rb +32 -0
  738. data/lib/oneview-sdk/resource/api800/c7000/server_profile.rb +32 -0
  739. data/lib/oneview-sdk/resource/api800/c7000/server_profile_template.rb +33 -0
  740. data/lib/oneview-sdk/resource/api800/c7000/storage_pool.rb +22 -0
  741. data/lib/oneview-sdk/resource/api800/c7000/storage_system.rb +22 -0
  742. data/lib/oneview-sdk/resource/api800/c7000/uplink_set.rb +22 -0
  743. data/lib/oneview-sdk/resource/api800/c7000/volume.rb +22 -0
  744. data/lib/oneview-sdk/resource/api800/c7000/volume_attachment.rb +22 -0
  745. data/lib/oneview-sdk/resource/api800/c7000/volume_template.rb +22 -0
  746. data/lib/oneview-sdk/resource/api800/synergy.rb +27 -0
  747. data/lib/oneview-sdk/resource/api800/synergy/connection_template.rb +22 -0
  748. data/lib/oneview-sdk/resource/api800/synergy/enclosure.rb +22 -0
  749. data/lib/oneview-sdk/resource/api800/synergy/enclosure_group.rb +22 -0
  750. data/lib/oneview-sdk/resource/api800/synergy/ethernet_network.rb +22 -0
  751. data/lib/oneview-sdk/resource/api800/synergy/fc_network.rb +22 -0
  752. data/lib/oneview-sdk/resource/api800/synergy/fcoe_network.rb +22 -0
  753. data/lib/oneview-sdk/resource/api800/synergy/firmware_driver.rb +22 -0
  754. data/lib/oneview-sdk/resource/api800/synergy/hypervisor_cluster_profile.rb +22 -0
  755. data/lib/oneview-sdk/resource/api800/synergy/hypervisor_manager.rb +22 -0
  756. data/lib/oneview-sdk/resource/api800/synergy/interconnect.rb +22 -0
  757. data/lib/oneview-sdk/resource/api800/synergy/lig_uplink_set.rb +21 -0
  758. data/lib/oneview-sdk/resource/api800/synergy/logical_enclosure.rb +22 -0
  759. data/lib/oneview-sdk/resource/api800/synergy/logical_interconnect.rb +32 -0
  760. data/lib/oneview-sdk/resource/api800/synergy/logical_interconnect_group.rb +33 -0
  761. data/lib/oneview-sdk/resource/api800/synergy/network_set.rb +22 -0
  762. data/lib/oneview-sdk/resource/api800/synergy/os_deployment_plan.rb +22 -0
  763. data/lib/oneview-sdk/resource/api800/synergy/sas_logical_interconnect_group.rb +22 -0
  764. data/lib/oneview-sdk/resource/api800/synergy/scope.rb +22 -0
  765. data/lib/oneview-sdk/resource/api800/synergy/server_certificate.rb +22 -0
  766. data/lib/oneview-sdk/resource/api800/synergy/server_hardware.rb +22 -0
  767. data/lib/oneview-sdk/resource/api800/synergy/server_hardware_type.rb +22 -0
  768. data/lib/oneview-sdk/resource/api800/synergy/server_profile.rb +25 -0
  769. data/lib/oneview-sdk/resource/api800/synergy/server_profile_template.rb +22 -0
  770. data/lib/oneview-sdk/resource/api800/synergy/storage_pool.rb +22 -0
  771. data/lib/oneview-sdk/resource/api800/synergy/storage_system.rb +22 -0
  772. data/lib/oneview-sdk/resource/api800/synergy/uplink_set.rb +22 -0
  773. data/lib/oneview-sdk/resource/api800/synergy/volume.rb +22 -0
  774. data/lib/oneview-sdk/resource/api800/synergy/volume_attachment.rb +22 -0
  775. data/lib/oneview-sdk/resource/api800/synergy/volume_template.rb +22 -0
  776. data/lib/oneview-sdk/resource_helper.rb +44 -0
  777. data/lib/oneview-sdk/rest.rb +292 -0
  778. data/lib/oneview-sdk/scmb.rb +71 -0
  779. data/lib/oneview-sdk/ssl_helper.rb +87 -0
  780. data/lib/oneview-sdk/version.rb +15 -0
  781. data/oneview-sdk.gemspec +48 -0
  782. metadata +1012 -0
@@ -0,0 +1,53 @@
1
+ # (C) Copyright 2016 Hewlett Packard Enterprise Development LP
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # You may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ #
7
+ # Unless required by applicable law or agreed to in writing, software distributed
8
+ # under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
9
+ # CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
10
+ # language governing permissions and limitations under the License.
11
+
12
+ require_relative 'resource'
13
+
14
+ module OneviewSDK
15
+ module API200
16
+ # Connection template resource implementation
17
+ class ConnectionTemplate < Resource
18
+ BASE_URI = '/rest/connection-templates'.freeze
19
+
20
+ # Create a resource object, associate it with a client, and set its properties.
21
+ # @param [OneviewSDK::Client] client The client object for the OneView appliance
22
+ # @param [Hash] params The options for this resource (key-value pairs)
23
+ # @param [Integer] api_ver The api version to use when interracting with this resource.
24
+ def initialize(client, params = {}, api_ver = nil)
25
+ super
26
+ # Default values:
27
+ @data['bandwidth'] ||= {}
28
+ @data['type'] ||= 'connection-template'
29
+ end
30
+
31
+ # Method is not available
32
+ # @raise [OneviewSDK::MethodUnavailable] method is not available
33
+ def create(*)
34
+ unavailable_method
35
+ end
36
+
37
+ # Method is not available
38
+ # @raise [OneviewSDK::MethodUnavailable] method is not available
39
+ def delete(*)
40
+ unavailable_method
41
+ end
42
+
43
+ # Get the default network connection template
44
+ # @param [OneviewSDK::Client] client The client object for the OneView appliance
45
+ # @return [OneviewSDK::ConnectionTemplate] Connection template
46
+ def self.get_default(client)
47
+ response = client.rest_get(BASE_URI + '/defaultConnectionTemplate')
48
+ variant = name.split('::').at(-2)
49
+ OneviewSDK.resource_named('ConnectionTemplate', client.api_version, variant).new(client, client.response_handler(response))
50
+ end
51
+ end
52
+ end
53
+ end
@@ -0,0 +1,81 @@
1
+ # (C) Copyright 2016 Hewlett Packard Enterprise Development LP
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # You may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ #
7
+ # Unless required by applicable law or agreed to in writing, software distributed
8
+ # under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
9
+ # CONDITIONS OF ANY KIND, either express or implied. See the License for the
10
+ # specific language governing permissions and limitations under the License.
11
+
12
+ require_relative 'resource'
13
+
14
+ module OneviewSDK
15
+ module API200
16
+ # Datacenter resource implementation
17
+ class Datacenter < Resource
18
+ BASE_URI = '/rest/datacenters'.freeze
19
+
20
+ # Add the resource on OneView using the current data
21
+ # @note Calls the refresh method to set additional data
22
+ # @raise [OneviewSDK::IncompleteResource] if the client is not set
23
+ # @raise [StandardError] if the resource creation fails
24
+ # @return [OneviewSDK::Datacenter] self
25
+ alias add create
26
+
27
+ # Remove resource from OneView
28
+ # @return [true] if resource was removed successfully
29
+ alias remove delete
30
+
31
+ # Create a resource object, associate it with a client, and set its properties.
32
+ # @param [OneviewSDK::Client] client The client object for the OneView appliance
33
+ # @param [Hash] params The options for this resource (key-value pairs)
34
+ # @param [Integer] api_ver The api version to use when interracting with this resource.
35
+ def initialize(client, params = {}, api_ver = nil)
36
+ super
37
+ # Default values:
38
+ @data['contents'] ||= []
39
+ end
40
+
41
+ # Method is not available
42
+ # @raise [OneviewSDK::MethodUnavailable] method is not available
43
+ def create(*)
44
+ unavailable_method
45
+ end
46
+
47
+ # Method is not available
48
+ # @raise [OneviewSDK::MethodUnavailable] method is not available
49
+ def delete(*)
50
+ unavailable_method
51
+ end
52
+
53
+ # Adds an existing rack to the datacenter
54
+ # @param [OneviewSDK::Rack] rack rack
55
+ # @param [Decimal] pos_x x position
56
+ # @param [Decimal] pos_y y position
57
+ # @param [Decimal] rotation Rotation degrees (0-359) around the center of the resource
58
+ def add_rack(rack, pos_x, pos_y, rotation = 0)
59
+ @data['contents'] << {
60
+ 'resourceUri' => rack['uri'],
61
+ 'x' => pos_x,
62
+ 'y' => pos_y,
63
+ 'rotation' => rotation
64
+ }
65
+ end
66
+
67
+ # Removes a rack from the datacenter
68
+ # @param [OneviewSDK::Rack] rack rack
69
+ def remove_rack(rack)
70
+ @data['contents'].reject! { |resource| resource['resourceUri'] == rack['uri'] }
71
+ end
72
+
73
+ # Gets a list of the visual content objects
74
+ # @return [Hash]
75
+ def get_visual_content
76
+ response = @client.rest_get(@data['uri'] + '/visualContent')
77
+ @client.response_handler(response)
78
+ end
79
+ end
80
+ end
81
+ end
@@ -0,0 +1,192 @@
1
+ # (C) Copyright 2016 Hewlett Packard Enterprise Development LP
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # You may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ #
7
+ # Unless required by applicable law or agreed to in writing, software distributed
8
+ # under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
9
+ # CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
10
+ # language governing permissions and limitations under the License.
11
+
12
+ require 'time'
13
+ require 'date'
14
+ require_relative 'resource'
15
+ require_relative '../../resource_helper'
16
+
17
+ module OneviewSDK
18
+ module API200
19
+ # Enclosure resource implementation
20
+ class Enclosure < Resource
21
+ include OneviewSDK::ResourceHelper::ConfigurationOperation
22
+
23
+ BASE_URI = '/rest/enclosures'.freeze
24
+ UNIQUE_IDENTIFIERS = %w[name uri serialNumber activeOaPreferredIP standbyOaPreferredIP].freeze
25
+
26
+ # Remove resource from OneView
27
+ # @return [true] if resource was removed successfully
28
+ alias remove delete
29
+
30
+ # Create a resource object, associate it with a client, and set its properties.
31
+ # @param [OneviewSDK::Client] client The client object for the OneView appliance
32
+ # @param [Hash] params The options for this resource (key-value pairs)
33
+ # @param [Integer] api_ver The api version to use when interracting with this resource.
34
+ def initialize(client, params = {}, api_ver = nil)
35
+ super
36
+ # Default values:
37
+ @data['type'] ||= 'EnclosureV200'
38
+ end
39
+
40
+ # Method is not available
41
+ # @raise [OneviewSDK::MethodUnavailable] method is not available
42
+ def create(*)
43
+ unavailable_method
44
+ end
45
+
46
+ # Method is not available
47
+ # @raise [OneviewSDK::MethodUnavailable] method is not available
48
+ def delete(*)
49
+ unavailable_method
50
+ end
51
+
52
+ # Claim/configure the enclosure and its components to the appliance
53
+ # @note Calls the refresh method to set additional data
54
+ # @return [OneviewSDK::Enclosure] self
55
+ def add
56
+ ensure_client
57
+ required_attributes = %w[enclosureGroupUri hostname username password licensingIntent]
58
+ required_attributes.each { |k| raise IncompleteResource, "Missing required attribute: '#{k}'" unless @data.key?(k) }
59
+
60
+ optional_attrs = %w[enclosureUri firmwareBaselineUri force forceInstallFirmware state unmanagedEnclosure updateFirmwareOn]
61
+ temp_data = @data.select { |k, _v| required_attributes.include?(k) || optional_attrs.include?(k) }
62
+ response = @client.rest_post(self.class::BASE_URI, { 'body' => temp_data }, @api_version)
63
+ new_data = @client.response_handler(response)
64
+ old_name = @data.select { |k, _v| %w[name rackName].include?(k) } # Save name (if given)
65
+ %w[username password hostname].each { |k| @data.delete(k) } # These are no longer needed
66
+ set_all(new_data)
67
+ set_all(old_name)
68
+ update
69
+ self
70
+ end
71
+
72
+ # Overrides the update operation because only the name and rackName can be updated (and it uses PATCH).
73
+ # @param [Hash] attributes attributes to be updated
74
+ # @return [OneviewSDK::Enclosure] self
75
+ def update(attributes = {})
76
+ set_all(attributes)
77
+ ensure_client && ensure_uri
78
+ cur_state = self.class.find_by(@client, uri: @data['uri']).first
79
+ unless cur_state[:name] == @data['name']
80
+ patch('replace', '/name', @data['name'])
81
+ end
82
+ unless cur_state[:rackName] == @data['rackName']
83
+ patch('replace', '/rackName', @data['rackName'])
84
+ end
85
+ self
86
+ end
87
+
88
+ # Refreshes the enclosure along with all of its components
89
+ # @param [String] state NotRefreshing, RefreshFailed, RefreshPending, Refreshing
90
+ # @param [Hash] options Optional force fields for refreshing the enclosure
91
+ def set_refresh_state(state, options = {})
92
+ ensure_client && ensure_uri
93
+ s = state.to_s rescue state
94
+ requestBody = {
95
+ 'body' => {
96
+ refreshState: s,
97
+ refreshForceOptions: options
98
+ }
99
+ }
100
+ response = @client.rest_put(@data['uri'] + '/refreshState', requestBody, @api_version)
101
+ new_data = @client.response_handler(response)
102
+ set_all(new_data)
103
+ end
104
+
105
+ # Gets the enclosure script content
106
+ # @return [String] Script content
107
+ def script
108
+ ensure_client && ensure_uri
109
+ response = @client.rest_get(@data['uri'] + '/script', {}, @api_version)
110
+ @client.response_handler(response)
111
+ end
112
+
113
+ # Gets the enclosure settings that describe the environmental configuration
114
+ # @return [Hash] The enclosure envirnomental configuration
115
+ def environmental_configuration
116
+ ensure_client && ensure_uri
117
+ response = @client.rest_get(@data['uri'] + '/environmentalConfiguration', {}, @api_version)
118
+ @client.response_handler(response)
119
+ end
120
+
121
+ # Sets the calibrated max power of an unmanaged or unsupported enclosure
122
+ # @param [String] power The calibrated maximum power of the resource
123
+ def set_environmental_configuration(power)
124
+ ensure_client && ensure_uri
125
+ response = @client.rest_put(@data['uri'] + '/environmentalConfiguration', 'body' => { calibratedMaxPower: power })
126
+ @client.response_handler(response)
127
+ end
128
+
129
+ # Retrieves historical utilization
130
+ # @param [Hash] queryParameters query parameters (ie :startDate, :endDate, :fields, :view, etc.)
131
+ # @option queryParameters [Array] :fields
132
+ # @option queryParameters [Time, Date, String] :startDate
133
+ # @option queryParameters [Time, Date, String] :endDate
134
+ def utilization(queryParameters = {})
135
+ ensure_client && ensure_uri
136
+ uri = "#{@data['uri']}/utilization?"
137
+
138
+ queryParameters[:endDate] = convert_time(queryParameters[:endDate])
139
+ queryParameters[:startDate] = convert_time(queryParameters[:startDate])
140
+
141
+ queryParameters.each do |key, value|
142
+ next if value.nil?
143
+ uri += case key.to_sym
144
+ when :fields
145
+ "fields=#{value.join(',')}"
146
+ when :startDate, :endDate
147
+ "filter=#{key}=#{value}"
148
+ else
149
+ "#{key}=#{value}"
150
+ end
151
+ uri += '&'
152
+ end
153
+ uri.chop! # Get rid of trailing '&' or '?'
154
+ response = @client.rest_get(uri, {}, @api_version)
155
+ @client.response_handler(response)
156
+ end
157
+
158
+ # Updates specific attributes of a given enclosure resource
159
+ # @param [String] operation operation to be performed
160
+ # @param [String] path path
161
+ # @param [String] value value
162
+ def patch(operation, path, value)
163
+ ensure_client && ensure_uri
164
+ response = @client.rest_patch(@data['uri'], { 'body' => [{ op: operation, path: path, value: value }] }, @api_version)
165
+ @client.response_handler(response)
166
+ end
167
+
168
+ # Associates an enclosure group to the enclosure
169
+ # @param [OneviewSDK<Resource>] eg Enclosure Group associated
170
+ def set_enclosure_group(eg)
171
+ eg.retrieve! unless eg['uri']
172
+ @data['enclosureGroupUri'] = eg['uri']
173
+ end
174
+
175
+ private
176
+
177
+ # Converts Date, Time, or String objects to iso8601 string
178
+ # @raise [InvalidResource] if time is not formatted correctly
179
+ def convert_time(t)
180
+ case t
181
+ when nil then nil
182
+ when Date then t.to_time.utc.iso8601(3)
183
+ when Time then t.utc.iso8601(3)
184
+ when String then Time.parse(t).utc.iso8601(3)
185
+ else raise InvalidResource, "Invalid time format '#{t.class}'. Valid options are Time, Date, or String"
186
+ end
187
+ rescue StandardError => e
188
+ raise InvalidResource, "Failed to parse time value '#{t}'. #{e.message}"
189
+ end
190
+ end
191
+ end
192
+ end
@@ -0,0 +1,93 @@
1
+ # (C) Copyright 2016 Hewlett Packard Enterprise Development LP
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # You may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ #
7
+ # Unless required by applicable law or agreed to in writing, software distributed
8
+ # under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
9
+ # CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
10
+ # language governing permissions and limitations under the License.
11
+
12
+ require_relative 'resource'
13
+
14
+ module OneviewSDK
15
+ module API200
16
+ # Enclosure group resource implementation
17
+ class EnclosureGroup < Resource
18
+ BASE_URI = '/rest/enclosure-groups'.freeze
19
+
20
+ # Create a resource object, associate it with a client, and set its properties.
21
+ # @param [OneviewSDK::Client] client The client object for the OneView appliance
22
+ # @param [Hash] params The options for this resource (key-value pairs)
23
+ # @param [Integer] api_ver The api version to use when interracting with this resource.
24
+ def initialize(client, params = {}, api_ver = nil)
25
+ super
26
+ # Default values:
27
+ @data['type'] ||= 'EnclosureGroupV200'
28
+ @data['interconnectBayMappingCount'] ||= 8
29
+ @data['stackingMode'] ||= 'Enclosure'
30
+ create_interconnect_bay_mapping unless @data['interconnectBayMappings']
31
+ end
32
+
33
+ # Get the script executed by enclosures in this enclosure group
34
+ # @return [String] The script for this enclosure group
35
+ def get_script
36
+ ensure_client && ensure_uri
37
+ response = @client.rest_get(@data['uri'] + '/script', {}, @api_version)
38
+ @client.response_handler(response)
39
+ end
40
+
41
+ # Changes the script executed by the enclosures in this enclosure group
42
+ # @param [String] body The script to be executed
43
+ # @return true if set successfully
44
+ def set_script(body)
45
+ ensure_client && ensure_uri
46
+ response = @client.rest_put(@data['uri'] + '/script', { 'body' => body }, @api_version)
47
+ @client.response_handler(response)
48
+ true
49
+ end
50
+
51
+ # Adds the logical interconnect group
52
+ # @param [OneviewSDK::LogicalInterconnectGroup] lig Logical Interconnect Group
53
+ # @raise [OneviewSDK::NotFound] if the LIG uri is not set and cannot be retrieved
54
+ # @return [OneviewSDK::EnclosureGroup] self
55
+ def add_logical_interconnect_group(lig)
56
+ lig.retrieve! unless lig['uri']
57
+ raise(NotFound, "The logical interconnect group #{lig['name']} was not found.") unless lig['uri']
58
+ lig['interconnectMapTemplate']['interconnectMapEntryTemplates'].each do |entry|
59
+ entry['logicalLocation']['locationEntries'].each do |location|
60
+ add_lig_to_bay(location['relativeValue'], lig) if location['type'] == 'Bay' && entry['permittedInterconnectTypeUri']
61
+ end
62
+ end
63
+ self
64
+ end
65
+
66
+ # Creates the interconnect bay mapping
67
+ # @return [OneviewSDK::EnclosureGroup] self
68
+ def create_interconnect_bay_mapping
69
+ @data['interconnectBayMappings'] = []
70
+ 1.upto(@data['interconnectBayMappingCount']) do |bay_number|
71
+ entry = {
72
+ 'interconnectBay' => bay_number,
73
+ 'logicalInterconnectGroupUri' => nil
74
+ }
75
+ @data['interconnectBayMappings'] << entry
76
+ end
77
+ self
78
+ end
79
+
80
+ private
81
+
82
+ # Add logical interconnect group to bay
83
+ # @param [Integer] bay Bay number
84
+ # @param [OneviewSDK::LogicalInterconnectGroup] lig Logical Interconnect Group
85
+ def add_lig_to_bay(bay, lig)
86
+ @data['interconnectBayMappings'].each do |location|
87
+ return location['logicalInterconnectGroupUri'] = lig['uri'] if location['interconnectBay'] == bay
88
+ end
89
+ end
90
+
91
+ end
92
+ end
93
+ end
@@ -0,0 +1,60 @@
1
+ # (C) Copyright 2016 Hewlett Packard Enterprise Development LP
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # You may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ #
7
+ # Unless required by applicable law or agreed to in writing, software distributed
8
+ # under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
9
+ # CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
10
+ # language governing permissions and limitations under the License.
11
+
12
+ require_relative 'resource'
13
+
14
+ module OneviewSDK
15
+ module API200
16
+ # Ethernet network resource implementation
17
+ class EthernetNetwork < Resource
18
+ BASE_URI = '/rest/ethernet-networks'.freeze
19
+
20
+ # Create a resource object, associate it with a client, and set its properties.
21
+ # @param [OneviewSDK::Client] client The client object for the OneView appliance
22
+ # @param [Hash] params The options for this resource (key-value pairs)
23
+ # @param [Integer] api_ver The api version to use when interracting with this resource.
24
+ def initialize(client, params = {}, api_ver = nil)
25
+ super
26
+ # Default values:
27
+ @data['ethernetNetworkType'] ||= 'Tagged'
28
+ @data['type'] ||= 'ethernet-networkV3'
29
+ end
30
+
31
+ # Bulk create the ethernet networks
32
+ # @param [OneviewSDK::Client] client The client object for the OneView appliance
33
+ # @param [Hash] options information necessary to create networks
34
+ # @return [Array] list of ethernet networks created
35
+ def self.bulk_create(client, options)
36
+ range = options[:vlanIdRange].split('-').map(&:to_i)
37
+ options[:type] = 'bulk-ethernet-network'
38
+ response = client.rest_post(BASE_URI + '/bulk', { 'body' => options }, client.api_version)
39
+ client.response_handler(response)
40
+ network_names = []
41
+ range[0].upto(range[1]) { |i| network_names << "#{options[:namePrefix]}_#{i}" }
42
+ OneviewSDK::EthernetNetwork.get_all(client).select { |network| network_names.include?(network['name']) }
43
+ end
44
+
45
+ # Gets the associated profiles
46
+ def get_associated_profiles
47
+ ensure_client && ensure_uri
48
+ response = @client.rest_get("#{@data['uri']}/associatedProfiles", {}, @api_version)
49
+ response.body
50
+ end
51
+
52
+ # Gets the associated uplink groups
53
+ def get_associated_uplink_groups
54
+ ensure_client && ensure_uri
55
+ response = @client.rest_get("#{@data['uri']}/associatedUplinkGroups", {}, @api_version)
56
+ response.body
57
+ end
58
+ end
59
+ end
60
+ end