oneview-sdk 5.7.0 → 5.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (264) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +114 -1
  3. data/Dockerfile +21 -0
  4. data/Gemfile +2 -1
  5. data/README.md +23 -1
  6. data/endpoints-support.md +505 -605
  7. data/lib/oneview-sdk.rb +2 -2
  8. data/lib/oneview-sdk/image-streamer/resource/api1000.rb +39 -0
  9. data/lib/oneview-sdk/image-streamer/resource/api1000/artifact_bundle.rb +22 -0
  10. data/lib/oneview-sdk/image-streamer/resource/api1000/build_plan.rb +22 -0
  11. data/lib/oneview-sdk/image-streamer/resource/api1000/deployment_group.rb +22 -0
  12. data/lib/oneview-sdk/image-streamer/resource/api1000/deployment_plan.rb +22 -0
  13. data/lib/oneview-sdk/image-streamer/resource/api1000/golden_image.rb +22 -0
  14. data/lib/oneview-sdk/image-streamer/resource/api1000/os_volume.rb +22 -0
  15. data/lib/oneview-sdk/image-streamer/resource/api1000/plan_script.rb +22 -0
  16. data/lib/oneview-sdk/image-streamer/resource/api1020.rb +39 -0
  17. data/lib/oneview-sdk/image-streamer/resource/api1020/artifact_bundle.rb +22 -0
  18. data/lib/oneview-sdk/image-streamer/resource/api1020/build_plan.rb +22 -0
  19. data/lib/oneview-sdk/image-streamer/resource/api1020/deployment_group.rb +22 -0
  20. data/lib/oneview-sdk/image-streamer/resource/api1020/deployment_plan.rb +22 -0
  21. data/lib/oneview-sdk/image-streamer/resource/api1020/golden_image.rb +22 -0
  22. data/lib/oneview-sdk/image-streamer/resource/api1020/os_volume.rb +22 -0
  23. data/lib/oneview-sdk/image-streamer/resource/api1020/plan_script.rb +22 -0
  24. data/lib/oneview-sdk/image-streamer/resource/api1600.rb +39 -0
  25. data/lib/oneview-sdk/image-streamer/resource/api1600/artifact_bundle.rb +22 -0
  26. data/lib/oneview-sdk/image-streamer/resource/api1600/build_plan.rb +22 -0
  27. data/lib/oneview-sdk/image-streamer/resource/api1600/deployment_group.rb +22 -0
  28. data/lib/oneview-sdk/image-streamer/resource/api1600/deployment_plan.rb +22 -0
  29. data/lib/oneview-sdk/image-streamer/resource/api1600/golden_image.rb +22 -0
  30. data/lib/oneview-sdk/image-streamer/resource/api1600/os_volume.rb +22 -0
  31. data/lib/oneview-sdk/image-streamer/resource/api1600/plan_script.rb +22 -0
  32. data/lib/oneview-sdk/image-streamer/resource/api500/artifact_bundle.rb +22 -0
  33. data/lib/oneview-sdk/image-streamer/resource/api500/deployment_group.rb +22 -0
  34. data/lib/oneview-sdk/image-streamer/resource/api600/artifact_bundle.rb +22 -0
  35. data/lib/oneview-sdk/image-streamer/resource/api600/deployment_group.rb +22 -0
  36. data/lib/oneview-sdk/image-streamer/resource/api600/os_volume.rb +2 -1
  37. data/lib/oneview-sdk/image-streamer/resource/api800.rb +39 -0
  38. data/lib/oneview-sdk/image-streamer/resource/api800/artifact_bundle.rb +22 -0
  39. data/lib/oneview-sdk/image-streamer/resource/api800/build_plan.rb +22 -0
  40. data/lib/oneview-sdk/image-streamer/resource/api800/deployment_group.rb +22 -0
  41. data/lib/oneview-sdk/image-streamer/resource/api800/deployment_plan.rb +22 -0
  42. data/lib/oneview-sdk/image-streamer/resource/api800/golden_image.rb +22 -0
  43. data/lib/oneview-sdk/image-streamer/resource/api800/os_volume.rb +22 -0
  44. data/lib/oneview-sdk/image-streamer/resource/api800/plan_script.rb +22 -0
  45. data/lib/oneview-sdk/image_streamer.rb +2 -2
  46. data/lib/oneview-sdk/resource/api1000.rb +66 -0
  47. data/lib/oneview-sdk/resource/api1000/c7000.rb +27 -0
  48. data/lib/oneview-sdk/resource/api1000/c7000/connection_template.rb +22 -0
  49. data/lib/oneview-sdk/resource/api1000/c7000/enclosure.rb +22 -0
  50. data/lib/oneview-sdk/resource/api1000/c7000/enclosure_group.rb +22 -0
  51. data/lib/oneview-sdk/resource/api1000/c7000/ethernet_network.rb +22 -0
  52. data/lib/oneview-sdk/resource/api1000/c7000/fc_network.rb +22 -0
  53. data/lib/oneview-sdk/resource/api1000/c7000/fcoe_network.rb +23 -0
  54. data/lib/oneview-sdk/resource/api1000/c7000/firmware_driver.rb +22 -0
  55. data/lib/oneview-sdk/resource/api1000/c7000/hypervisor_cluster_profile.rb +22 -0
  56. data/lib/oneview-sdk/resource/api1000/c7000/hypervisor_manager.rb +22 -0
  57. data/lib/oneview-sdk/resource/api1000/c7000/interconnect.rb +23 -0
  58. data/lib/oneview-sdk/resource/api1000/c7000/lig_uplink_set.rb +21 -0
  59. data/lib/oneview-sdk/resource/api1000/c7000/logical_enclosure.rb +22 -0
  60. data/lib/oneview-sdk/resource/api1000/c7000/logical_interconnect.rb +32 -0
  61. data/lib/oneview-sdk/resource/api1000/c7000/logical_interconnect_group.rb +32 -0
  62. data/lib/oneview-sdk/resource/api1000/c7000/network_set.rb +22 -0
  63. data/lib/oneview-sdk/resource/api1000/c7000/scope.rb +22 -0
  64. data/lib/oneview-sdk/resource/api1000/c7000/server_certificate.rb +22 -0
  65. data/lib/oneview-sdk/resource/api1000/c7000/server_hardware.rb +32 -0
  66. data/lib/oneview-sdk/resource/api1000/c7000/server_hardware_type.rb +32 -0
  67. data/lib/oneview-sdk/resource/api1000/c7000/server_profile.rb +32 -0
  68. data/lib/oneview-sdk/resource/api1000/c7000/server_profile_template.rb +33 -0
  69. data/lib/oneview-sdk/resource/api1000/c7000/storage_pool.rb +22 -0
  70. data/lib/oneview-sdk/resource/api1000/c7000/storage_system.rb +35 -0
  71. data/lib/oneview-sdk/resource/api1000/c7000/uplink_set.rb +32 -0
  72. data/lib/oneview-sdk/resource/api1000/c7000/volume.rb +22 -0
  73. data/lib/oneview-sdk/resource/api1000/c7000/volume_attachment.rb +22 -0
  74. data/lib/oneview-sdk/resource/api1000/c7000/volume_template.rb +22 -0
  75. data/lib/oneview-sdk/resource/api1000/synergy.rb +27 -0
  76. data/lib/oneview-sdk/resource/api1000/synergy/connection_template.rb +22 -0
  77. data/lib/oneview-sdk/resource/api1000/synergy/enclosure.rb +22 -0
  78. data/lib/oneview-sdk/resource/api1000/synergy/enclosure_group.rb +22 -0
  79. data/lib/oneview-sdk/resource/api1000/synergy/ethernet_network.rb +22 -0
  80. data/lib/oneview-sdk/resource/api1000/synergy/fc_network.rb +22 -0
  81. data/lib/oneview-sdk/resource/api1000/synergy/fcoe_network.rb +22 -0
  82. data/lib/oneview-sdk/resource/api1000/synergy/firmware_driver.rb +22 -0
  83. data/lib/oneview-sdk/resource/api1000/synergy/hypervisor_cluster_profile.rb +22 -0
  84. data/lib/oneview-sdk/resource/api1000/synergy/hypervisor_manager.rb +22 -0
  85. data/lib/oneview-sdk/resource/api1000/synergy/interconnect.rb +22 -0
  86. data/lib/oneview-sdk/resource/api1000/synergy/lig_uplink_set.rb +21 -0
  87. data/lib/oneview-sdk/resource/api1000/synergy/logical_enclosure.rb +22 -0
  88. data/lib/oneview-sdk/resource/api1000/synergy/logical_interconnect.rb +32 -0
  89. data/lib/oneview-sdk/resource/api1000/synergy/logical_interconnect_group.rb +33 -0
  90. data/lib/oneview-sdk/resource/api1000/synergy/network_set.rb +22 -0
  91. data/lib/oneview-sdk/resource/api1000/synergy/os_deployment_plan.rb +22 -0
  92. data/lib/oneview-sdk/resource/api1000/synergy/sas_logical_interconnect_group.rb +22 -0
  93. data/lib/oneview-sdk/resource/api1000/synergy/scope.rb +22 -0
  94. data/lib/oneview-sdk/resource/api1000/synergy/server_certificate.rb +22 -0
  95. data/lib/oneview-sdk/resource/api1000/synergy/server_hardware.rb +32 -0
  96. data/lib/oneview-sdk/resource/api1000/synergy/server_hardware_type.rb +22 -0
  97. data/lib/oneview-sdk/resource/api1000/synergy/server_profile.rb +25 -0
  98. data/lib/oneview-sdk/resource/api1000/synergy/server_profile_template.rb +22 -0
  99. data/lib/oneview-sdk/resource/api1000/synergy/storage_pool.rb +22 -0
  100. data/lib/oneview-sdk/resource/api1000/synergy/storage_system.rb +22 -0
  101. data/lib/oneview-sdk/resource/api1000/synergy/uplink_set.rb +32 -0
  102. data/lib/oneview-sdk/resource/api1000/synergy/volume.rb +22 -0
  103. data/lib/oneview-sdk/resource/api1000/synergy/volume_attachment.rb +22 -0
  104. data/lib/oneview-sdk/resource/api1000/synergy/volume_template.rb +22 -0
  105. data/lib/oneview-sdk/resource/api1200.rb +66 -0
  106. data/lib/oneview-sdk/resource/api1200/c7000.rb +27 -0
  107. data/lib/oneview-sdk/resource/api1200/c7000/connection_template.rb +22 -0
  108. data/lib/oneview-sdk/resource/api1200/c7000/enclosure.rb +32 -0
  109. data/lib/oneview-sdk/resource/api1200/c7000/enclosure_group.rb +36 -0
  110. data/lib/oneview-sdk/resource/api1200/c7000/ethernet_network.rb +35 -0
  111. data/lib/oneview-sdk/resource/api1200/c7000/fc_network.rb +22 -0
  112. data/lib/oneview-sdk/resource/api1200/c7000/fcoe_network.rb +23 -0
  113. data/lib/oneview-sdk/resource/api1200/c7000/firmware_driver.rb +22 -0
  114. data/lib/oneview-sdk/resource/api1200/c7000/hypervisor_cluster_profile.rb +22 -0
  115. data/lib/oneview-sdk/resource/api1200/c7000/hypervisor_manager.rb +22 -0
  116. data/lib/oneview-sdk/resource/api1200/c7000/interconnect.rb +33 -0
  117. data/lib/oneview-sdk/resource/api1200/c7000/lig_uplink_set.rb +21 -0
  118. data/lib/oneview-sdk/resource/api1200/c7000/logical_enclosure.rb +22 -0
  119. data/lib/oneview-sdk/resource/api1200/c7000/logical_interconnect.rb +32 -0
  120. data/lib/oneview-sdk/resource/api1200/c7000/logical_interconnect_group.rb +32 -0
  121. data/lib/oneview-sdk/resource/api1200/c7000/network_set.rb +32 -0
  122. data/lib/oneview-sdk/resource/api1200/c7000/scope.rb +22 -0
  123. data/lib/oneview-sdk/resource/api1200/c7000/server_certificate.rb +22 -0
  124. data/lib/oneview-sdk/resource/api1200/c7000/server_hardware.rb +22 -0
  125. data/lib/oneview-sdk/resource/api1200/c7000/server_hardware_type.rb +22 -0
  126. data/lib/oneview-sdk/resource/api1200/c7000/server_profile.rb +32 -0
  127. data/lib/oneview-sdk/resource/api1200/c7000/server_profile_template.rb +33 -0
  128. data/lib/oneview-sdk/resource/api1200/c7000/storage_pool.rb +22 -0
  129. data/lib/oneview-sdk/resource/api1200/c7000/storage_system.rb +22 -0
  130. data/lib/oneview-sdk/resource/api1200/c7000/uplink_set.rb +32 -0
  131. data/lib/oneview-sdk/resource/api1200/c7000/volume.rb +22 -0
  132. data/lib/oneview-sdk/resource/api1200/c7000/volume_attachment.rb +22 -0
  133. data/lib/oneview-sdk/resource/api1200/c7000/volume_template.rb +22 -0
  134. data/lib/oneview-sdk/resource/api1200/synergy.rb +27 -0
  135. data/lib/oneview-sdk/resource/api1200/synergy/connection_template.rb +22 -0
  136. data/lib/oneview-sdk/resource/api1200/synergy/enclosure.rb +32 -0
  137. data/lib/oneview-sdk/resource/api1200/synergy/enclosure_group.rb +36 -0
  138. data/lib/oneview-sdk/resource/api1200/synergy/ethernet_network.rb +35 -0
  139. data/lib/oneview-sdk/resource/api1200/synergy/fc_network.rb +22 -0
  140. data/lib/oneview-sdk/resource/api1200/synergy/fcoe_network.rb +22 -0
  141. data/lib/oneview-sdk/resource/api1200/synergy/firmware_driver.rb +22 -0
  142. data/lib/oneview-sdk/resource/api1200/synergy/hypervisor_cluster_profile.rb +22 -0
  143. data/lib/oneview-sdk/resource/api1200/synergy/hypervisor_manager.rb +22 -0
  144. data/lib/oneview-sdk/resource/api1200/synergy/interconnect.rb +32 -0
  145. data/lib/oneview-sdk/resource/api1200/synergy/lig_uplink_set.rb +21 -0
  146. data/lib/oneview-sdk/resource/api1200/synergy/logical_enclosure.rb +22 -0
  147. data/lib/oneview-sdk/resource/api1200/synergy/logical_interconnect.rb +32 -0
  148. data/lib/oneview-sdk/resource/api1200/synergy/logical_interconnect_group.rb +32 -0
  149. data/lib/oneview-sdk/resource/api1200/synergy/network_set.rb +22 -0
  150. data/lib/oneview-sdk/resource/api1200/synergy/os_deployment_plan.rb +22 -0
  151. data/lib/oneview-sdk/resource/api1200/synergy/sas_logical_interconnect_group.rb +22 -0
  152. data/lib/oneview-sdk/resource/api1200/synergy/scope.rb +22 -0
  153. data/lib/oneview-sdk/resource/api1200/synergy/server_certificate.rb +22 -0
  154. data/lib/oneview-sdk/resource/api1200/synergy/server_hardware.rb +22 -0
  155. data/lib/oneview-sdk/resource/api1200/synergy/server_hardware_type.rb +22 -0
  156. data/lib/oneview-sdk/resource/api1200/synergy/server_profile.rb +25 -0
  157. data/lib/oneview-sdk/resource/api1200/synergy/server_profile_template.rb +22 -0
  158. data/lib/oneview-sdk/resource/api1200/synergy/storage_pool.rb +22 -0
  159. data/lib/oneview-sdk/resource/api1200/synergy/storage_system.rb +22 -0
  160. data/lib/oneview-sdk/resource/api1200/synergy/uplink_set.rb +32 -0
  161. data/lib/oneview-sdk/resource/api1200/synergy/volume.rb +22 -0
  162. data/lib/oneview-sdk/resource/api1200/synergy/volume_attachment.rb +22 -0
  163. data/lib/oneview-sdk/resource/api1200/synergy/volume_template.rb +22 -0
  164. data/lib/oneview-sdk/resource/api1600.rb +66 -0
  165. data/lib/oneview-sdk/resource/api1600/c7000.rb +27 -0
  166. data/lib/oneview-sdk/resource/api1600/c7000/enclosure.rb +22 -0
  167. data/lib/oneview-sdk/resource/api1600/c7000/enclosure_group.rb +22 -0
  168. data/lib/oneview-sdk/resource/api1600/c7000/ethernet_network.rb +22 -0
  169. data/lib/oneview-sdk/resource/api1600/c7000/fc_network.rb +22 -0
  170. data/lib/oneview-sdk/resource/api1600/c7000/fcoe_network.rb +23 -0
  171. data/lib/oneview-sdk/resource/api1600/c7000/hypervisor_cluster_profile.rb +36 -0
  172. data/lib/oneview-sdk/resource/api1600/c7000/hypervisor_manager.rb +22 -0
  173. data/lib/oneview-sdk/resource/api1600/c7000/interconnect.rb +26 -0
  174. data/lib/oneview-sdk/resource/api1600/c7000/logical_enclosure.rb +22 -0
  175. data/lib/oneview-sdk/resource/api1600/c7000/logical_interconnect.rb +32 -0
  176. data/lib/oneview-sdk/resource/api1600/c7000/logical_interconnect_group.rb +36 -0
  177. data/lib/oneview-sdk/resource/api1600/c7000/network_set.rb +22 -0
  178. data/lib/oneview-sdk/resource/api1600/c7000/scope.rb +22 -0
  179. data/lib/oneview-sdk/resource/api1600/c7000/server_certificate.rb +22 -0
  180. data/lib/oneview-sdk/resource/api1600/c7000/server_hardware.rb +22 -0
  181. data/lib/oneview-sdk/resource/api1600/c7000/server_hardware_type.rb +25 -0
  182. data/lib/oneview-sdk/resource/api1600/c7000/server_profile.rb +40 -0
  183. data/lib/oneview-sdk/resource/api1600/c7000/server_profile_template.rb +32 -0
  184. data/lib/oneview-sdk/resource/api1600/c7000/storage_pool.rb +22 -0
  185. data/lib/oneview-sdk/resource/api1600/c7000/storage_system.rb +22 -0
  186. data/lib/oneview-sdk/resource/api1600/c7000/uplink_set.rb +32 -0
  187. data/lib/oneview-sdk/resource/api1600/c7000/volume.rb +22 -0
  188. data/lib/oneview-sdk/resource/api1600/c7000/volume_attachment.rb +22 -0
  189. data/lib/oneview-sdk/resource/api1600/c7000/volume_template.rb +22 -0
  190. data/lib/oneview-sdk/resource/api1600/synergy.rb +27 -0
  191. data/lib/oneview-sdk/resource/api1600/synergy/enclosure.rb +22 -0
  192. data/lib/oneview-sdk/resource/api1600/synergy/enclosure_group.rb +22 -0
  193. data/lib/oneview-sdk/resource/api1600/synergy/ethernet_network.rb +22 -0
  194. data/lib/oneview-sdk/resource/api1600/synergy/fc_network.rb +22 -0
  195. data/lib/oneview-sdk/resource/api1600/synergy/fcoe_network.rb +22 -0
  196. data/lib/oneview-sdk/resource/api1600/synergy/hypervisor_cluster_profile.rb +22 -0
  197. data/lib/oneview-sdk/resource/api1600/synergy/hypervisor_manager.rb +22 -0
  198. data/lib/oneview-sdk/resource/api1600/synergy/interconnect.rb +25 -0
  199. data/lib/oneview-sdk/resource/api1600/synergy/logical_enclosure.rb +22 -0
  200. data/lib/oneview-sdk/resource/api1600/synergy/logical_interconnect.rb +32 -0
  201. data/lib/oneview-sdk/resource/api1600/synergy/logical_interconnect_group.rb +36 -0
  202. data/lib/oneview-sdk/resource/api1600/synergy/network_set.rb +22 -0
  203. data/lib/oneview-sdk/resource/api1600/synergy/os_deployment_plan.rb +22 -0
  204. data/lib/oneview-sdk/resource/api1600/synergy/scope.rb +22 -0
  205. data/lib/oneview-sdk/resource/api1600/synergy/server_certificate.rb +22 -0
  206. data/lib/oneview-sdk/resource/api1600/synergy/server_hardware.rb +22 -0
  207. data/lib/oneview-sdk/resource/api1600/synergy/server_hardware_type.rb +25 -0
  208. data/lib/oneview-sdk/resource/api1600/synergy/server_profile.rb +25 -0
  209. data/lib/oneview-sdk/resource/api1600/synergy/server_profile_template.rb +22 -0
  210. data/lib/oneview-sdk/resource/api1600/synergy/storage_pool.rb +22 -0
  211. data/lib/oneview-sdk/resource/api1600/synergy/storage_system.rb +22 -0
  212. data/lib/oneview-sdk/resource/api1600/synergy/uplink_set.rb +32 -0
  213. data/lib/oneview-sdk/resource/api1600/synergy/volume.rb +22 -0
  214. data/lib/oneview-sdk/resource/api1600/synergy/volume_attachment.rb +22 -0
  215. data/lib/oneview-sdk/resource/api1600/synergy/volume_template.rb +22 -0
  216. data/lib/oneview-sdk/resource/api600/c7000/server_certificate.rb +63 -0
  217. data/lib/oneview-sdk/resource/api600/synergy/logical_interconnect_group.rb +2 -2
  218. data/lib/oneview-sdk/resource/api600/synergy/server_certificate.rb +22 -0
  219. data/lib/oneview-sdk/resource/api800/c7000/connection_template.rb +22 -0
  220. data/lib/oneview-sdk/resource/api800/c7000/enclosure.rb +22 -0
  221. data/lib/oneview-sdk/resource/api800/c7000/fc_network.rb +22 -0
  222. data/lib/oneview-sdk/resource/api800/c7000/fcoe_network.rb +23 -0
  223. data/lib/oneview-sdk/resource/api800/c7000/firmware_driver.rb +22 -0
  224. data/lib/oneview-sdk/resource/api800/c7000/interconnect.rb +23 -0
  225. data/lib/oneview-sdk/resource/api800/c7000/lig_uplink_set.rb +21 -0
  226. data/lib/oneview-sdk/resource/api800/c7000/logical_enclosure.rb +22 -0
  227. data/lib/oneview-sdk/resource/api800/c7000/logical_interconnect.rb +32 -0
  228. data/lib/oneview-sdk/resource/api800/c7000/logical_interconnect_group.rb +32 -0
  229. data/lib/oneview-sdk/resource/api800/c7000/network_set.rb +22 -0
  230. data/lib/oneview-sdk/resource/api800/c7000/server_certificate.rb +22 -0
  231. data/lib/oneview-sdk/resource/api800/c7000/server_hardware.rb +22 -0
  232. data/lib/oneview-sdk/resource/api800/c7000/server_hardware_type.rb +10 -0
  233. data/lib/oneview-sdk/resource/api800/c7000/server_profile.rb +10 -0
  234. data/lib/oneview-sdk/resource/api800/c7000/storage_pool.rb +22 -0
  235. data/lib/oneview-sdk/resource/api800/c7000/storage_system.rb +22 -0
  236. data/lib/oneview-sdk/resource/api800/c7000/uplink_set.rb +22 -0
  237. data/lib/oneview-sdk/resource/api800/c7000/volume.rb +22 -0
  238. data/lib/oneview-sdk/resource/api800/c7000/volume_attachment.rb +22 -0
  239. data/lib/oneview-sdk/resource/api800/c7000/volume_template.rb +22 -0
  240. data/lib/oneview-sdk/resource/api800/synergy/connection_template.rb +22 -0
  241. data/lib/oneview-sdk/resource/api800/synergy/enclosure.rb +22 -0
  242. data/lib/oneview-sdk/resource/api800/synergy/fc_network.rb +22 -0
  243. data/lib/oneview-sdk/resource/api800/synergy/fcoe_network.rb +22 -0
  244. data/lib/oneview-sdk/resource/api800/synergy/firmware_driver.rb +22 -0
  245. data/lib/oneview-sdk/resource/api800/synergy/interconnect.rb +22 -0
  246. data/lib/oneview-sdk/resource/api800/synergy/lig_uplink_set.rb +21 -0
  247. data/lib/oneview-sdk/resource/api800/synergy/logical_enclosure.rb +22 -0
  248. data/lib/oneview-sdk/resource/api800/synergy/logical_interconnect.rb +32 -0
  249. data/lib/oneview-sdk/resource/api800/synergy/logical_interconnect_group.rb +33 -0
  250. data/lib/oneview-sdk/resource/api800/synergy/network_set.rb +22 -0
  251. data/lib/oneview-sdk/resource/api800/synergy/sas_logical_interconnect_group.rb +22 -0
  252. data/lib/oneview-sdk/resource/api800/synergy/server_certificate.rb +22 -0
  253. data/lib/oneview-sdk/resource/api800/synergy/server_hardware.rb +22 -0
  254. data/lib/oneview-sdk/resource/api800/synergy/server_hardware_type.rb +2 -2
  255. data/lib/oneview-sdk/resource/api800/synergy/server_profile.rb +1 -1
  256. data/lib/oneview-sdk/resource/api800/synergy/storage_pool.rb +22 -0
  257. data/lib/oneview-sdk/resource/api800/synergy/storage_system.rb +22 -0
  258. data/lib/oneview-sdk/resource/api800/synergy/uplink_set.rb +22 -0
  259. data/lib/oneview-sdk/resource/api800/synergy/volume.rb +22 -0
  260. data/lib/oneview-sdk/resource/api800/synergy/volume_attachment.rb +22 -0
  261. data/lib/oneview-sdk/resource/api800/synergy/volume_template.rb +22 -0
  262. data/lib/oneview-sdk/version.rb +2 -2
  263. data/oneview-sdk.gemspec +2 -2
  264. metadata +255 -7
@@ -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 '../c7000/volume_attachment'
13
+
14
+ module OneviewSDK
15
+ module API1600
16
+ module Synergy
17
+ # Storage Volume Attachment resource implementation for API1600 Synergy
18
+ class VolumeAttachment < OneviewSDK::API1600::C7000::VolumeAttachment
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 '../c7000/volume_template'
13
+
14
+ module OneviewSDK
15
+ module API1600
16
+ module Synergy
17
+ # Volume Template resource implementation for API1600 Synergy
18
+ class VolumeTemplate < OneviewSDK::API1600::C7000::VolumeTemplate
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,63 @@
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 API600
16
+ module C7000
17
+ # Server certificate resource implementation
18
+ class ServerCertificate < Resource
19
+ BASE_URI = '/rest/certificates/servers'.freeze
20
+ DEFAULT_REQUEST_HEADER = { 'requestername' => 'DEFAULT' }.freeze
21
+ CERT_URI = '/rest/certificates/https/remote/'.freeze
22
+ def initialize(client, param = {}, api_ver = nil)
23
+ # Default values
24
+ super
25
+ @data['uri'] ||= "#{self.class::BASE_URI}/#{@data['aliasName']}" if @data['aliasName']
26
+ @data['type'] ||= 'CertificateInfoV2'
27
+ end
28
+
29
+ def import
30
+ @data.delete('aliasName')
31
+ create
32
+ true
33
+ end
34
+
35
+ def delete(*)
36
+ unavailable_method
37
+ end
38
+
39
+ def retrieve!
40
+ response = @client.rest_get(self.class::BASE_URI + "/#{@data['aliasName']}")
41
+ body = @client.response_handler(response)
42
+ set_all(body)
43
+ true
44
+ end
45
+
46
+ def get_certificate
47
+ response = @client.rest_get(self.class::CERT_URI + "/#{@data['remoteIp']}")
48
+ body = @client.response_handler(response)
49
+ set_all(body)
50
+ body
51
+ end
52
+
53
+ def remove
54
+ header = DEFAULT_REQUEST_HEADER
55
+ response = @client.rest_delete(self.class::BASE_URI + "/#{@data['aliasName']}", header, @api_version)
56
+ body = @client.response_handler(response)
57
+ set_all(body)
58
+ true
59
+ end
60
+ end
61
+ end
62
+ end
63
+ end
@@ -9,13 +9,13 @@
9
9
  # CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
10
10
  # language governing permissions and limitations under the License.
11
11
 
12
- require_relative '../c7000/logical_interconnect_group'
12
+ require_relative '../../api500/synergy/logical_interconnect_group'
13
13
 
14
14
  module OneviewSDK
15
15
  module API600
16
16
  module Synergy
17
17
  # Logical interconnect group resource implementation for API600 Synergy
18
- class LogicalInterconnectGroup < OneviewSDK::API600::C7000::LogicalInterconnectGroup
18
+ class LogicalInterconnectGroup < OneviewSDK::API500::Synergy::LogicalInterconnectGroup
19
19
  end
20
20
  end
21
21
  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 '../../api600/c7000/server_certificate'
13
+
14
+ module OneviewSDK
15
+ module API600
16
+ module Synergy
17
+ # Server certificate resource implementation for API 600 Synergy
18
+ class ServerCertificate < OneviewSDK::API600::C7000::ServerCertificate
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,22 @@
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 '../../api600/c7000/connection_template'
13
+
14
+ module OneviewSDK
15
+ module API800
16
+ module C7000
17
+ # Connection template resource implementation for API800 C7000
18
+ class ConnectionTemplate < OneviewSDK::API600::C7000::ConnectionTemplate
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,22 @@
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 '../../api600/c7000/enclosure'
13
+
14
+ module OneviewSDK
15
+ module API800
16
+ module C7000
17
+ # Enclosure resource implementation for API800 C7000
18
+ class Enclosure < OneviewSDK::API600::C7000::Enclosure
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,22 @@
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 '../../api600/c7000/fc_network'
13
+
14
+ module OneviewSDK
15
+ module API800
16
+ module C7000
17
+ # FC network resource implementation for API800 C7000
18
+ class FCNetwork < OneviewSDK::API600::C7000::FCNetwork
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,23 @@
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 '../../api600/c7000/fcoe_network'
13
+
14
+ module OneviewSDK
15
+ module API800
16
+ module C7000
17
+ # FCoE network resource implementation for API800 C7000
18
+ class FCoENetwork < OneviewSDK::API600::C7000::FCoENetwork
19
+
20
+ end
21
+ end
22
+ end
23
+ 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 '../../api600/c7000/firmware_driver'
13
+
14
+ module OneviewSDK
15
+ module API800
16
+ module C7000
17
+ # FirmwareDriver resource implementation for API800 C7000
18
+ class FirmwareDriver < OneviewSDK::API600::C7000::FirmwareDriver
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,23 @@
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 '../../api600/c7000/interconnect'
13
+
14
+ module OneviewSDK
15
+ module API800
16
+ module C7000
17
+ # Interconnect resource implementation on API800 C7000
18
+ class Interconnect < OneviewSDK::API600::C7000::Interconnect
19
+ include OneviewSDK::ResourceHelper::ConfigurationOperation
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,21 @@
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 '../../api600/c7000/lig_uplink_set'
13
+
14
+ module OneviewSDK
15
+ module API800
16
+ module C7000
17
+ class LIGUplinkSet < OneviewSDK::API600::C7000::LIGUplinkSet
18
+ end
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,22 @@
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 '../../api600/c7000/logical_enclosure'
13
+
14
+ module OneviewSDK
15
+ module API800
16
+ module C7000
17
+ # Logical Enclosure resource implementation on API800 C7000
18
+ class LogicalEnclosure < OneviewSDK::API600::C7000::LogicalEnclosure
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,32 @@
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 '../../api600/c7000/logical_interconnect'
13
+
14
+ module OneviewSDK
15
+ module API800
16
+ module C7000
17
+ # Logical interconnect resource implementation for API800 C7000
18
+ class LogicalInterconnect < OneviewSDK::API600::C7000::LogicalInterconnect
19
+ # Create a resource object, associate it with a client, and set its properties.
20
+ # @param [OneviewSDK::Client] client The client object for the OneView appliance
21
+ # @param [Hash] params The options for this resource (key-value pairs)
22
+ # @param [Integer] api_ver The api version to use when interracting with this resource.
23
+ def initialize(client, params = {}, api_ver = nil)
24
+ @data ||= {}
25
+ # Default values:
26
+ @data['type'] ||= 'logical-interconnectV5'
27
+ super
28
+ end
29
+ end
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,32 @@
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 '../../api600/c7000/logical_interconnect_group'
13
+
14
+ module OneviewSDK
15
+ module API800
16
+ module C7000
17
+ # Logical interconnect group resource implementation on API800 C7000
18
+ class LogicalInterconnectGroup < OneviewSDK::API600::C7000::LogicalInterconnectGroup
19
+ # Create a resource object, associate it with a client, and set its properties.
20
+ # @param [OneviewSDK::Client] client The client object for the OneView appliance
21
+ # @param [Hash] params The options for this resource (key-value pairs)
22
+ # @param [Integer] api_ver The api version to use when interracting with this resource.
23
+ def initialize(client, params = {}, api_ver = nil)
24
+ @data ||= {}
25
+ # Default values:
26
+ @data['type'] ||= 'logical-interconnect-groupV5'
27
+ super
28
+ end
29
+ end
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,22 @@
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 '../../api600/c7000/network_set'
13
+
14
+ module OneviewSDK
15
+ module API800
16
+ module C7000
17
+ # Network set resource implementation for API800 C7000
18
+ class NetworkSet < OneviewSDK::API600::C7000::NetworkSet
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 '../../api600/c7000/server_certificate'
13
+
14
+ module OneviewSDK
15
+ module API800
16
+ module C7000
17
+ # Server certificate resource implementation for API800 C7000
18
+ class ServerCertificate < OneviewSDK::API600::C7000::ServerCertificate
19
+ end
20
+ end
21
+ end
22
+ end