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,43 @@
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 API200
16
+ # Event resource implementation
17
+ class Event < Resource
18
+ BASE_URI = '/rest/events'.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'] ||= 'EventResourceV3'
28
+ end
29
+
30
+ # Method is not available
31
+ # @raise [OneviewSDK::MethodUnavailable] method is not available
32
+ def delete(*)
33
+ unavailable_method
34
+ end
35
+
36
+ # Method is not available
37
+ # @raise [OneviewSDK::MethodUnavailable] method is not available
38
+ def update(*)
39
+ unavailable_method
40
+ end
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,45 @@
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
+ # Fabric resource implementation
17
+ class Fabric < Resource
18
+ BASE_URI = '/rest/fabrics'.freeze
19
+
20
+ # Method is not available
21
+ # @raise [OneviewSDK::MethodUnavailable] method is not available
22
+ def create(*)
23
+ unavailable_method
24
+ end
25
+
26
+ # Method is not available
27
+ # @raise [OneviewSDK::MethodUnavailable] method is not available
28
+ def update(*)
29
+ unavailable_method
30
+ end
31
+
32
+ # Method is not available
33
+ # @raise [OneviewSDK::MethodUnavailable] method is not available
34
+ def delete(*)
35
+ unavailable_method
36
+ end
37
+
38
+ # Method is not available
39
+ # @raise [OneviewSDK::MethodUnavailable] method is not available
40
+ def refresh(*)
41
+ unavailable_method
42
+ end
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,34 @@
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
+ # FC network resource implementation
17
+ class FCNetwork < Resource
18
+ BASE_URI = '/rest/fc-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['autoLoginRedistribution'] ||= false
28
+ @data['type'] ||= 'fc-networkV2'
29
+ @data['linkStabilityTime'] ||= 30
30
+ @data['fabricType'] ||= 'FabricAttach'
31
+ end
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,32 @@
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
+ # FCoE network resource implementation
17
+ class FCoENetwork < Resource
18
+ BASE_URI = '/rest/fcoe-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['connectionTemplateUri'] ||= nil
28
+ @data['type'] ||= 'fcoe-network'
29
+ end
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,31 @@
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
+ module OneviewSDK
13
+ module API200
14
+ # Firmware bundle resource implementation
15
+ class FirmwareBundle
16
+ BASE_URI = '/rest/firmware-bundles'.freeze
17
+
18
+ # Uploads a firmware bundle file
19
+ # @param [OneviewSDK::Client] client The client object for the OneView appliance
20
+ # @param [String] file_path
21
+ # @param [Integer] timeout The number of seconds to wait for completing the request
22
+ # @return [OneviewSDK::FirmwareDriver] if the upload was successful, return a FirmwareDriver object
23
+ def self.add(client, file_path, timeout = OneviewSDK::Rest::READ_TIMEOUT)
24
+ options = { 'header' => { 'uploadfilename' => File.basename(file_path) } }
25
+ result = client.upload_file(file_path, BASE_URI, options, timeout)
26
+ variant = name.split('::').at(-2)
27
+ OneviewSDK.resource_named('FirmwareDriver', client.api_version, variant).new(client, result)
28
+ end
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,37 @@
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
+ # Firmware driver resource implementation
17
+ class FirmwareDriver < Resource
18
+ BASE_URI = '/rest/firmware-drivers'.freeze
19
+
20
+ # Remove resource from OneView
21
+ # @return [true] if resource was removed successfully
22
+ alias remove delete
23
+
24
+ # Method is not available
25
+ # @raise [OneviewSDK::MethodUnavailable] method is not available
26
+ def delete(*)
27
+ unavailable_method
28
+ end
29
+
30
+ # Method is not available
31
+ # @raise [OneviewSDK::MethodUnavailable] method is not available
32
+ def update(*)
33
+ unavailable_method
34
+ end
35
+ end
36
+ end
37
+ end
@@ -0,0 +1,124 @@
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 API200
16
+ # Id Pool resource implementation
17
+ class IDPool < Resource
18
+ BASE_URI = '/rest/id-pools'.freeze
19
+
20
+ # Method is not available
21
+ # @raise [OneviewSDK::MethodUnavailable] method is not available
22
+ def create(*)
23
+ unavailable_method
24
+ end
25
+
26
+ # Method is not available
27
+ # @raise [OneviewSDK::MethodUnavailable] method is not available
28
+ def delete(*)
29
+ unavailable_method
30
+ end
31
+
32
+ # Gets a pool along with the list of ranges present in it.
33
+ # @param [String] pool_type The type of the pool. Values: (ipv4, vmac, vsn, vwwn)
34
+ # @raise [OneviewSDK::IncompleteResource] if the client
35
+ # @return [OneviewSDK::IDPool] The response with IDs list, count and if this is a valid allocator
36
+ def get_pool(pool_type)
37
+ ensure_client
38
+ response = @client.rest_get("#{BASE_URI}/#{pool_type}")
39
+ body = @client.response_handler(response)
40
+ set_all(body)
41
+ end
42
+
43
+ # Allocates one or more IDs from a according the amount informed
44
+ # @param [String] pool_type The type of the pool. Values: (ipv4, vmac, vsn, vwwn)
45
+ # @param [Array<String>] id_list The IDs list (or IDs separeted by comma)
46
+ # @return [Hash] The list of allocated IDs
47
+ # @note This API cannot be used to allocate IPv4 IDs. Allocation of IPv4 IDs is allowed only at the range level allocator.
48
+ def allocate_id_list(pool_type, *id_list)
49
+ allocate(pool_type, idList: id_list.flatten)
50
+ end
51
+
52
+ # Allocates a specific amount of IDs from a pool
53
+ # @param [String] pool_type The type of the pool. Values: (ipv4, vmac, vsn, vwwn)
54
+ # @param [Integer] count The amount of IDs to allocate
55
+ # @return [Hash] The list of allocated IDs
56
+ # @note This API cannot be used to allocate IPv4 IDs. Allocation of IPv4 IDs is allowed only at the range level allocator.
57
+ def allocate_count(pool_type, count)
58
+ allocate(pool_type, count: count)
59
+ end
60
+
61
+ # Checks the range availability in the ID pool
62
+ # @param [String] pool_type The type of the pool. Values: (ipv4, vmac, vsn, vwwn)
63
+ # @param [Array<String>] id_list The IDs list (or IDs separeted by comma)
64
+ # @raise [OneviewSDK::IncompleteResource] if the client is not set
65
+ # @return [Hash] The hash with eTag and list of ID's
66
+ def check_range_availability(pool_type, *id_list)
67
+ ensure_client
68
+ return {} if id_list.flatten.empty?
69
+ response = @client.rest_get("#{BASE_URI}/#{pool_type}/checkrangeavailability?idList=#{id_list.flatten.join('&idList=')}")
70
+ @client.response_handler(response)
71
+ end
72
+
73
+ # Collects one or more IDs to be returned to a pool
74
+ # @param [String] pool_type The type of the pool. Values: (ipv4, vmac, vsn, vwwn)
75
+ # @param [Array<String>] id_list The list of IDs (or IDs separeted by comma) to be collected
76
+ # @raise [OneviewSDK::IncompleteResource] if the client is not set
77
+ # @return [Hash] The list of IDs collected
78
+ def collect_ids(pool_type, *id_list)
79
+ raise IncompleteResource, 'The list of IDs informed is empty.' if id_list.flatten.empty?
80
+ ensure_client
81
+ response = @client.rest_put("#{BASE_URI}/#{pool_type}/collector", 'body' => { 'idList' => id_list.flatten })
82
+ @client.response_handler(response)
83
+ end
84
+
85
+ # Generates and returns a random range
86
+ # @param [String] pool_type The type of the pool. Values: (ipv4, vmac, vsn, vwwn)
87
+ # @raise [OneviewSDK::IncompleteResource] if the client is not set
88
+ # @return [Hash] A random range
89
+ # @note This API is not applicable for the IPv4 IDs.
90
+ def generate_random_range(pool_type)
91
+ ensure_client
92
+ response = @client.rest_get("#{BASE_URI}/#{pool_type}/generate")
93
+ @client.response_handler(response)
94
+ end
95
+
96
+ # Validates a set of user specified IDs to reserve in the pool
97
+ # @param [String] pool_type The type of the pool. Values: (ipv4, vmac, vsn, vwwn)
98
+ # @param [Array<String>] id_list The list of IDs (or IDs separeted by comma)
99
+ # @raise [OneviewSDK::IncompleteResource] if the client is not set
100
+ # @return [Boolean] Returns true if is valid
101
+ def validate_id_list(pool_type, *id_list)
102
+ ensure_client
103
+ return {} if id_list.flatten.empty?
104
+ response = @client.rest_put("#{BASE_URI}/#{pool_type}/validate", 'body' => { 'idList' => id_list.flatten })
105
+ body = @client.response_handler(response)
106
+ body['valid']
107
+ end
108
+
109
+ private
110
+
111
+ # Allocates one or more IDs from a pool
112
+ # @param [String] pool_type The type of the pool. Values: (ipv4, vmac, vsn, vwwn)
113
+ # @param [Hash] params The parameters used to allocate IDs
114
+ # @raise [OneviewSDK::IncompleteResource] if the client is not set
115
+ # @return [Hash] The list of allocated IDs
116
+ # @note This API cannot be used to allocate IPv4 IDs. Allocation of IPv4 IDs is allowed only at the range level allocator.
117
+ def allocate(pool_type, params)
118
+ ensure_client
119
+ response = @client.rest_put("#{BASE_URI}/#{pool_type}/allocator", 'body' => params)
120
+ @client.response_handler(response)
121
+ end
122
+ end
123
+ end
124
+ end
@@ -0,0 +1,114 @@
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
+ # Interconnect resource implementation
17
+ class Interconnect < Resource
18
+ BASE_URI = '/rest/interconnects'.freeze
19
+ TYPE_URI = '/rest/interconnect-types'.freeze
20
+ UNIQUE_IDENTIFIERS = %w[name uri serialNumber].freeze
21
+
22
+ # Create a resource object, associate it with a client, and set its properties.
23
+ # @param [OneviewSDK::Client] client The client object for the OneView appliance
24
+ # @param [Hash] params The options for this resource (key-value pairs)
25
+ # @param [Integer] api_ver The api version to use when interracting with this resource.
26
+ def initialize(client, params = {}, api_ver = nil)
27
+ super
28
+ # Default values:
29
+ @data['type'] ||= 'InterconnectV3'
30
+ end
31
+
32
+ # Method is not available
33
+ # @raise [OneviewSDK::MethodUnavailable] method is not available
34
+ def create(*)
35
+ unavailable_method
36
+ end
37
+
38
+ # Method is not available
39
+ # @raise [OneviewSDK::MethodUnavailable] method is not available
40
+ def update(*)
41
+ unavailable_method
42
+ end
43
+
44
+ # Method is not available
45
+ # @raise [OneviewSDK::MethodUnavailable] method is not available
46
+ def delete(*)
47
+ unavailable_method
48
+ end
49
+
50
+ # Retrieves interconnect types
51
+ # @param [OneviewSDK::Client] client The client object for the OneView appliance
52
+ def self.get_types(client)
53
+ response = client.rest_get(TYPE_URI)
54
+ response = client.response_handler(response)
55
+ response['members']
56
+ end
57
+
58
+ # Retrieves the interconnect type with name
59
+ # @param [OneviewSDK::Client] client The client object for the OneView appliance
60
+ # @param [String] name Interconnect type name
61
+ # @return [Array] Interconnect type
62
+ def self.get_type(client, name)
63
+ results = get_types(client)
64
+ results.find { |interconnect_type| interconnect_type['name'] == name }
65
+ end
66
+
67
+ # Retrieves the named servers for this interconnect
68
+ def name_servers
69
+ response = @client.rest_get(@data['uri'] + '/nameServers')
70
+ response.body
71
+ end
72
+
73
+ # Updates an interconnect port
74
+ # @param [String] portName port name
75
+ # @param [Hash] attributes hash with attributes and values to be changed
76
+ def update_port(portName, attributes)
77
+ @data['ports'].each do |port|
78
+ next unless port['name'] == portName
79
+ attributes.each { |key, value| port[key.to_s] = value }
80
+ response = @client.rest_put(@data['uri'] + '/ports', 'body' => port)
81
+ @client.response_handler(response)
82
+ end
83
+ end
84
+
85
+ # Get statistics for an interconnect, for the specified port or subport
86
+ # @param [String] portName port to retrieve statistics
87
+ # @param [String] subportNumber subport to retrieve statistics
88
+ def statistics(portName = nil, subportNumber = nil)
89
+ uri = if subportNumber.nil?
90
+ "#{@data['uri']}/statistics/#{portName}"
91
+ else
92
+ "#{@data['uri']}/statistics/#{portName}/subport/#{subportNumber}"
93
+ end
94
+ response = @client.rest_get(uri)
95
+ response.body
96
+ end
97
+
98
+ # Triggers the reset port protection action
99
+ def reset_port_protection
100
+ response = @client.rest_put(@data['uri'] + '/resetportprotection')
101
+ @client.response_handler(response)
102
+ end
103
+
104
+ # Updates specific attributes for a given interconnect resource
105
+ # @param [String] operation operation to be performed
106
+ # @param [String] path path
107
+ # @param [String] value value
108
+ def patch(operation, path, value)
109
+ response = @client.rest_patch(@data['uri'], 'body' => [{ op: operation, path: path, value: value }])
110
+ @client.response_handler(response)
111
+ end
112
+ end
113
+ end
114
+ end