oneview-sdk 5.15.0 → 6.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (332) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +205 -1
  3. data/Dockerfile +2 -2
  4. data/Gemfile +1 -0
  5. data/Guardfile +1 -1
  6. data/LICENSE +1 -1
  7. data/README.md +128 -109
  8. data/Rakefile +1 -1
  9. data/TESTING.md +1 -0
  10. data/bin/oneview-sdk-ruby +1 -0
  11. data/endpoints-support.md +309 -308
  12. data/lib/oneview-sdk.rb +2 -2
  13. data/lib/oneview-sdk/client.rb +2 -2
  14. data/lib/oneview-sdk/image-streamer/resource/api2000.rb +39 -0
  15. data/lib/oneview-sdk/image-streamer/resource/api2000/artifact_bundle.rb +22 -0
  16. data/lib/oneview-sdk/image-streamer/resource/api2000/build_plan.rb +22 -0
  17. data/lib/oneview-sdk/image-streamer/resource/api2000/deployment_group.rb +22 -0
  18. data/lib/oneview-sdk/image-streamer/resource/api2000/deployment_plan.rb +22 -0
  19. data/lib/oneview-sdk/image-streamer/resource/api2000/golden_image.rb +22 -0
  20. data/lib/oneview-sdk/image-streamer/resource/api2000/os_volume.rb +22 -0
  21. data/lib/oneview-sdk/image-streamer/resource/api2000/plan_script.rb +22 -0
  22. data/lib/oneview-sdk/image-streamer/resource/api2010.rb +39 -0
  23. data/lib/oneview-sdk/image-streamer/resource/api2010/artifact_bundle.rb +22 -0
  24. data/lib/oneview-sdk/image-streamer/resource/api2010/build_plan.rb +22 -0
  25. data/lib/oneview-sdk/image-streamer/resource/api2010/deployment_group.rb +22 -0
  26. data/lib/oneview-sdk/image-streamer/resource/api2010/deployment_plan.rb +22 -0
  27. data/lib/oneview-sdk/image-streamer/resource/api2010/golden_image.rb +22 -0
  28. data/lib/oneview-sdk/image-streamer/resource/api2010/os_volume.rb +22 -0
  29. data/lib/oneview-sdk/image-streamer/resource/api2010/plan_script.rb +22 -0
  30. data/lib/oneview-sdk/image-streamer/resource/api2020.rb +39 -0
  31. data/lib/oneview-sdk/image-streamer/resource/api2020/artifact_bundle.rb +22 -0
  32. data/lib/oneview-sdk/image-streamer/resource/api2020/build_plan.rb +22 -0
  33. data/lib/oneview-sdk/image-streamer/resource/api2020/deployment_group.rb +22 -0
  34. data/lib/oneview-sdk/image-streamer/resource/api2020/deployment_plan.rb +22 -0
  35. data/lib/oneview-sdk/image-streamer/resource/api2020/golden_image.rb +22 -0
  36. data/lib/oneview-sdk/image-streamer/resource/api2020/os_volume.rb +22 -0
  37. data/lib/oneview-sdk/image-streamer/resource/api2020/plan_script.rb +22 -0
  38. data/lib/oneview-sdk/image_streamer.rb +1 -1
  39. data/lib/oneview-sdk/resource.rb +1 -1
  40. data/lib/oneview-sdk/resource/api2000.rb +66 -0
  41. data/lib/oneview-sdk/resource/api2000/c7000.rb +27 -0
  42. data/lib/oneview-sdk/resource/api2000/c7000/connection_template.rb +22 -0
  43. data/lib/oneview-sdk/resource/api2000/c7000/enclosure.rb +22 -0
  44. data/lib/oneview-sdk/resource/api2000/c7000/enclosure_group.rb +22 -0
  45. data/lib/oneview-sdk/resource/api2000/c7000/ethernet_network.rb +22 -0
  46. data/lib/oneview-sdk/resource/api2000/c7000/fc_network.rb +22 -0
  47. data/lib/oneview-sdk/resource/api2000/c7000/fcoe_network.rb +22 -0
  48. data/lib/oneview-sdk/resource/api2000/c7000/firmware_driver.rb +22 -0
  49. data/lib/oneview-sdk/resource/api2000/c7000/hypervisor_cluster_profile.rb +22 -0
  50. data/lib/oneview-sdk/resource/api2000/c7000/hypervisor_manager.rb +22 -0
  51. data/lib/oneview-sdk/resource/api2000/c7000/interconnect.rb +26 -0
  52. data/lib/oneview-sdk/resource/api2000/c7000/lig_uplink_set.rb +21 -0
  53. data/lib/oneview-sdk/resource/api2000/c7000/logical_enclosure.rb +22 -0
  54. data/lib/oneview-sdk/resource/api2000/c7000/logical_interconnect.rb +33 -0
  55. data/lib/oneview-sdk/resource/api2000/c7000/logical_interconnect_group.rb +25 -0
  56. data/lib/oneview-sdk/resource/api2000/c7000/network_set.rb +22 -0
  57. data/lib/oneview-sdk/resource/api2000/c7000/scope.rb +22 -0
  58. data/lib/oneview-sdk/resource/api2000/c7000/server_certificate.rb +22 -0
  59. data/lib/oneview-sdk/resource/api2000/c7000/server_hardware.rb +22 -0
  60. data/lib/oneview-sdk/resource/api2000/c7000/server_hardware_type.rb +25 -0
  61. data/lib/oneview-sdk/resource/api2000/c7000/server_profile.rb +22 -0
  62. data/lib/oneview-sdk/resource/api2000/c7000/server_profile_template.rb +22 -0
  63. data/lib/oneview-sdk/resource/api2000/c7000/storage_pool.rb +22 -0
  64. data/lib/oneview-sdk/resource/api2000/c7000/storage_system.rb +22 -0
  65. data/lib/oneview-sdk/resource/api2000/c7000/uplink_set.rb +22 -0
  66. data/lib/oneview-sdk/resource/api2000/c7000/volume.rb +22 -0
  67. data/lib/oneview-sdk/resource/api2000/c7000/volume_attachment.rb +22 -0
  68. data/lib/oneview-sdk/resource/api2000/c7000/volume_template.rb +22 -0
  69. data/lib/oneview-sdk/resource/api2000/synergy.rb +27 -0
  70. data/lib/oneview-sdk/resource/api2000/synergy/connection_template.rb +22 -0
  71. data/lib/oneview-sdk/resource/api2000/synergy/enclosure.rb +22 -0
  72. data/lib/oneview-sdk/resource/api2000/synergy/enclosure_group.rb +22 -0
  73. data/lib/oneview-sdk/resource/api2000/synergy/ethernet_network.rb +22 -0
  74. data/lib/oneview-sdk/resource/api2000/synergy/fc_network.rb +22 -0
  75. data/lib/oneview-sdk/resource/api2000/synergy/fcoe_network.rb +22 -0
  76. data/lib/oneview-sdk/resource/api2000/synergy/firmware_driver.rb +22 -0
  77. data/lib/oneview-sdk/resource/api2000/synergy/hypervisor_cluster_profile.rb +22 -0
  78. data/lib/oneview-sdk/resource/api2000/synergy/hypervisor_manager.rb +22 -0
  79. data/lib/oneview-sdk/resource/api2000/synergy/interconnect.rb +25 -0
  80. data/lib/oneview-sdk/resource/api2000/synergy/lig_uplink_set.rb +21 -0
  81. data/lib/oneview-sdk/resource/api2000/synergy/logical_enclosure.rb +22 -0
  82. data/lib/oneview-sdk/resource/api2000/synergy/logical_interconnect.rb +22 -0
  83. data/lib/oneview-sdk/resource/api2000/synergy/logical_interconnect_group.rb +25 -0
  84. data/lib/oneview-sdk/resource/api2000/synergy/network_set.rb +22 -0
  85. data/lib/oneview-sdk/resource/api2000/synergy/os_deployment_plan.rb +22 -0
  86. data/lib/oneview-sdk/resource/api2000/synergy/scope.rb +22 -0
  87. data/lib/oneview-sdk/resource/api2000/synergy/server_certificate.rb +22 -0
  88. data/lib/oneview-sdk/resource/api2000/synergy/server_hardware.rb +22 -0
  89. data/lib/oneview-sdk/resource/api2000/synergy/server_hardware_type.rb +22 -0
  90. data/lib/oneview-sdk/resource/api2000/synergy/server_profile.rb +25 -0
  91. data/lib/oneview-sdk/resource/api2000/synergy/server_profile_template.rb +22 -0
  92. data/lib/oneview-sdk/resource/api2000/synergy/storage_pool.rb +22 -0
  93. data/lib/oneview-sdk/resource/api2000/synergy/storage_system.rb +22 -0
  94. data/lib/oneview-sdk/resource/api2000/synergy/uplink_set.rb +22 -0
  95. data/lib/oneview-sdk/resource/api2000/synergy/volume.rb +22 -0
  96. data/lib/oneview-sdk/resource/api2000/synergy/volume_attachment.rb +22 -0
  97. data/lib/oneview-sdk/resource/api2000/synergy/volume_template.rb +22 -0
  98. data/lib/oneview-sdk/resource/api2200.rb +66 -0
  99. data/lib/oneview-sdk/resource/api2200/c7000.rb +27 -0
  100. data/lib/oneview-sdk/resource/api2200/c7000/connection_template.rb +22 -0
  101. data/lib/oneview-sdk/resource/api2200/c7000/enclosure.rb +22 -0
  102. data/lib/oneview-sdk/resource/api2200/c7000/enclosure_group.rb +22 -0
  103. data/lib/oneview-sdk/resource/api2200/c7000/ethernet_network.rb +22 -0
  104. data/lib/oneview-sdk/resource/api2200/c7000/fc_network.rb +22 -0
  105. data/lib/oneview-sdk/resource/api2200/c7000/fcoe_network.rb +22 -0
  106. data/lib/oneview-sdk/resource/api2200/c7000/firmware_driver.rb +22 -0
  107. data/lib/oneview-sdk/resource/api2200/c7000/hypervisor_cluster_profile.rb +27 -0
  108. data/lib/oneview-sdk/resource/api2200/c7000/hypervisor_manager.rb +22 -0
  109. data/lib/oneview-sdk/resource/api2200/c7000/interconnect.rb +23 -0
  110. data/lib/oneview-sdk/resource/api2200/c7000/lig_uplink_set.rb +21 -0
  111. data/lib/oneview-sdk/resource/api2200/c7000/logical_enclosure.rb +22 -0
  112. data/lib/oneview-sdk/resource/api2200/c7000/logical_interconnect.rb +22 -0
  113. data/lib/oneview-sdk/resource/api2200/c7000/logical_interconnect_group.rb +22 -0
  114. data/lib/oneview-sdk/resource/api2200/c7000/network_set.rb +22 -0
  115. data/lib/oneview-sdk/resource/api2200/c7000/scope.rb +22 -0
  116. data/lib/oneview-sdk/resource/api2200/c7000/server_certificate.rb +22 -0
  117. data/lib/oneview-sdk/resource/api2200/c7000/server_hardware.rb +22 -0
  118. data/lib/oneview-sdk/resource/api2200/c7000/server_hardware_type.rb +22 -0
  119. data/lib/oneview-sdk/resource/api2200/c7000/server_profile.rb +22 -0
  120. data/lib/oneview-sdk/resource/api2200/c7000/server_profile_template.rb +22 -0
  121. data/lib/oneview-sdk/resource/api2200/c7000/storage_pool.rb +22 -0
  122. data/lib/oneview-sdk/resource/api2200/c7000/storage_system.rb +22 -0
  123. data/lib/oneview-sdk/resource/api2200/c7000/uplink_set.rb +22 -0
  124. data/lib/oneview-sdk/resource/api2200/c7000/volume.rb +22 -0
  125. data/lib/oneview-sdk/resource/api2200/c7000/volume_attachment.rb +22 -0
  126. data/lib/oneview-sdk/resource/api2200/c7000/volume_template.rb +22 -0
  127. data/lib/oneview-sdk/resource/api2200/synergy.rb +27 -0
  128. data/lib/oneview-sdk/resource/api2200/synergy/connection_template.rb +22 -0
  129. data/lib/oneview-sdk/resource/api2200/synergy/enclosure.rb +22 -0
  130. data/lib/oneview-sdk/resource/api2200/synergy/enclosure_group.rb +22 -0
  131. data/lib/oneview-sdk/resource/api2200/synergy/ethernet_network.rb +22 -0
  132. data/lib/oneview-sdk/resource/api2200/synergy/fc_network.rb +22 -0
  133. data/lib/oneview-sdk/resource/api2200/synergy/fcoe_network.rb +22 -0
  134. data/lib/oneview-sdk/resource/api2200/synergy/firmware_driver.rb +22 -0
  135. data/lib/oneview-sdk/resource/api2200/synergy/hypervisor_cluster_profile.rb +22 -0
  136. data/lib/oneview-sdk/resource/api2200/synergy/hypervisor_manager.rb +22 -0
  137. data/lib/oneview-sdk/resource/api2200/synergy/interconnect.rb +22 -0
  138. data/lib/oneview-sdk/resource/api2200/synergy/lig_uplink_set.rb +21 -0
  139. data/lib/oneview-sdk/resource/api2200/synergy/logical_enclosure.rb +22 -0
  140. data/lib/oneview-sdk/resource/api2200/synergy/logical_interconnect.rb +22 -0
  141. data/lib/oneview-sdk/resource/api2200/synergy/logical_interconnect_group.rb +22 -0
  142. data/lib/oneview-sdk/resource/api2200/synergy/network_set.rb +22 -0
  143. data/lib/oneview-sdk/resource/api2200/synergy/os_deployment_plan.rb +22 -0
  144. data/lib/oneview-sdk/resource/api2200/synergy/scope.rb +22 -0
  145. data/lib/oneview-sdk/resource/api2200/synergy/server_certificate.rb +22 -0
  146. data/lib/oneview-sdk/resource/api2200/synergy/server_hardware.rb +22 -0
  147. data/lib/oneview-sdk/resource/api2200/synergy/server_hardware_type.rb +22 -0
  148. data/lib/oneview-sdk/resource/api2200/synergy/server_profile.rb +25 -0
  149. data/lib/oneview-sdk/resource/api2200/synergy/server_profile_template.rb +22 -0
  150. data/lib/oneview-sdk/resource/api2200/synergy/storage_pool.rb +22 -0
  151. data/lib/oneview-sdk/resource/api2200/synergy/storage_system.rb +22 -0
  152. data/lib/oneview-sdk/resource/api2200/synergy/uplink_set.rb +22 -0
  153. data/lib/oneview-sdk/resource/api2200/synergy/volume.rb +22 -0
  154. data/lib/oneview-sdk/resource/api2200/synergy/volume_attachment.rb +22 -0
  155. data/lib/oneview-sdk/resource/api2200/synergy/volume_template.rb +22 -0
  156. data/lib/oneview-sdk/resource/api2400.rb +66 -0
  157. data/lib/oneview-sdk/resource/api2400/c7000.rb +27 -0
  158. data/lib/oneview-sdk/resource/api2400/c7000/connection_template.rb +22 -0
  159. data/lib/oneview-sdk/resource/api2400/c7000/enclosure.rb +22 -0
  160. data/lib/oneview-sdk/resource/api2400/c7000/enclosure_group.rb +22 -0
  161. data/lib/oneview-sdk/resource/api2400/c7000/ethernet_network.rb +22 -0
  162. data/lib/oneview-sdk/resource/api2400/c7000/fc_network.rb +22 -0
  163. data/lib/oneview-sdk/resource/api2400/c7000/fcoe_network.rb +22 -0
  164. data/lib/oneview-sdk/resource/api2400/c7000/firmware_driver.rb +22 -0
  165. data/lib/oneview-sdk/resource/api2400/c7000/hypervisor_cluster_profile.rb +22 -0
  166. data/lib/oneview-sdk/resource/api2400/c7000/hypervisor_manager.rb +22 -0
  167. data/lib/oneview-sdk/resource/api2400/c7000/interconnect.rb +22 -0
  168. data/lib/oneview-sdk/resource/api2400/c7000/lig_uplink_set.rb +21 -0
  169. data/lib/oneview-sdk/resource/api2400/c7000/logical_enclosure.rb +22 -0
  170. data/lib/oneview-sdk/resource/api2400/c7000/logical_interconnect.rb +33 -0
  171. data/lib/oneview-sdk/resource/api2400/c7000/logical_interconnect_group.rb +22 -0
  172. data/lib/oneview-sdk/resource/api2400/c7000/network_set.rb +22 -0
  173. data/lib/oneview-sdk/resource/api2400/c7000/scope.rb +22 -0
  174. data/lib/oneview-sdk/resource/api2400/c7000/server_certificate.rb +22 -0
  175. data/lib/oneview-sdk/resource/api2400/c7000/server_hardware.rb +22 -0
  176. data/lib/oneview-sdk/resource/api2400/c7000/server_hardware_type.rb +22 -0
  177. data/lib/oneview-sdk/resource/api2400/c7000/server_profile.rb +22 -0
  178. data/lib/oneview-sdk/resource/api2400/c7000/server_profile_template.rb +22 -0
  179. data/lib/oneview-sdk/resource/api2400/c7000/storage_pool.rb +22 -0
  180. data/lib/oneview-sdk/resource/api2400/c7000/storage_system.rb +22 -0
  181. data/lib/oneview-sdk/resource/api2400/c7000/uplink_set.rb +22 -0
  182. data/lib/oneview-sdk/resource/api2400/c7000/volume.rb +22 -0
  183. data/lib/oneview-sdk/resource/api2400/c7000/volume_attachment.rb +22 -0
  184. data/lib/oneview-sdk/resource/api2400/c7000/volume_template.rb +22 -0
  185. data/lib/oneview-sdk/resource/api2400/synergy.rb +27 -0
  186. data/lib/oneview-sdk/resource/api2400/synergy/connection_template.rb +22 -0
  187. data/lib/oneview-sdk/resource/api2400/synergy/enclosure.rb +22 -0
  188. data/lib/oneview-sdk/resource/api2400/synergy/enclosure_group.rb +22 -0
  189. data/lib/oneview-sdk/resource/api2400/synergy/ethernet_network.rb +22 -0
  190. data/lib/oneview-sdk/resource/api2400/synergy/fc_network.rb +22 -0
  191. data/lib/oneview-sdk/resource/api2400/synergy/fcoe_network.rb +22 -0
  192. data/lib/oneview-sdk/resource/api2400/synergy/firmware_driver.rb +22 -0
  193. data/lib/oneview-sdk/resource/api2400/synergy/hypervisor_cluster_profile.rb +22 -0
  194. data/lib/oneview-sdk/resource/api2400/synergy/hypervisor_manager.rb +22 -0
  195. data/lib/oneview-sdk/resource/api2400/synergy/interconnect.rb +22 -0
  196. data/lib/oneview-sdk/resource/api2400/synergy/lig_uplink_set.rb +21 -0
  197. data/lib/oneview-sdk/resource/api2400/synergy/logical_enclosure.rb +22 -0
  198. data/lib/oneview-sdk/resource/api2400/synergy/logical_interconnect.rb +22 -0
  199. data/lib/oneview-sdk/resource/api2400/synergy/logical_interconnect_group.rb +22 -0
  200. data/lib/oneview-sdk/resource/api2400/synergy/network_set.rb +22 -0
  201. data/lib/oneview-sdk/resource/api2400/synergy/os_deployment_plan.rb +22 -0
  202. data/lib/oneview-sdk/resource/api2400/synergy/scope.rb +22 -0
  203. data/lib/oneview-sdk/resource/api2400/synergy/server_certificate.rb +22 -0
  204. data/lib/oneview-sdk/resource/api2400/synergy/server_hardware.rb +22 -0
  205. data/lib/oneview-sdk/resource/api2400/synergy/server_hardware_type.rb +22 -0
  206. data/lib/oneview-sdk/resource/api2400/synergy/server_profile.rb +23 -0
  207. data/lib/oneview-sdk/resource/api2400/synergy/server_profile_template.rb +22 -0
  208. data/lib/oneview-sdk/resource/api2400/synergy/storage_pool.rb +22 -0
  209. data/lib/oneview-sdk/resource/api2400/synergy/storage_system.rb +22 -0
  210. data/lib/oneview-sdk/resource/api2400/synergy/uplink_set.rb +22 -0
  211. data/lib/oneview-sdk/resource/api2400/synergy/volume.rb +22 -0
  212. data/lib/oneview-sdk/resource/api2400/synergy/volume_attachment.rb +22 -0
  213. data/lib/oneview-sdk/resource/api2400/synergy/volume_template.rb +22 -0
  214. data/lib/oneview-sdk/resource/api2600.rb +66 -0
  215. data/lib/oneview-sdk/resource/api2600/c7000.rb +27 -0
  216. data/lib/oneview-sdk/resource/api2600/c7000/connection_template.rb +22 -0
  217. data/lib/oneview-sdk/resource/api2600/c7000/enclosure.rb +22 -0
  218. data/lib/oneview-sdk/resource/api2600/c7000/enclosure_group.rb +22 -0
  219. data/lib/oneview-sdk/resource/api2600/c7000/ethernet_network.rb +22 -0
  220. data/lib/oneview-sdk/resource/api2600/c7000/fc_network.rb +22 -0
  221. data/lib/oneview-sdk/resource/api2600/c7000/fcoe_network.rb +22 -0
  222. data/lib/oneview-sdk/resource/api2600/c7000/firmware_driver.rb +22 -0
  223. data/lib/oneview-sdk/resource/api2600/c7000/hypervisor_cluster_profile.rb +22 -0
  224. data/lib/oneview-sdk/resource/api2600/c7000/hypervisor_manager.rb +22 -0
  225. data/lib/oneview-sdk/resource/api2600/c7000/interconnect.rb +22 -0
  226. data/lib/oneview-sdk/resource/api2600/c7000/lig_uplink_set.rb +21 -0
  227. data/lib/oneview-sdk/resource/api2600/c7000/logical_enclosure.rb +22 -0
  228. data/lib/oneview-sdk/resource/api2600/c7000/logical_interconnect.rb +22 -0
  229. data/lib/oneview-sdk/resource/api2600/c7000/logical_interconnect_group.rb +22 -0
  230. data/lib/oneview-sdk/resource/api2600/c7000/network_set.rb +22 -0
  231. data/lib/oneview-sdk/resource/api2600/c7000/scope.rb +22 -0
  232. data/lib/oneview-sdk/resource/api2600/c7000/server_certificate.rb +22 -0
  233. data/lib/oneview-sdk/resource/api2600/c7000/server_hardware.rb +22 -0
  234. data/lib/oneview-sdk/resource/api2600/c7000/server_hardware_type.rb +22 -0
  235. data/lib/oneview-sdk/resource/api2600/c7000/server_profile.rb +22 -0
  236. data/lib/oneview-sdk/resource/api2600/c7000/server_profile_template.rb +22 -0
  237. data/lib/oneview-sdk/resource/api2600/c7000/storage_pool.rb +22 -0
  238. data/lib/oneview-sdk/resource/api2600/c7000/storage_system.rb +22 -0
  239. data/lib/oneview-sdk/resource/api2600/c7000/uplink_set.rb +22 -0
  240. data/lib/oneview-sdk/resource/api2600/c7000/volume.rb +22 -0
  241. data/lib/oneview-sdk/resource/api2600/c7000/volume_attachment.rb +22 -0
  242. data/lib/oneview-sdk/resource/api2600/c7000/volume_template.rb +22 -0
  243. data/lib/oneview-sdk/resource/api2600/synergy.rb +27 -0
  244. data/lib/oneview-sdk/resource/api2600/synergy/connection_template.rb +22 -0
  245. data/lib/oneview-sdk/resource/api2600/synergy/enclosure.rb +22 -0
  246. data/lib/oneview-sdk/resource/api2600/synergy/enclosure_group.rb +22 -0
  247. data/lib/oneview-sdk/resource/api2600/synergy/ethernet_network.rb +22 -0
  248. data/lib/oneview-sdk/resource/api2600/synergy/fc_network.rb +22 -0
  249. data/lib/oneview-sdk/resource/api2600/synergy/fcoe_network.rb +22 -0
  250. data/lib/oneview-sdk/resource/api2600/synergy/firmware_driver.rb +22 -0
  251. data/lib/oneview-sdk/resource/api2600/synergy/hypervisor_cluster_profile.rb +22 -0
  252. data/lib/oneview-sdk/resource/api2600/synergy/hypervisor_manager.rb +22 -0
  253. data/lib/oneview-sdk/resource/api2600/synergy/interconnect.rb +22 -0
  254. data/lib/oneview-sdk/resource/api2600/synergy/lig_uplink_set.rb +21 -0
  255. data/lib/oneview-sdk/resource/api2600/synergy/logical_enclosure.rb +22 -0
  256. data/lib/oneview-sdk/resource/api2600/synergy/logical_interconnect.rb +22 -0
  257. data/lib/oneview-sdk/resource/api2600/synergy/logical_interconnect_group.rb +22 -0
  258. data/lib/oneview-sdk/resource/api2600/synergy/network_set.rb +22 -0
  259. data/lib/oneview-sdk/resource/api2600/synergy/os_deployment_plan.rb +22 -0
  260. data/lib/oneview-sdk/resource/api2600/synergy/scope.rb +22 -0
  261. data/lib/oneview-sdk/resource/api2600/synergy/server_certificate.rb +22 -0
  262. data/lib/oneview-sdk/resource/api2600/synergy/server_hardware.rb +22 -0
  263. data/lib/oneview-sdk/resource/api2600/synergy/server_hardware_type.rb +22 -0
  264. data/lib/oneview-sdk/resource/api2600/synergy/server_profile.rb +23 -0
  265. data/lib/oneview-sdk/resource/api2600/synergy/server_profile_template.rb +22 -0
  266. data/lib/oneview-sdk/resource/api2600/synergy/storage_pool.rb +22 -0
  267. data/lib/oneview-sdk/resource/api2600/synergy/storage_system.rb +22 -0
  268. data/lib/oneview-sdk/resource/api2600/synergy/uplink_set.rb +22 -0
  269. data/lib/oneview-sdk/resource/api2600/synergy/volume.rb +22 -0
  270. data/lib/oneview-sdk/resource/api2600/synergy/volume_attachment.rb +22 -0
  271. data/lib/oneview-sdk/resource/api2600/synergy/volume_template.rb +22 -0
  272. data/lib/oneview-sdk/resource/api2800.rb +66 -0
  273. data/lib/oneview-sdk/resource/api2800/c7000.rb +27 -0
  274. data/lib/oneview-sdk/resource/api2800/c7000/connection_template.rb +22 -0
  275. data/lib/oneview-sdk/resource/api2800/c7000/enclosure.rb +22 -0
  276. data/lib/oneview-sdk/resource/api2800/c7000/enclosure_group.rb +22 -0
  277. data/lib/oneview-sdk/resource/api2800/c7000/ethernet_network.rb +22 -0
  278. data/lib/oneview-sdk/resource/api2800/c7000/fc_network.rb +22 -0
  279. data/lib/oneview-sdk/resource/api2800/c7000/fcoe_network.rb +22 -0
  280. data/lib/oneview-sdk/resource/api2800/c7000/firmware_driver.rb +22 -0
  281. data/lib/oneview-sdk/resource/api2800/c7000/hypervisor_cluster_profile.rb +22 -0
  282. data/lib/oneview-sdk/resource/api2800/c7000/hypervisor_manager.rb +22 -0
  283. data/lib/oneview-sdk/resource/api2800/c7000/interconnect.rb +22 -0
  284. data/lib/oneview-sdk/resource/api2800/c7000/lig_uplink_set.rb +21 -0
  285. data/lib/oneview-sdk/resource/api2800/c7000/logical_enclosure.rb +22 -0
  286. data/lib/oneview-sdk/resource/api2800/c7000/logical_interconnect.rb +22 -0
  287. data/lib/oneview-sdk/resource/api2800/c7000/logical_interconnect_group.rb +22 -0
  288. data/lib/oneview-sdk/resource/api2800/c7000/network_set.rb +22 -0
  289. data/lib/oneview-sdk/resource/api2800/c7000/scope.rb +22 -0
  290. data/lib/oneview-sdk/resource/api2800/c7000/server_certificate.rb +22 -0
  291. data/lib/oneview-sdk/resource/api2800/c7000/server_hardware.rb +22 -0
  292. data/lib/oneview-sdk/resource/api2800/c7000/server_hardware_type.rb +22 -0
  293. data/lib/oneview-sdk/resource/api2800/c7000/server_profile.rb +22 -0
  294. data/lib/oneview-sdk/resource/api2800/c7000/server_profile_template.rb +22 -0
  295. data/lib/oneview-sdk/resource/api2800/c7000/storage_pool.rb +22 -0
  296. data/lib/oneview-sdk/resource/api2800/c7000/storage_system.rb +22 -0
  297. data/lib/oneview-sdk/resource/api2800/c7000/uplink_set.rb +22 -0
  298. data/lib/oneview-sdk/resource/api2800/c7000/volume.rb +22 -0
  299. data/lib/oneview-sdk/resource/api2800/c7000/volume_attachment.rb +22 -0
  300. data/lib/oneview-sdk/resource/api2800/c7000/volume_template.rb +22 -0
  301. data/lib/oneview-sdk/resource/api2800/synergy.rb +27 -0
  302. data/lib/oneview-sdk/resource/api2800/synergy/connection_template.rb +22 -0
  303. data/lib/oneview-sdk/resource/api2800/synergy/enclosure.rb +22 -0
  304. data/lib/oneview-sdk/resource/api2800/synergy/enclosure_group.rb +22 -0
  305. data/lib/oneview-sdk/resource/api2800/synergy/ethernet_network.rb +22 -0
  306. data/lib/oneview-sdk/resource/api2800/synergy/fc_network.rb +22 -0
  307. data/lib/oneview-sdk/resource/api2800/synergy/fcoe_network.rb +22 -0
  308. data/lib/oneview-sdk/resource/api2800/synergy/firmware_driver.rb +22 -0
  309. data/lib/oneview-sdk/resource/api2800/synergy/hypervisor_cluster_profile.rb +22 -0
  310. data/lib/oneview-sdk/resource/api2800/synergy/hypervisor_manager.rb +22 -0
  311. data/lib/oneview-sdk/resource/api2800/synergy/interconnect.rb +22 -0
  312. data/lib/oneview-sdk/resource/api2800/synergy/lig_uplink_set.rb +21 -0
  313. data/lib/oneview-sdk/resource/api2800/synergy/logical_enclosure.rb +22 -0
  314. data/lib/oneview-sdk/resource/api2800/synergy/logical_interconnect.rb +22 -0
  315. data/lib/oneview-sdk/resource/api2800/synergy/logical_interconnect_group.rb +22 -0
  316. data/lib/oneview-sdk/resource/api2800/synergy/network_set.rb +22 -0
  317. data/lib/oneview-sdk/resource/api2800/synergy/os_deployment_plan.rb +22 -0
  318. data/lib/oneview-sdk/resource/api2800/synergy/scope.rb +22 -0
  319. data/lib/oneview-sdk/resource/api2800/synergy/server_certificate.rb +22 -0
  320. data/lib/oneview-sdk/resource/api2800/synergy/server_hardware.rb +22 -0
  321. data/lib/oneview-sdk/resource/api2800/synergy/server_hardware_type.rb +22 -0
  322. data/lib/oneview-sdk/resource/api2800/synergy/server_profile.rb +23 -0
  323. data/lib/oneview-sdk/resource/api2800/synergy/server_profile_template.rb +22 -0
  324. data/lib/oneview-sdk/resource/api2800/synergy/storage_pool.rb +22 -0
  325. data/lib/oneview-sdk/resource/api2800/synergy/storage_system.rb +22 -0
  326. data/lib/oneview-sdk/resource/api2800/synergy/uplink_set.rb +22 -0
  327. data/lib/oneview-sdk/resource/api2800/synergy/volume.rb +22 -0
  328. data/lib/oneview-sdk/resource/api2800/synergy/volume_attachment.rb +22 -0
  329. data/lib/oneview-sdk/resource/api2800/synergy/volume_template.rb +22 -0
  330. data/lib/oneview-sdk/version.rb +2 -2
  331. data/oneview-sdk.gemspec +2 -2
  332. metadata +318 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d1fde9063458328f13b858e18c6bd5851d0d5884c8b218507d7ea4251408cc01
4
- data.tar.gz: b72a924ee7c6d1ed1602e965c80eb9c8fab1b4990485ef140373db9a846b6603
3
+ metadata.gz: 6083c5e51b329b3c39ae20415286c7ba89fa256550cc4ee0afc6c8b7a2bd862f
4
+ data.tar.gz: 473fc371472b61de2d5822322a3d3767b4b0d6629235754209113e86075528b6
5
5
  SHA512:
6
- metadata.gz: ee6f50f271dacf5670a02e8da8588ad733ca47750d4dcbf1be5184325f6595f6c652dec100bc0dabfb699a3ac996cf68a8cb0547b71a813f2dc7fc8d9071cb2f
7
- data.tar.gz: d39fdf65702944a38bea25b574bd29b37b59f88f4448f766be9de56e4cc7c8bd424930de04935eda20b95f1e7d1aac71a3742027c60cf469091cdc70b9bb2d86
6
+ metadata.gz: 3bcf36a06bf907a30b0e5574294fbc958dbd01d73f95ac316cc79a92021ffb6dd944e952a717c41a9e354db3a682a12ed76fd01e5d540c80320426d2c9b1c61b
7
+ data.tar.gz: c235ac20daecff731b32db3229c0405ae5d4379d0096dd703709a0b5f0cbb6cf606d18bc0cbf0e7439d653eea33ee174244c546ca7f5b7faa6ac9888e7003592
data/CHANGELOG.md CHANGED
@@ -1,3 +1,207 @@
1
+ ## 6.1.0
2
+ #### Notes
3
+ Extends support of the SDK to OneView REST API version 2800 (OneView v6.10) and ImageStreamer REST API version 2020 (I3S v6.10).
4
+
5
+ #### Features supported
6
+ - Artifact Bundle
7
+ - Build Plan
8
+ - Connection Template
9
+ - Deployment Group
10
+ - Deployment Plan
11
+ - Enclosure
12
+ - Enclosure Group
13
+ - Ethernet Network
14
+ - FC Network
15
+ - FCOE Network
16
+ - Firmware Driver
17
+ - Golden Image
18
+ - Hypervisor Cluster Profile
19
+ - Hypervisor Manager
20
+ - Interconnects
21
+ - Interconnect Type
22
+ - LIG Uplink Set
23
+ - Logical Enclosure
24
+ - Logical Interconnect
25
+ - Logical Interconnect Group
26
+ - Network Set
27
+ - OS Deployment Plan
28
+ - OS Volume
29
+ - Plan Script
30
+ - Scope
31
+ - Server Certificate
32
+ - Server Hardware
33
+ - Server Hardware Type
34
+ - Server Profile
35
+ - Server Profile Template
36
+ - Storage Pool
37
+ - Storage System
38
+ - Uplink Set
39
+ - Volume
40
+ - Volume Attachment
41
+ - Volume Template
42
+
43
+ ## 6.0.0
44
+ #### Notes
45
+ Extends support of the SDK to OneView REST API version 2600 (OneView v6.00) and ImageStreamer REST API version 2010 (I3S v6.00).
46
+
47
+ #### Features supported
48
+ - Artifact Bundle
49
+ - Build Plan
50
+ - Connection Template
51
+ - Deployment Group
52
+ - Deployment Plan
53
+ - Enclosure
54
+ - Enclosure Group
55
+ - Ethernet Network
56
+ - FC Network
57
+ - FCOE Network
58
+ - Firmware Driver
59
+ - Golden Image
60
+ - Hypervisor Cluster Profile
61
+ - Hypervisor Manager
62
+ - Interconnects
63
+ - Interconnect Type
64
+ - LIG Uplink Set
65
+ - Logical Enclosure
66
+ - Logical Interconnect
67
+ - Logical Interconnect Group
68
+ - Network Set
69
+ - OS Deployment Plan
70
+ - OS Volume
71
+ - Plan Script
72
+ - Scope
73
+ - Server Certificate
74
+ - Server Hardware
75
+ - Server Hardware Type
76
+ - Server Profile
77
+ - Server Profile Template
78
+ - Storage Pool
79
+ - Storage System
80
+ - Uplink Set
81
+ - Volume
82
+ - Volume Attachment
83
+ - Volume Template
84
+
85
+ ## v5.18.0
86
+ #### Notes
87
+ Extends support of the SDK to OneView REST API version 2400 (OneView v5.60).
88
+
89
+ #### Features supported
90
+ - Connection Template
91
+ - Enclosure
92
+ - Enclosure Group
93
+ - Ethernet Network
94
+ - FC Network
95
+ - FCOE Network
96
+ - Firmware Driver
97
+ - Hypervisor Cluster Profile
98
+ - Hypervisor Manager
99
+ - Interconnects
100
+ - Interconnect Type
101
+ - LIG Uplink Set
102
+ - Logical Enclosure
103
+ - Logical Interconnect
104
+ - Logical Interconnect Group
105
+ - Network Set
106
+ - OS Deployment Plan
107
+ - Scope
108
+ - Server Certificate
109
+ - Server Hardware
110
+ - Server Hardware Type
111
+ - Storage Pool
112
+ - Server Profile
113
+ - Server Profile Template
114
+ - Storage System
115
+ - Uplink Set
116
+ - Volume
117
+ - Volume Attachment
118
+ - Volume Template
119
+
120
+ ## v5.17.0
121
+ #### Notes
122
+ Extends support of the SDK to OneView REST API version 2200 (OneView v5.50) and ImageStreamer REST API version 2000 (I3S v5.40).
123
+
124
+ #### Bug fixes & Enhancements
125
+ - [#473](https://github.com/HewlettPackard/oneview-sdk-ruby/issues/473)Failing to install oneview-sdk gem as runtime environment
126
+
127
+ #### Features supported
128
+ - Artifact Bundle
129
+ - Build Plan
130
+ - Connection Template
131
+ - Deployment Group
132
+ - Deployment Plan
133
+ - Enclosure
134
+ - Enclosure Group
135
+ - Ethernet Network
136
+ - FC Network
137
+ - FCOE Network
138
+ - Firmware Driver
139
+ - Golden Image
140
+ - Hypervisor Cluster Profile
141
+ - Hypervisor Manager
142
+ - Interconnects
143
+ - Interconnect Type
144
+ - LIG Uplink Set
145
+ - Logical Enclosure
146
+ - Logical Interconnect
147
+ - Logical Interconnect Group
148
+ - Network Set
149
+ - OS Deployment Plan
150
+ - OS Volume
151
+ - Plan Script
152
+ - Scope
153
+ - Server Certificate
154
+ - Server Hardware
155
+ - Server Hardware Type
156
+ - Storage Pool
157
+ - Server Profile
158
+ - Server Profile Template
159
+ - Storage System
160
+ - Uplink Set
161
+ - Volume
162
+ - Volume Attachment
163
+ - Volume Template
164
+
165
+ ## v5.16.0
166
+
167
+ #### Notes
168
+ This release extends support to OneView Rest API version 2000 (OneView v5.40) for the hardware variants C7000 and Synergy to the following features:
169
+
170
+ #### Features supported
171
+ - Connection Template
172
+ - Enclosure
173
+ - Enclosure Group
174
+ - Ethernet Network
175
+ - FC Network
176
+ - FCOE Network
177
+ - Firmware Driver
178
+ - Hypervisor Cluster Profile
179
+ - Hypervisor Manager
180
+ - Interconnect
181
+ - Interconnect Type
182
+ - LIG Uplink Set
183
+ - Logical Enclosure
184
+ - Logical Interconnect
185
+ - Logical Interconnect Group
186
+ - Network Set
187
+ - OS Deployment Plan
188
+ - Scope
189
+ - Server Certificate
190
+ - Server Hardware
191
+ - Server Hardware Type
192
+ - Server Profile
193
+ - Server Profile Template
194
+ - Storage Pool
195
+ - Storage System
196
+ - Uplink Set
197
+ - Volume
198
+ - Volume Attachment
199
+ - Volume Template
200
+
201
+ #### Bug fixes & Enhancements:
202
+ - Enhanced the method to set the default API version to appliance's max API version instead of hardcoded 200.
203
+ - Added an automation to upload package to Gems followed with uploading a new image to DockerHub when there is a new release in GitHub
204
+
1
205
  ## v5.15.0
2
206
 
3
207
  #### Notes
@@ -27,7 +231,7 @@ This release extends support to OneView Rest API version 1800 (OneView v5.30) fo
27
231
  - Hypervisor Manager
28
232
  - Interconnects
29
233
  - Interconnect Types
30
- - LIG UplinkSet
234
+ - LIG Uplink Set
31
235
  - Logical Enclosure
32
236
  - Logical Interconnect
33
237
  - Logical Interconnect Group
data/Dockerfile CHANGED
@@ -9,8 +9,8 @@ RUN apt-get update -y && \
9
9
  RUN gem install oneview
10
10
  ADD . oneview/
11
11
  WORKDIR /root/oneview
12
- RUN gem install bundler
13
- RUN bundle update
12
+ RUN gem install bundler -v "$(grep -A 1 "BUNDLED WITH" Gemfile.lock | tail -n 1)"
13
+ RUN bundle install
14
14
 
15
15
  # Clean and remove not required packages
16
16
  RUN DEBIAN_FRONTEND=noninteractive \
data/Gemfile CHANGED
@@ -2,6 +2,7 @@ source 'https://rubygems.org'
2
2
  ruby RUBY_VERSION
3
3
  gemspec
4
4
 
5
+
5
6
  begin
6
7
  if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.3.1')
7
8
  group :development do
data/Guardfile CHANGED
@@ -1,4 +1,4 @@
1
- # (c) Copyright 2017 Hewlett Packard Enterprise Development LP
1
+ # (c) Copyright 2021 Hewlett Packard Enterprise Development LP
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
data/LICENSE CHANGED
@@ -175,7 +175,7 @@ of your accepting any such warranty or additional liability.
175
175
 
176
176
  END OF TERMS AND CONDITIONS
177
177
 
178
- APPENDIX: How to apply the Apache License to your work.
178
+ APPENDIX: How to apply the Apache License to your work.
179
179
 
180
180
  To apply the Apache License to your work, attach the following
181
181
  boilerplate notice, with the fields enclosed by brackets "{}"
data/README.md CHANGED
@@ -1,34 +1,50 @@
1
- # oneview-sdk for Ruby
2
- [![Gem Version](https://badge.fury.io/rb/oneview-sdk.svg)](https://badge.fury.io/rb/oneview-sdk)
3
- [![Yard Docs](https://img.shields.io/badge/yard-docs-yellow.svg)](http://www.rubydoc.info/gems/oneview-sdk)
1
+ # HPE OneView SDK for Ruby
4
2
 
5
- [![Build Status](https://travis-ci.org/HewlettPackard/oneview-sdk-ruby.svg?branch=master)](https://travis-ci.org/HewlettPackard/oneview-sdk-ruby)
6
- [![Coverage Status](https://coveralls.io/repos/github/HewlettPackard/oneview-sdk-ruby/badge.svg)](https://coveralls.io/github/HewlettPackard/oneview-sdk-ruby)
7
- [![Code Climate](https://codeclimate.com/github/HewlettPackard/oneview-sdk-ruby/badges/gpa.svg)](https://codeclimate.com/github/HewlettPackard/oneview-sdk-ruby)
3
+ ## Build Status
8
4
 
9
- The OneView SDK provides a Ruby library to easily interact with HPE OneView and Image Streamer APIs. The Ruby SDK enables developers to easily build integrations and scalable solutions with HPE OneView and Image Streamer.
5
+ OV Version | 6.10 | 6.00 | 5.60 | 5.50 | 5.40 |
6
+ | ------------- |:-------------:| :-------------:| :-------------:| :-------------:| :-------------:|
7
+ SDK Version/Tag | [v6.1.0](https://github.com/HewlettPackard/oneview-sdk-ruby/releases/tag/v6.1.0) | [v6.0.0](https://github.com/HewlettPackard/oneview-sdk-ruby/releases/tag/v6.0.0) | [v5.18.0](https://github.com/HewlettPackard/oneview-sdk-ruby/releases/tag/v5.18.0) | [v5.17.0](https://github.com/HewlettPackard/oneview-sdk-ruby/releases/tag/v5.17.0) | [v5.16.0](https://github.com/HewlettPackard/oneview-sdk-ruby/releases/tag/v5.16.0) |
8
+ Build Status | [![Build status](https://action-badges.now.sh/JasonEtco/action-badges)](https://github.com/HewlettPackard/oneview-sdk-ruby/actions/runs/769868941)| [![Build status](https://action-badges.now.sh/JasonEtco/action-badges)](https://github.com/HewlettPackard/oneview-sdk-ruby/actions/runs/634796649)| [![Build status](https://action-badges.now.sh/JasonEtco/action-badges)](https://github.com/HewlettPackard/oneview-sdk-ruby/actions/runs/519793086)| [![Build status](https://action-badges.now.sh/JasonEtco/action-badges)](https://github.com/HewlettPackard/oneview-sdk-ruby/actions/runs/349360042)|[![Build status](https://action-badges.now.sh/JasonEtco/action-badges)](https://github.com/HewlettPackard/oneview-sdk-ruby/actions/runs/343154951)|
9
+
10
+
11
+ ## Introduction
12
+
13
+ HPE OneView makes it simple to deploy and manage today’s complex hybrid cloud infrastructure. HPE OneView can help you transform your data center to software-defined, and it supports HPE’s broad portfolio of servers, storage, and networking solutions, ensuring the simple and automated management of your hybrid infrastructure. Software-defined intelligence enables a template-driven approach for deploying, provisioning, updating, and integrating compute, storage, and networking infrastructure.
14
+
15
+ The HPE OneView Ruby SDK provides library to easily interact with HPE OneView and HPE Image Streamer REST APIs. The HPE OneView Ruby SDK enables developers to easily build integrations and scalable solutions with HPE OneView and HPE Image Streamer.
16
+
17
+ You can find the latest supported HPE OneView Ruby SDK [here](https://github.com/HewlettPackard/oneview-sdk-ruby/releases/latest)
18
+
19
+ ## What's New
20
+
21
+ HPE OneView Ruby library extends support of the SDK to OneView REST API version 2800 (OneView v6.10)
22
+
23
+ Please refer to [notes](https://github.com/HewlettPackard/oneview-sdk-ruby/blob/master/CHANGELOG.md) for more information on the changes , features supported and issues fixed in this version
24
+
25
+ ## Getting Started
26
+
27
+ ## Installation and Configuration
10
28
 
11
29
  ## Installation
12
- You can either use a docker container which will have the oneview-sdk-ruby installed or perform local installation.
30
+ HPE OneView SDK for Ruby can be installed from Source and Docker container installation methods.You can either use a docker container which will have the HPE OneView SDK for Ruby installed or perform local installation.
31
+
13
32
  ### Docker Setup
14
- We also provide a lightweight and easy way to test and execute `oneview-sdk-ruby`. The `hpe-oneview-sdk-for-ruby:<tag>` docker image contains
15
- an installation of oneview-sdk-ruby and you can use it by just pulling down the Docker Image:
16
- The Docker Store image tag consist of two sections: <sdk_version-OV_version>
33
+ The light weight containerized version of the HPE OneView SDK for Ruby is available in the [Docker Store](https://store.docker.com/community/images/hewlettpackardenterprise/hpe-oneview-sdk-for-ruby). The Docker Store image tag consist of two sections: <sdk_version-OV_version>
17
34
 
18
35
  ```bash
19
- # Download and store a local copy of oneview-sdk-ruby and
20
- # use it as a Docker image.
21
- $ docker pull hewlettpackardenterprise/hpe-oneview-sdk-for-ruby:v5.15.0-OV5.3
22
- # Run docker commands below given, which will in turn create
23
- # a sh session where you can create files, issue commands and execute the examples.
24
- $ docker run -it hewlettpackardenterprise/hpe-oneview-sdk-for-ruby:v5.15.0-OV5.3 /bin/sh
36
+ # Download and store a local copy of oneview-sdk-ruby and use it as a Docker Image.
37
+ $ docker pull hewlettpackardenterprise/hpe-oneview-sdk-for-ruby:v6.1.0-OV6.1
38
+ # Run docker commands below given, which will in turn create a sh session
39
+ # where you can create files, issue commands and execute the examples.
40
+ $ docker run -it hewlettpackardenterprise/hpe-oneview-sdk-for-ruby:v6.1.0-OV6.1 /bin/sh
25
41
  ```
26
42
 
27
43
  ### Local Setup
28
- - Require the gem in your Gemfile:
44
+ - Local installation requires the gem in your Gemfile:
29
45
 
30
46
  ```ruby
31
- gem 'oneview-sdk', '~> 5.3'
47
+ gem 'oneview-sdk', '~> 6.1.0'
32
48
  ```
33
49
 
34
50
  Then run `$ bundle install`
@@ -40,7 +56,9 @@ $ docker run -it hewlettpackardenterprise/hpe-oneview-sdk-for-ruby:v5.15.0-OV5.3
40
56
 
41
57
 
42
58
  ## Configuration
43
- The OneView client has a few configuration options, which you can pass in during creation:
59
+
60
+ ### OneView Client Configuration
61
+ The OneView Client configuration options that can be passed during OneView Client object creation:
44
62
 
45
63
  ```ruby
46
64
  # Create a OneView client object:
@@ -49,18 +67,19 @@ client = OneviewSDK::Client.new(
49
67
  url: 'https://oneview.example.com',
50
68
  user: 'Administrator', # This is the default
51
69
  password: 'secret123',
52
- token: 'xxxx...', # Set EITHER this or the user & password
70
+ token: 'xxxx...', # Set EITHER token or the username & password
53
71
  ssl_enabled: true, # This is the default and strongly encouraged
54
72
  logger: Logger.new(STDOUT), # This is the default
55
73
  log_level: :info, # This is the default
56
74
  domain: 'LOCAL', # This is the default
57
- api_version: 200 # Defaults to minimum of 200 and appliance's max API version
75
+ api_version: 2800 # Defaults to appliance's max API version which is API version of OneView 6.10
58
76
  )
59
77
  ```
60
78
 
61
79
  :lock: Tip: Check the file permissions because the password is stored in clear-text.
62
80
 
63
- The Image Streamer (I3S) client is very similar to the OneView client, but has one key difference:
81
+ ### Image Streamer Client Configuration
82
+ The Image Streamer (I3S) client is very much similar to the OneView client, but has one key difference:
64
83
  it cannot generate it's own token. However, it uses the same token given to or generated by the OneView client,
65
84
  so if you need to generate a token, create a OneView client using a user & password, then pass the generated token
66
85
  into the Image Streamer client.
@@ -74,11 +93,12 @@ i3s_client = OneviewSDK::ImageStreamer::Client.new(
74
93
  ssl_enabled: true, # This is the default and strongly encouraged
75
94
  logger: Logger.new(STDOUT), # This is the default
76
95
  log_level: :info, # This is the default
77
- api_version: 300 # Defaults to minimum of 300 and appliance's max API version
96
+ api_version: 2020 # Defaults to appliance's max API version
78
97
  )
79
98
  ```
80
99
 
81
- You can also create the i3s client through the Oneview client instance.
100
+ You can also create the Image Streamer(I3S) client through the Oneview client instance.
101
+
82
102
  ```ruby
83
103
  # Create an Image Streamer client object through the Oneview client object:
84
104
  require 'oneview-sdk'
@@ -87,13 +107,13 @@ i3s_client = client.new_i3s_client(
87
107
  ssl_enabled: true, # This is the default and strongly encouraged
88
108
  logger: Logger.new(STDOUT), # This is the default
89
109
  log_level: :info, # This is the default
90
- api_version: 300 # Defaults to minimum of 300 and appliance's max API version
110
+ api_version: 2020 # Defaults to appliance's max API version
91
111
  )
92
112
  ```
93
113
 
94
- ##### Environment Variables
114
+ ### Environment Variables
95
115
 
96
- You can also set many of the client attributes using environment variables. To set these variables in bash:
116
+ Configuration can also be defined through environment variables.To set these variables in bash:
97
117
 
98
118
  ```bash
99
119
  # OneView client options:
@@ -136,7 +156,7 @@ i3s_client = OneviewSDK::ImageStreamer::Client.new
136
156
 
137
157
  NOTE: Run `$ oneview-sdk-ruby env` to see a list of available environment variables and their current values.
138
158
 
139
- ##### Configuration Files
159
+ ### Configuration Files
140
160
 
141
161
  Configuration files can also be used to define client configuration (json or yaml formats). Here's an example json file:
142
162
 
@@ -145,7 +165,7 @@ Configuration files can also be used to define client configuration (json or yam
145
165
  "url": "https://oneview.example.com",
146
166
  "user": "Administrator",
147
167
  "password": "secret123",
148
- "api_version": 1800
168
+ "api_version": 2800
149
169
  }
150
170
  ```
151
171
 
@@ -174,92 +194,61 @@ level=(Symbol, etc.) # The parameter here will be the log_level attribute
174
194
 
175
195
  ## API Implementation
176
196
 
177
- A status of the HPE OneView REST interfaces that have been implemented in this SDK can be found in the [endpoints-support.md](https://github.com/HewlettPackard/oneview-sdk-ruby/blob/master/endpoints-support.md) file.
197
+ A detailed list of the HPE OneView REST interfaces that have been implemented in this SDK can be found in the [endpoints-support.md](https://github.com/HewlettPackard/oneview-sdk-ruby/blob/master/endpoints-support.md) file.
178
198
 
179
- ### OneView API versions and appliance types
180
- You may notice resource classes being accessed in a few different ways; for example, `OneviewSDK::EthernetNetwork`, `OneviewSDK::API300::EthernetNetwork`, and `OneviewSDK::API300::C7000::EthernetNetwork`. However, each of these accessors may actually be referring to the same class. This is because in order to keep backwards compatibility and make examples a little more simple, there are module methods in place to redirect/resolve the shorthand accessors to their full namespace identifier. In order to automatically complete the full namespace identifier, there are some defaults in place. Here's some example code that should help clear things up (return values are commented behind the code):
199
+ ### HPE OneView API Versions and Appliance types
200
+ You may notice resource classes being accessed in a few different ways; for example, `OneviewSDK::EthernetNetwork`, `OneviewSDK::API1000::EthernetNetwork`, and `OneviewSDK::API1000::C7000::EthernetNetwork`. However, each of these accessors may actually be referring to the same class. This is because in order to keep backwards compatibility and make examples a little more simple, there are module methods in place to redirect/resolve the shorthand accessors to their full namespace identifier. In order to automatically complete the full namespace identifier, there are some defaults in place. Here's some example code that should help clear things up (return values are commented behind the code):
181
201
 
182
202
  ```ruby
183
203
  require 'oneview-sdk'
184
204
 
185
205
  # Show defaults:
186
- OneviewSDK::SUPPORTED_API_VERSIONS # [200, 300, 500, 600, 800, 1000, 1200, 1600, 1800]
187
- OneviewSDK::DEFAULT_API_VERSION # 200
188
- OneviewSDK.api_version # 200
206
+ OneviewSDK::SUPPORTED_API_VERSIONS # [1000, 1200, 1600, 1800, 2000, 2200, 2600, 2800]
207
+ OneviewSDK::DEFAULT_API_VERSION # 2800
208
+ OneviewSDK.api_version # 2800
189
209
  OneviewSDK.api_version_updated? # false
190
210
 
191
211
  # Notice the automatic redirection/resolution when we use the shorthand accessor:
192
- OneviewSDK::EthernetNetwork # OneviewSDK::API200::EthernetNetwork
212
+ OneviewSDK::EthernetNetwork # OneviewSDK::API2800::EthernetNetwork
193
213
 
194
214
  # Even this comparison is true:
195
- OneviewSDK::EthernetNetwork == OneviewSDK::API200::EthernetNetwork # true
215
+ OneviewSDK::EthernetNetwork == OneviewSDK::API2800::EthernetNetwork # true
196
216
 
197
217
  # Now let's set a new API version default:
198
- OneviewSDK.api_version = 300
199
- OneviewSDK.api_version # 300
218
+ OneviewSDK.api_version = 2800
219
+ OneviewSDK.api_version # 2800
200
220
  OneviewSDK.api_version_updated? # true
201
221
 
202
- # The API200 module has no variants, but API300 and above has 2 (C7000 & Synergy):
203
- OneviewSDK::API300::SUPPORTED_VARIANTS # ['C7000', 'Synergy']
204
- OneviewSDK::API300::DEFAULT_VARIANT # 'C7000'
205
- OneviewSDK::API300.variant # 'C7000'
206
- OneviewSDK::API300.variant_updated? # false
207
-
208
- OneviewSDK::API500::SUPPORTED_VARIANTS # ['C7000', 'Synergy']
209
- OneviewSDK::API500::DEFAULT_VARIANT # 'C7000'
210
- OneviewSDK::API500.variant # 'C7000'
211
- OneviewSDK::API500.variant_updated? # false
212
-
213
- OneviewSDK::API600::SUPPORTED_VARIANTS # ['C7000', 'Synergy']
214
- OneviewSDK::API600::DEFAULT_VARIANT # 'C7000'
215
- OneviewSDK::API600.variant # 'C7000'
216
- OneviewSDK::API600.variant_updated? # false
217
-
218
- OneviewSDK::API800::SUPPORTED_VARIANTS # ['C7000', 'Synergy']
219
- OneviewSDK::API800::DEFAULT_VARIANT # 'C7000'
220
- OneviewSDK::API800.variant # 'C7000'
221
- OneviewSDK::API800.variant_updated? # false
222
-
223
- OneviewSDK::API1000::SUPPORTED_VARIANTS # ['C7000', 'Synergy']
224
- OneviewSDK::API1000::DEFAULT_VARIANT # 'C7000'
225
- OneviewSDK::API1000.variant # 'C7000'
226
- OneviewSDK::API1000.variant_updated? # false
227
-
228
- OneviewSDK::API1200::SUPPORTED_VARIANTS # ['C7000', 'Synergy']
229
- OneviewSDK::API1200::DEFAULT_VARIANT # 'C7000'
230
- OneviewSDK::API1200.variant # 'C7000'
231
- OneviewSDK::API1200.variant_updated? # false
232
- # Therefore, there is 1 more namespace level to the real resource class name
233
- OneviewSDK::EthernetNetwork # OneviewSDK::API300::C7000::EthernetNetwork
234
- OneviewSDK::API300::EthernetNetwork # OneviewSDK::API300::C7000::EthernetNetwork
235
-
236
- # Likewise, we can set a new default variant for the API300 module:
237
- OneviewSDK::API300.variant = 'Synergy'
238
- OneviewSDK::API300.variant # 'Synergy'
239
- OneviewSDK::API300.variant_updated? # true
240
- OneviewSDK::EthernetNetwork # OneviewSDK::API300::Synergy::EthernetNetwork
241
- OneviewSDK::API300::EthernetNetwork # OneviewSDK::API300::Synergy::EthernetNetwork
242
-
243
- OneviewSDK::API1600::SUPPORTED_VARIANTS # ['C7000', 'Synergy']
244
- OneviewSDK::API1600::DEFAULT_VARIANT # 'C7000'
245
- OneviewSDK::API1600.variant # 'C7000'
246
- OneviewSDK::API1600.variant_updated? # false
222
+ # The API300 and above has 2 variants (C7000 & Synergy): For eg
247
223
 
248
224
  OneviewSDK::API1800::SUPPORTED_VARIANTS # ['C7000', 'Synergy']
249
225
  OneviewSDK::API1800::DEFAULT_VARIANT # 'C7000'
250
226
  OneviewSDK::API1800.variant # 'C7000'
251
227
  OneviewSDK::API1800.variant_updated? # false
252
228
 
253
- # Likewise, we can set a new default variant for the API1800 module:
254
- OneviewSDK::API1800.variant = 'Synergy'
255
- OneviewSDK::API1800.variant # 'Synergy'
256
- OneviewSDK::API1800.variant_updated? # true
257
- # Therefore, there is 1 more namespace level to the real resource class name
258
- OneviewSDK::EthernetNetwork # OneviewSDK::API300::C7000::EthernetNetwork
259
- OneviewSDK::API1800::EthernetNetwork # OneviewSDK::API1800::C7000::EthernetNetwork
229
+ OneviewSDK::API2000::SUPPORTED_VARIANTS # ['C7000', 'Synergy']
230
+ OneviewSDK::API2000::DEFAULT_VARIANT # 'C7000'
231
+ OneviewSDK::API2000.variant # 'C7000'
232
+ OneviewSDK::API2000.variant_updated? # false
233
+
234
+ OneviewSDK::API2200::SUPPORTED_VARIANTS # ['C7000', 'Synergy']
235
+ OneviewSDK::API2200::DEFAULT_VARIANT # 'C7000'
236
+ OneviewSDK::API2200.variant # 'C7000'
237
+ OneviewSDK::API2200.variant_updated? # false
238
+
239
+ OneviewSDK::API2800::SUPPORTED_VARIANTS # ['C7000', 'Synergy']
240
+ OneviewSDK::API2800::DEFAULT_VARIANT # 'C7000'
241
+ OneviewSDK::API2800.variant # 'C7000'
242
+ OneviewSDK::API2800.variant_updated? # false
243
+
244
+ # Likewise, we can set a new default variant for the API2800 module:
245
+ OneviewSDK::2800.variant = 'Synergy'
246
+ OneviewSDK::API2800.variant # 'Synergy'
247
+ OneviewSDK::API2800.variant_updated? # true
248
+
260
249
  ```
261
250
 
262
- We understand that this can be confusing, so to avoid any confusion or unexpected behavior, we recommend specifying the full namespace identifier in your code. At the very least, set defaults explicitly using `OneviewSDK.api_version = <ver>` and `OneviewSDK::API300.variant = <variant>`, as the defaults may change.
251
+ :lock: Tip: We understand that this can be confusing, so to avoid any confusion or unexpected behavior, we recommend specifying the full namespace identifier in your code. At the very least, set defaults explicitly using `OneviewSDK.api_version = <ver>` and `OneviewSDK::API2800.variant = <variant>`, as the defaults may change.
263
252
 
264
253
  ## Resources
265
254
  Each OneView and Image Streamer resource is exposed via a Ruby class, enabling CRUD-like functionality (with some exceptions).
@@ -380,7 +369,6 @@ This example is about as basic as it gets, but you can make any type of OneView
380
369
  If a resource does not do what you need, this will allow you to do it.
381
370
  Please refer to the documentation and [code](lib/oneview-sdk/rest.rb) for complete list of methods and information about how to use them.
382
371
 
383
-
384
372
  ## CLI
385
373
  This gem also comes with a command-line interface to make interacting with OneView possible without the need to create a Ruby program or script.
386
374
 
@@ -479,19 +467,6 @@ $ oneview-sdk-ruby cert import https://oneview.example.com
479
467
  $ oneview-sdk-ruby scmb
480
468
  $ oneview-sdk-ruby scmb -r 'scmb.ethernet-networks.#'
481
469
  ```
482
-
483
- ## License
484
- This project is licensed under the Apache 2.0 license. Please see [LICENSE](LICENSE) for more info.
485
-
486
- ## Contributing and feature requests
487
- **Contributing:** You know the drill. Fork it, branch it, change it, commit it, and pull-request it.
488
- We are passionate about improving this project, and glad to accept help to make it better.
489
-
490
- NOTE: We reserve the right to reject changes that we feel do not fit the scope of this project, so for feature additions, please open an issue to discuss your ideas before doing the work.
491
-
492
- **Feature Requests:** If you have a need that is not met by the current implementation, please let us know (via a new issue).
493
- This feedback is crucial for us to deliver a useful product. Do not assume we have already thought of everything, because we assure you that is not the case.
494
-
495
470
  ### Building the Gem
496
471
  First run `$ bundle` (requires the bundler gem), then...
497
472
  - To build only, run `$ rake build`.
@@ -507,5 +482,49 @@ First run `$ bundle` (requires the bundler gem), then...
507
482
 
508
483
  For the full testing reference please look into [TESTING.md](TESTING.md) file.
509
484
 
510
- ## Authors
511
- See the [contributors graph](https://github.com/HewlettPackard/oneview-sdk-ruby/graphs/contributors)
485
+ ## Getting Help
486
+
487
+ Are you running into a road block? Have an issue with unexpected behavior? Feel free to open a new issue on the [issue tracker](https://github.com/HewlettPackard/oneview-ansible/issues)
488
+
489
+ ## License
490
+ This project is licensed under the Apache 2.0 license. Please see [LICENSE](LICENSE) for more info.
491
+
492
+ ## Contributing and feature requests
493
+
494
+ We welcome your contributions to the HPE OneView for Ruby SDK library.
495
+
496
+ **Contributing:** You know the drill. Fork it, branch it, change it, commit it, and pull-request it.
497
+ We are passionate about improving this project, and glad to accept help to make it better.
498
+
499
+ NOTE: We reserve the right to reject changes that we feel do not fit the scope of this project, so for feature additions, please open an issue to discuss your ideas before doing the work.
500
+
501
+ **Feature Requests:** If you have a need that is not met by the current implementation, please let us know opening an new enhancement request/issue.
502
+ This feedback is important for us to deliver a useful product.
503
+
504
+
505
+ ## Additional Resources
506
+
507
+ **HPE OneView Documentation**
508
+
509
+ [HPE OneView Release Notes](http://hpe.com/info/OneView/docs)
510
+
511
+ [HPE OneView Support Matrix](http://hpe.com/info/OneView/docs)
512
+
513
+ [HPE OneView Installation Guide](http://hpe.com/info/OneView/docs)
514
+
515
+ [HPE OneView User Guide](http://hpe.com/info/OneView/docs)
516
+
517
+ [HPE OneView Online Help](http://hpe.com/info/OneView/docs)
518
+
519
+ [HPE OneView REST API Reference](http://hpe.com/info/OneView/docs)
520
+
521
+ [HPE OneView Firmware Management White Paper](http://hpe.com/info/OneView/docs)
522
+
523
+ [HPE OneView Deployment and Management White Paper](http://hpe.com/info/OneView/docs)
524
+
525
+
526
+ **HPE OneView Community**
527
+
528
+ [HPE OneView Community Forums](http://hpe.com/info/oneviewcommunity)
529
+
530
+ Learn more about HPE OneView at [hpe.com/info/oneview](https://hpe.com/info/oneview)