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,22 @@
1
+ # (C) Copyright 2020 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 '../api1020/deployment_group'
13
+
14
+ module OneviewSDK
15
+ module ImageStreamer
16
+ module API1600
17
+ # Deployment Group resource implementation for Image Streamer
18
+ class DeploymentGroup < OneviewSDK::ImageStreamer::API1020::DeploymentGroup
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,22 @@
1
+ # (C) Copyright 2020 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 '../api1020/deployment_plan'
13
+
14
+ module OneviewSDK
15
+ module ImageStreamer
16
+ module API1600
17
+ # Deployment Plan resource implementation for Image Streamer
18
+ class DeploymentPlan < OneviewSDK::ImageStreamer::API1020::DeploymentPlan
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,22 @@
1
+ # (C) Copyright 2020 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 '../api1020/golden_image'
13
+
14
+ module OneviewSDK
15
+ module ImageStreamer
16
+ module API1600
17
+ # Golden Image resource implementation for Image Streamer
18
+ class GoldenImage < OneviewSDK::ImageStreamer::API1020::GoldenImage
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,22 @@
1
+ # (C) Copyright 2020 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 '../api1020/os_volume'
13
+
14
+ module OneviewSDK
15
+ module ImageStreamer
16
+ module API1600
17
+ # OS Volume resource implementation for Image Streamer
18
+ class OSVolume < OneviewSDK::ImageStreamer::API1020::OSVolume
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,22 @@
1
+ # (C) Copyright 2020 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 '../api1020/plan_script'
13
+
14
+ module OneviewSDK
15
+ module ImageStreamer
16
+ module API1600
17
+ # Plan Script resource implementation for Image Streamer
18
+ class PlanScript < OneviewSDK::ImageStreamer::API1020::PlanScript
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,39 @@
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 Image Streamer
16
+ module ImageStreamer
17
+ # Module API 300
18
+ module API300
19
+ # Get resource class that matches the type given
20
+ # @param [String] type Name of the desired class type
21
+ # @param [String] variant There is only 1 variant for this module, so this is not used.
22
+ # It exists only so that the parameters match API modules that do have multiple variants.
23
+ # @return [Class] Resource class or nil if not found
24
+ def self.resource_named(type, _variant = nil)
25
+ new_type = type.to_s.downcase.gsub(/[ -_]/, '')
26
+ constants.each do |c|
27
+ klass = const_get(c)
28
+ next unless klass.is_a?(Class) && klass < OneviewSDK::Resource
29
+ name = klass.name.split('::').last.downcase.delete('_').delete('-')
30
+ return klass if new_type =~ /^#{name}[s]?$/
31
+ end
32
+ nil
33
+ end
34
+ end
35
+ end
36
+ end
37
+
38
+ # Load all API-specific resources:
39
+ Dir[File.dirname(__FILE__) + '/api300/*.rb'].each { |file| require file }
@@ -0,0 +1,213 @@
1
+ # (C) Copyright 2017 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 ImageStreamer
16
+ module API300
17
+ # Artifacts Bundle resource implementation for Image Streamer
18
+ class ArtifactBundle < Resource
19
+ ACCEPTED_FORMATS = %w[.zip .ZIP].freeze # Supported upload extensions
20
+
21
+ BASE_URI = '/rest/artifact-bundles'.freeze
22
+ BACKUPS_URI = "#{BASE_URI}/backups".freeze
23
+ BACKUPS_ARCHIVE_URI = "#{BACKUPS_URI}/archive".freeze
24
+
25
+ # Create a resource object, associate it with a client, and set its properties.
26
+ # @param [OneviewSDK::ImageStreamer::Client] client The client object for the Image Streamer appliance
27
+ # @param [Hash] params The options for this resource (key-value pairs)
28
+ # @param [Integer] api_ver The api version to use when interracting with this resource.
29
+ def initialize(client, params = {}, api_ver = nil)
30
+ super
31
+ @data['buildPlans'] ||= []
32
+ @data['planScripts'] ||= []
33
+ @data['deploymentPlans'] ||= []
34
+ @data['goldenImages'] ||= []
35
+ end
36
+
37
+ # Creates an artifact bundle resource from the file that is uploaded from admin's local drive
38
+ # @param [OneviewSDK::ImageStreamer::Client] client The client object for the Image Streamer appliance
39
+ # @param [String] file_path The file path with file extension
40
+ # @param [String] artifact_name The name for the artifact that will be created
41
+ # @param [Integer] timeout The number of seconds to wait for completing the request. Default is 300.
42
+ # @return [OneviewSDK::ImageStreamer::API300::ArtifactBundle] if the upload was successful, return a ArtifactBundle object
43
+ def self.create_from_file(client, file_path, artifact_name, timeout = OneviewSDK::Rest::READ_TIMEOUT)
44
+ ensure_file_path_extension!(file_path)
45
+
46
+ file_name = artifact_name.dup
47
+ if file_name && !file_name.empty?
48
+ file_name += File.extname(file_path)
49
+ else
50
+ file_name = File.basename(file_path)
51
+ end
52
+
53
+ body = client.upload_file(file_path, BASE_URI, { 'file_name' => file_name }, timeout)
54
+ ArtifactBundle.new(client, body)
55
+ end
56
+
57
+ # Gets the backup bundles created
58
+ # @param [OneviewSDK::ImageStreamer::Client] client The client object for the Image Streamer appliance
59
+ # @return [Array<ArtifactBundle>] Array of ArtifactBundle
60
+ def self.get_backups(client)
61
+ find_by(client, {}, BACKUPS_URI)
62
+ end
63
+
64
+ # Creates a backup bundle with all the artifacts present on the appliance.
65
+ # @param [OneviewSDK::ImageStreamer::Client] client The client object for the Image Streamer appliance
66
+ # @param [DeploymentGroup] deployment_group The DeploymentGroup with name or uri
67
+ # @return [Hash] The result hash with DeploymentGroup data
68
+ def self.create_backup(client, deployment_group)
69
+ ensure_resource!(deployment_group)
70
+ response = client.rest_post(BACKUPS_URI, 'body' => { 'deploymentGroupURI' => deployment_group['uri'] })
71
+ client.response_handler(response)
72
+ end
73
+
74
+ # Creates a backup bundle from the zip file and extract all the artifacts present in the uploaded file
75
+ # If there are any artifacts existing, they will be removed before the extract operation.
76
+ # @param [OneviewSDK::ImageStreamer::Client] client The client object for the Image Streamer appliance
77
+ # @param [String] file_path The file path with file extension
78
+ # @param [String] artifact_name The name for the artifact that will be created. Default is the file name.
79
+ # @param [Integer] timeout The number of seconds to wait for completing the request. Default is 300.
80
+ # @return [Hash] The result hash with DeploymentGroup data
81
+ def self.create_backup_from_file!(client, deployment_group, file_path, artifact_name = nil, timeout = OneviewSDK::Rest::READ_TIMEOUT)
82
+ ensure_resource!(deployment_group)
83
+ ensure_file_path_extension!(file_path)
84
+
85
+ file_name = if artifact_name && !artifact_name.empty?
86
+ artifact_name + File.extname(file_path)
87
+ else
88
+ File.basename(file_path)
89
+ end
90
+
91
+ params = { 'deploymentGrpUri' => deployment_group['uri'] }
92
+ client.upload_file(file_path, BACKUPS_ARCHIVE_URI, { 'file_name' => file_name, 'body' => params }, timeout)
93
+ end
94
+
95
+ # Download the backup bundle
96
+ # @param [OneviewSDK::ImageStreamer::Client] client The client object for the Image Streamer appliance
97
+ # @param [String] local_drive_path The path where file will be saved
98
+ # @param [ArtifactBundle] bundle_backup The backup ArtifactBundle with 'downloadURI'
99
+ # @return [Boolean] true if backup was downloaded
100
+ def self.download_backup(client, local_drive_path, bundle_backup)
101
+ raise IncompleteResource, "Missing required attribute 'downloadURI'" unless bundle_backup['downloadURI']
102
+ client.download_file(bundle_backup['downloadURI'], local_drive_path)
103
+ end
104
+
105
+ # Extracts the existing backup bundle on the appliance and creates all the artifacts.
106
+ # If there are any artifacts existing, they will be removed before the extract operation.
107
+ # @param [DeploymentGroup] deployment_group The DeploymentGroup with 'name' or 'uri'
108
+ # @param [ArtifactBundle] bundle_backup The backup ArtifactBundle with 'uri'
109
+ # @return [Boolean] true if backup bundle was extracted
110
+ # @raise [OneviewSDK::IncompleteResource] if the client or uri is not set
111
+ def self.extract_backup(client, deployment_group, bundle_backup)
112
+ ensure_resource!(deployment_group)
113
+ raise IncompleteResource, "Missing required attribute 'uri' of backup bundle" unless bundle_backup['uri']
114
+ id = bundle_backup['uri'].split('/').last
115
+ response = client.rest_put("#{BACKUPS_URI}/#{id}", 'body' => { 'deploymentGroupURI' => deployment_group['uri'] })
116
+ client.response_handler(response)
117
+ true
118
+ end
119
+
120
+ # Method is not available
121
+ # @raise [OneviewSDK::MethodUnavailable] method is not available
122
+ def update(*)
123
+ unavailable_method
124
+ end
125
+
126
+ # Update the name of Artifact Bundle
127
+ # @param [String] new_name Name to update the Artifact Bundle
128
+ # @return [Boolean] true if name was updated
129
+ # @raise [OneviewSDK::IncompleteResource] if the client or uri is not set
130
+ def update_name(new_name)
131
+ ensure_uri
132
+ response = @client.rest_put(@data['uri'], 'body' => { 'name' => new_name, 'type' => 'ArtifactsBundle' })
133
+ @client.response_handler(response)
134
+ @data['name'] = new_name
135
+ true
136
+ end
137
+
138
+ # Extracts the artifact bundle and creates the artifacts on the appliance
139
+ # @param [Boolean] force Forces the extract operation even when there are any conflicts
140
+ # @return [Boolean] true if artifact bundle was extracted
141
+ # @raise [OneviewSDK::IncompleteResource] if the client or uri is not set
142
+ def extract(force = true)
143
+ ensure_uri
144
+ options = { 'Content-Type' => 'text/plain' }
145
+ response = @client.rest_put(@data['uri'] + "?extract=true&forceImport=#{force}", options)
146
+ @client.response_handler(response)
147
+ true
148
+ end
149
+
150
+ # Downloads the content of the selected artifact bundle to the admin's local drive.
151
+ # @param [String] local_drive_path Path to save file downloaded
152
+ # @return [Boolean] true if the file was downloaded
153
+ def download(local_drive_path)
154
+ raise IncompleteResource, "Missing required attribute 'downloadURI'" unless @data['downloadURI']
155
+ client.download_file(@data['downloadURI'], local_drive_path)
156
+ end
157
+
158
+ # Add a Build Plan to this ArtifactBundle
159
+ # @param [OneviewSDK::ImageStreamer::API300::BuildPlan] resource The BuildPlan resource with uri
160
+ # @param [TrueClass, FalseClass] read_only Indicates whether the BuildPlan will be readonly in artifact bundle package
161
+ # @raise [RuntimeError] if the BuildPlan uri is not set or it is not valid
162
+ def add_build_plan(resource, read_only = true)
163
+ add_resource(resource, 'buildPlans', read_only)
164
+ end
165
+
166
+ # Add a Plan Script to this ArtifactBundle
167
+ # @param [OneviewSDK::ImageStreamer::API300::PlanScript] resource The PlanScripts resource with uri
168
+ # @param [TrueClass, FalseClass] read_only Indicates whether the PlanScripts will be readonly in artifact bundle package
169
+ # @raise [RuntimeError] if the PlanScripts uri is not set or it is not valid
170
+ def add_plan_script(resource, read_only = true)
171
+ add_resource(resource, 'planScripts', read_only)
172
+ end
173
+
174
+ # Add a Deployment Plan to this ArtifactBundle
175
+ # @param [OneviewSDK::ImageStreamer::API300::DeploymentPlans] resource The DeploymentPlans resource with uri
176
+ # @param [TrueClass, FalseClass] read_only Indicates whether the DeploymentPlans will be readonly in artifact bundle package
177
+ # @raise [RuntimeError] if the DeploymentPlans uri is not set or it is not valid
178
+ def add_deployment_plan(resource, read_only = true)
179
+ add_resource(resource, 'deploymentPlans', read_only)
180
+ end
181
+
182
+ # Add a Golden Image to this ArtifactBundle
183
+ # @param [OneviewSDK::ImageStreamer::API300::GoldenImage] resource The GoldenImage resource with uri
184
+ # @param [TrueClass, FalseClass] read_only Indicates whether the GoldenImage will be readonly in artifact bundle package
185
+ # @raise [RuntimeError] if the GoldenImage uri is not set or it is not valid
186
+ def add_golden_image(resource, read_only = true)
187
+ add_resource(resource, 'goldenImages', read_only)
188
+ end
189
+
190
+ # Fail unless resource can be retrieved
191
+ def self.ensure_resource!(resource)
192
+ raise IncompleteResource, "The resource #{resource.class} can not be retrieved. Ensure it can be retrieved." unless resource.retrieve!
193
+ end
194
+
195
+ # Fail unless file extension of file_path is in ACCEPTED_FORMATS array
196
+ def self.ensure_file_path_extension!(file_path)
197
+ raise InvalidFormat, "File extension should be #{ACCEPTED_FORMATS}" unless ACCEPTED_FORMATS.include?(File.extname(file_path))
198
+ end
199
+
200
+ private
201
+
202
+ # Add resource data to data hash
203
+ # @param [OneviewSDK::Resource] resource The resource with uri
204
+ # @param [String] key_name The hash key of data hash
205
+ # @param [TrueClass, FalseClass] read_only The value of readOnly attribute
206
+ def add_resource(resource, key_name, read_only)
207
+ self.class.ensure_resource!(resource)
208
+ @data[key_name] << { 'resourceUri' => resource['uri'], 'readOnly' => read_only }
209
+ end
210
+ end
211
+ end
212
+ end
213
+ end
@@ -0,0 +1,33 @@
1
+ # (C) Copyright 2017 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 ImageStreamer
16
+ module API300
17
+ # Build Plan resource implementation for Image Streamer
18
+ class BuildPlan < Resource
19
+ BASE_URI = '/rest/build-plans'.freeze
20
+
21
+ # Create a resource object, associate it with a client, and set its properties.
22
+ # @param [OneviewSDK::ImageStreamer::Client] client The client object for the Image Streamer appliance
23
+ # @param [Hash] params The options for this resource (key-value pairs)
24
+ # @param [Integer] api_ver The api version to use when interracting with this resource.
25
+ def initialize(client, params = {}, api_ver = nil)
26
+ super
27
+ # Default values:
28
+ @data['type'] ||= 'OeBuildPlan'
29
+ end
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,41 @@
1
+ # (C) Copyright 2017 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 ImageStreamer
16
+ module API300
17
+ # Deployment Group resource implementation for Image Streamer
18
+ class DeploymentGroup < Resource
19
+ BASE_URI = '/rest/deployment-groups'.freeze
20
+
21
+ # Method is not available
22
+ # @raise [OneviewSDK::MethodUnavailable] method is not available
23
+ def create(*)
24
+ unavailable_method
25
+ end
26
+
27
+ # Method is not available
28
+ # @raise [OneviewSDK::MethodUnavailable] method is not available
29
+ def update(*)
30
+ unavailable_method
31
+ end
32
+
33
+ # Method is not available
34
+ # @raise [OneviewSDK::MethodUnavailable] method is not available
35
+ def delete(*)
36
+ unavailable_method
37
+ end
38
+ end
39
+ end
40
+ end
41
+ end