oneview-sdk 5.16.0 → 6.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (330) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +200 -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 +123 -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 +0 -1
  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/api2200.rb +66 -0
  40. data/lib/oneview-sdk/resource/api2200/c7000.rb +27 -0
  41. data/lib/oneview-sdk/resource/api2200/c7000/connection_template.rb +22 -0
  42. data/lib/oneview-sdk/resource/api2200/c7000/enclosure.rb +22 -0
  43. data/lib/oneview-sdk/resource/api2200/c7000/enclosure_group.rb +22 -0
  44. data/lib/oneview-sdk/resource/api2200/c7000/ethernet_network.rb +22 -0
  45. data/lib/oneview-sdk/resource/api2200/c7000/fc_network.rb +22 -0
  46. data/lib/oneview-sdk/resource/api2200/c7000/fcoe_network.rb +22 -0
  47. data/lib/oneview-sdk/resource/api2200/c7000/firmware_driver.rb +22 -0
  48. data/lib/oneview-sdk/resource/api2200/c7000/hypervisor_cluster_profile.rb +27 -0
  49. data/lib/oneview-sdk/resource/api2200/c7000/hypervisor_manager.rb +22 -0
  50. data/lib/oneview-sdk/resource/api2200/c7000/interconnect.rb +23 -0
  51. data/lib/oneview-sdk/resource/api2200/c7000/lig_uplink_set.rb +21 -0
  52. data/lib/oneview-sdk/resource/api2200/c7000/logical_enclosure.rb +22 -0
  53. data/lib/oneview-sdk/resource/api2200/c7000/logical_interconnect.rb +22 -0
  54. data/lib/oneview-sdk/resource/api2200/c7000/logical_interconnect_group.rb +22 -0
  55. data/lib/oneview-sdk/resource/api2200/c7000/network_set.rb +22 -0
  56. data/lib/oneview-sdk/resource/api2200/c7000/scope.rb +22 -0
  57. data/lib/oneview-sdk/resource/api2200/c7000/server_certificate.rb +22 -0
  58. data/lib/oneview-sdk/resource/api2200/c7000/server_hardware.rb +22 -0
  59. data/lib/oneview-sdk/resource/api2200/c7000/server_hardware_type.rb +22 -0
  60. data/lib/oneview-sdk/resource/api2200/c7000/server_profile.rb +22 -0
  61. data/lib/oneview-sdk/resource/api2200/c7000/server_profile_template.rb +22 -0
  62. data/lib/oneview-sdk/resource/api2200/c7000/storage_pool.rb +22 -0
  63. data/lib/oneview-sdk/resource/api2200/c7000/storage_system.rb +22 -0
  64. data/lib/oneview-sdk/resource/api2200/c7000/uplink_set.rb +22 -0
  65. data/lib/oneview-sdk/resource/api2200/c7000/volume.rb +22 -0
  66. data/lib/oneview-sdk/resource/api2200/c7000/volume_attachment.rb +22 -0
  67. data/lib/oneview-sdk/resource/api2200/c7000/volume_template.rb +22 -0
  68. data/lib/oneview-sdk/resource/api2200/synergy.rb +27 -0
  69. data/lib/oneview-sdk/resource/api2200/synergy/connection_template.rb +22 -0
  70. data/lib/oneview-sdk/resource/api2200/synergy/enclosure.rb +22 -0
  71. data/lib/oneview-sdk/resource/api2200/synergy/enclosure_group.rb +22 -0
  72. data/lib/oneview-sdk/resource/api2200/synergy/ethernet_network.rb +22 -0
  73. data/lib/oneview-sdk/resource/api2200/synergy/fc_network.rb +22 -0
  74. data/lib/oneview-sdk/resource/api2200/synergy/fcoe_network.rb +22 -0
  75. data/lib/oneview-sdk/resource/api2200/synergy/firmware_driver.rb +22 -0
  76. data/lib/oneview-sdk/resource/api2200/synergy/hypervisor_cluster_profile.rb +22 -0
  77. data/lib/oneview-sdk/resource/api2200/synergy/hypervisor_manager.rb +22 -0
  78. data/lib/oneview-sdk/resource/api2200/synergy/interconnect.rb +22 -0
  79. data/lib/oneview-sdk/resource/api2200/synergy/lig_uplink_set.rb +21 -0
  80. data/lib/oneview-sdk/resource/api2200/synergy/logical_enclosure.rb +22 -0
  81. data/lib/oneview-sdk/resource/api2200/synergy/logical_interconnect.rb +22 -0
  82. data/lib/oneview-sdk/resource/api2200/synergy/logical_interconnect_group.rb +22 -0
  83. data/lib/oneview-sdk/resource/api2200/synergy/network_set.rb +22 -0
  84. data/lib/oneview-sdk/resource/api2200/synergy/os_deployment_plan.rb +22 -0
  85. data/lib/oneview-sdk/resource/api2200/synergy/scope.rb +22 -0
  86. data/lib/oneview-sdk/resource/api2200/synergy/server_certificate.rb +22 -0
  87. data/lib/oneview-sdk/resource/api2200/synergy/server_hardware.rb +22 -0
  88. data/lib/oneview-sdk/resource/api2200/synergy/server_hardware_type.rb +22 -0
  89. data/lib/oneview-sdk/resource/api2200/synergy/server_profile.rb +25 -0
  90. data/lib/oneview-sdk/resource/api2200/synergy/server_profile_template.rb +22 -0
  91. data/lib/oneview-sdk/resource/api2200/synergy/storage_pool.rb +22 -0
  92. data/lib/oneview-sdk/resource/api2200/synergy/storage_system.rb +22 -0
  93. data/lib/oneview-sdk/resource/api2200/synergy/uplink_set.rb +22 -0
  94. data/lib/oneview-sdk/resource/api2200/synergy/volume.rb +22 -0
  95. data/lib/oneview-sdk/resource/api2200/synergy/volume_attachment.rb +22 -0
  96. data/lib/oneview-sdk/resource/api2200/synergy/volume_template.rb +22 -0
  97. data/lib/oneview-sdk/resource/api2400.rb +66 -0
  98. data/lib/oneview-sdk/resource/api2400/c7000.rb +27 -0
  99. data/lib/oneview-sdk/resource/api2400/c7000/connection_template.rb +22 -0
  100. data/lib/oneview-sdk/resource/api2400/c7000/enclosure.rb +22 -0
  101. data/lib/oneview-sdk/resource/api2400/c7000/enclosure_group.rb +22 -0
  102. data/lib/oneview-sdk/resource/api2400/c7000/ethernet_network.rb +22 -0
  103. data/lib/oneview-sdk/resource/api2400/c7000/fc_network.rb +22 -0
  104. data/lib/oneview-sdk/resource/api2400/c7000/fcoe_network.rb +22 -0
  105. data/lib/oneview-sdk/resource/api2400/c7000/firmware_driver.rb +22 -0
  106. data/lib/oneview-sdk/resource/api2400/c7000/hypervisor_cluster_profile.rb +22 -0
  107. data/lib/oneview-sdk/resource/api2400/c7000/hypervisor_manager.rb +22 -0
  108. data/lib/oneview-sdk/resource/api2400/c7000/interconnect.rb +22 -0
  109. data/lib/oneview-sdk/resource/api2400/c7000/lig_uplink_set.rb +21 -0
  110. data/lib/oneview-sdk/resource/api2400/c7000/logical_enclosure.rb +22 -0
  111. data/lib/oneview-sdk/resource/api2400/c7000/logical_interconnect.rb +33 -0
  112. data/lib/oneview-sdk/resource/api2400/c7000/logical_interconnect_group.rb +22 -0
  113. data/lib/oneview-sdk/resource/api2400/c7000/network_set.rb +22 -0
  114. data/lib/oneview-sdk/resource/api2400/c7000/scope.rb +22 -0
  115. data/lib/oneview-sdk/resource/api2400/c7000/server_certificate.rb +22 -0
  116. data/lib/oneview-sdk/resource/api2400/c7000/server_hardware.rb +22 -0
  117. data/lib/oneview-sdk/resource/api2400/c7000/server_hardware_type.rb +22 -0
  118. data/lib/oneview-sdk/resource/api2400/c7000/server_profile.rb +22 -0
  119. data/lib/oneview-sdk/resource/api2400/c7000/server_profile_template.rb +22 -0
  120. data/lib/oneview-sdk/resource/api2400/c7000/storage_pool.rb +22 -0
  121. data/lib/oneview-sdk/resource/api2400/c7000/storage_system.rb +22 -0
  122. data/lib/oneview-sdk/resource/api2400/c7000/uplink_set.rb +22 -0
  123. data/lib/oneview-sdk/resource/api2400/c7000/volume.rb +22 -0
  124. data/lib/oneview-sdk/resource/api2400/c7000/volume_attachment.rb +22 -0
  125. data/lib/oneview-sdk/resource/api2400/c7000/volume_template.rb +22 -0
  126. data/lib/oneview-sdk/resource/api2400/synergy.rb +27 -0
  127. data/lib/oneview-sdk/resource/api2400/synergy/connection_template.rb +22 -0
  128. data/lib/oneview-sdk/resource/api2400/synergy/enclosure.rb +22 -0
  129. data/lib/oneview-sdk/resource/api2400/synergy/enclosure_group.rb +22 -0
  130. data/lib/oneview-sdk/resource/api2400/synergy/ethernet_network.rb +22 -0
  131. data/lib/oneview-sdk/resource/api2400/synergy/fc_network.rb +22 -0
  132. data/lib/oneview-sdk/resource/api2400/synergy/fcoe_network.rb +22 -0
  133. data/lib/oneview-sdk/resource/api2400/synergy/firmware_driver.rb +22 -0
  134. data/lib/oneview-sdk/resource/api2400/synergy/hypervisor_cluster_profile.rb +22 -0
  135. data/lib/oneview-sdk/resource/api2400/synergy/hypervisor_manager.rb +22 -0
  136. data/lib/oneview-sdk/resource/api2400/synergy/interconnect.rb +22 -0
  137. data/lib/oneview-sdk/resource/api2400/synergy/lig_uplink_set.rb +21 -0
  138. data/lib/oneview-sdk/resource/api2400/synergy/logical_enclosure.rb +22 -0
  139. data/lib/oneview-sdk/resource/api2400/synergy/logical_interconnect.rb +22 -0
  140. data/lib/oneview-sdk/resource/api2400/synergy/logical_interconnect_group.rb +22 -0
  141. data/lib/oneview-sdk/resource/api2400/synergy/network_set.rb +22 -0
  142. data/lib/oneview-sdk/resource/api2400/synergy/os_deployment_plan.rb +22 -0
  143. data/lib/oneview-sdk/resource/api2400/synergy/scope.rb +22 -0
  144. data/lib/oneview-sdk/resource/api2400/synergy/server_certificate.rb +22 -0
  145. data/lib/oneview-sdk/resource/api2400/synergy/server_hardware.rb +22 -0
  146. data/lib/oneview-sdk/resource/api2400/synergy/server_hardware_type.rb +22 -0
  147. data/lib/oneview-sdk/resource/api2400/synergy/server_profile.rb +23 -0
  148. data/lib/oneview-sdk/resource/api2400/synergy/server_profile_template.rb +22 -0
  149. data/lib/oneview-sdk/resource/api2400/synergy/storage_pool.rb +22 -0
  150. data/lib/oneview-sdk/resource/api2400/synergy/storage_system.rb +22 -0
  151. data/lib/oneview-sdk/resource/api2400/synergy/uplink_set.rb +22 -0
  152. data/lib/oneview-sdk/resource/api2400/synergy/volume.rb +22 -0
  153. data/lib/oneview-sdk/resource/api2400/synergy/volume_attachment.rb +22 -0
  154. data/lib/oneview-sdk/resource/api2400/synergy/volume_template.rb +22 -0
  155. data/lib/oneview-sdk/resource/api2600.rb +66 -0
  156. data/lib/oneview-sdk/resource/api2600/c7000.rb +27 -0
  157. data/lib/oneview-sdk/resource/api2600/c7000/connection_template.rb +22 -0
  158. data/lib/oneview-sdk/resource/api2600/c7000/enclosure.rb +22 -0
  159. data/lib/oneview-sdk/resource/api2600/c7000/enclosure_group.rb +22 -0
  160. data/lib/oneview-sdk/resource/api2600/c7000/ethernet_network.rb +22 -0
  161. data/lib/oneview-sdk/resource/api2600/c7000/fc_network.rb +22 -0
  162. data/lib/oneview-sdk/resource/api2600/c7000/fcoe_network.rb +22 -0
  163. data/lib/oneview-sdk/resource/api2600/c7000/firmware_driver.rb +22 -0
  164. data/lib/oneview-sdk/resource/api2600/c7000/hypervisor_cluster_profile.rb +22 -0
  165. data/lib/oneview-sdk/resource/api2600/c7000/hypervisor_manager.rb +22 -0
  166. data/lib/oneview-sdk/resource/api2600/c7000/interconnect.rb +22 -0
  167. data/lib/oneview-sdk/resource/api2600/c7000/lig_uplink_set.rb +21 -0
  168. data/lib/oneview-sdk/resource/api2600/c7000/logical_enclosure.rb +22 -0
  169. data/lib/oneview-sdk/resource/api2600/c7000/logical_interconnect.rb +22 -0
  170. data/lib/oneview-sdk/resource/api2600/c7000/logical_interconnect_group.rb +22 -0
  171. data/lib/oneview-sdk/resource/api2600/c7000/network_set.rb +22 -0
  172. data/lib/oneview-sdk/resource/api2600/c7000/scope.rb +22 -0
  173. data/lib/oneview-sdk/resource/api2600/c7000/server_certificate.rb +22 -0
  174. data/lib/oneview-sdk/resource/api2600/c7000/server_hardware.rb +22 -0
  175. data/lib/oneview-sdk/resource/api2600/c7000/server_hardware_type.rb +22 -0
  176. data/lib/oneview-sdk/resource/api2600/c7000/server_profile.rb +22 -0
  177. data/lib/oneview-sdk/resource/api2600/c7000/server_profile_template.rb +22 -0
  178. data/lib/oneview-sdk/resource/api2600/c7000/storage_pool.rb +22 -0
  179. data/lib/oneview-sdk/resource/api2600/c7000/storage_system.rb +22 -0
  180. data/lib/oneview-sdk/resource/api2600/c7000/uplink_set.rb +22 -0
  181. data/lib/oneview-sdk/resource/api2600/c7000/volume.rb +22 -0
  182. data/lib/oneview-sdk/resource/api2600/c7000/volume_attachment.rb +22 -0
  183. data/lib/oneview-sdk/resource/api2600/c7000/volume_template.rb +22 -0
  184. data/lib/oneview-sdk/resource/api2600/synergy.rb +27 -0
  185. data/lib/oneview-sdk/resource/api2600/synergy/connection_template.rb +22 -0
  186. data/lib/oneview-sdk/resource/api2600/synergy/enclosure.rb +22 -0
  187. data/lib/oneview-sdk/resource/api2600/synergy/enclosure_group.rb +22 -0
  188. data/lib/oneview-sdk/resource/api2600/synergy/ethernet_network.rb +22 -0
  189. data/lib/oneview-sdk/resource/api2600/synergy/fc_network.rb +22 -0
  190. data/lib/oneview-sdk/resource/api2600/synergy/fcoe_network.rb +22 -0
  191. data/lib/oneview-sdk/resource/api2600/synergy/firmware_driver.rb +22 -0
  192. data/lib/oneview-sdk/resource/api2600/synergy/hypervisor_cluster_profile.rb +22 -0
  193. data/lib/oneview-sdk/resource/api2600/synergy/hypervisor_manager.rb +22 -0
  194. data/lib/oneview-sdk/resource/api2600/synergy/interconnect.rb +22 -0
  195. data/lib/oneview-sdk/resource/api2600/synergy/lig_uplink_set.rb +21 -0
  196. data/lib/oneview-sdk/resource/api2600/synergy/logical_enclosure.rb +22 -0
  197. data/lib/oneview-sdk/resource/api2600/synergy/logical_interconnect.rb +22 -0
  198. data/lib/oneview-sdk/resource/api2600/synergy/logical_interconnect_group.rb +22 -0
  199. data/lib/oneview-sdk/resource/api2600/synergy/network_set.rb +22 -0
  200. data/lib/oneview-sdk/resource/api2600/synergy/os_deployment_plan.rb +22 -0
  201. data/lib/oneview-sdk/resource/api2600/synergy/scope.rb +22 -0
  202. data/lib/oneview-sdk/resource/api2600/synergy/server_certificate.rb +22 -0
  203. data/lib/oneview-sdk/resource/api2600/synergy/server_hardware.rb +22 -0
  204. data/lib/oneview-sdk/resource/api2600/synergy/server_hardware_type.rb +22 -0
  205. data/lib/oneview-sdk/resource/api2600/synergy/server_profile.rb +23 -0
  206. data/lib/oneview-sdk/resource/api2600/synergy/server_profile_template.rb +22 -0
  207. data/lib/oneview-sdk/resource/api2600/synergy/storage_pool.rb +22 -0
  208. data/lib/oneview-sdk/resource/api2600/synergy/storage_system.rb +22 -0
  209. data/lib/oneview-sdk/resource/api2600/synergy/uplink_set.rb +22 -0
  210. data/lib/oneview-sdk/resource/api2600/synergy/volume.rb +22 -0
  211. data/lib/oneview-sdk/resource/api2600/synergy/volume_attachment.rb +22 -0
  212. data/lib/oneview-sdk/resource/api2600/synergy/volume_template.rb +22 -0
  213. data/lib/oneview-sdk/resource/api2800.rb +66 -0
  214. data/lib/oneview-sdk/resource/api2800/c7000.rb +27 -0
  215. data/lib/oneview-sdk/resource/api2800/c7000/connection_template.rb +22 -0
  216. data/lib/oneview-sdk/resource/api2800/c7000/enclosure.rb +22 -0
  217. data/lib/oneview-sdk/resource/api2800/c7000/enclosure_group.rb +22 -0
  218. data/lib/oneview-sdk/resource/api2800/c7000/ethernet_network.rb +22 -0
  219. data/lib/oneview-sdk/resource/api2800/c7000/fc_network.rb +22 -0
  220. data/lib/oneview-sdk/resource/api2800/c7000/fcoe_network.rb +22 -0
  221. data/lib/oneview-sdk/resource/api2800/c7000/firmware_driver.rb +22 -0
  222. data/lib/oneview-sdk/resource/api2800/c7000/hypervisor_cluster_profile.rb +22 -0
  223. data/lib/oneview-sdk/resource/api2800/c7000/hypervisor_manager.rb +22 -0
  224. data/lib/oneview-sdk/resource/api2800/c7000/interconnect.rb +22 -0
  225. data/lib/oneview-sdk/resource/api2800/c7000/lig_uplink_set.rb +21 -0
  226. data/lib/oneview-sdk/resource/api2800/c7000/logical_enclosure.rb +22 -0
  227. data/lib/oneview-sdk/resource/api2800/c7000/logical_interconnect.rb +22 -0
  228. data/lib/oneview-sdk/resource/api2800/c7000/logical_interconnect_group.rb +22 -0
  229. data/lib/oneview-sdk/resource/api2800/c7000/network_set.rb +22 -0
  230. data/lib/oneview-sdk/resource/api2800/c7000/scope.rb +22 -0
  231. data/lib/oneview-sdk/resource/api2800/c7000/server_certificate.rb +22 -0
  232. data/lib/oneview-sdk/resource/api2800/c7000/server_hardware.rb +22 -0
  233. data/lib/oneview-sdk/resource/api2800/c7000/server_hardware_type.rb +22 -0
  234. data/lib/oneview-sdk/resource/api2800/c7000/server_profile.rb +22 -0
  235. data/lib/oneview-sdk/resource/api2800/c7000/server_profile_template.rb +22 -0
  236. data/lib/oneview-sdk/resource/api2800/c7000/storage_pool.rb +22 -0
  237. data/lib/oneview-sdk/resource/api2800/c7000/storage_system.rb +22 -0
  238. data/lib/oneview-sdk/resource/api2800/c7000/uplink_set.rb +22 -0
  239. data/lib/oneview-sdk/resource/api2800/c7000/volume.rb +22 -0
  240. data/lib/oneview-sdk/resource/api2800/c7000/volume_attachment.rb +22 -0
  241. data/lib/oneview-sdk/resource/api2800/c7000/volume_template.rb +22 -0
  242. data/lib/oneview-sdk/resource/api2800/synergy.rb +27 -0
  243. data/lib/oneview-sdk/resource/api2800/synergy/connection_template.rb +22 -0
  244. data/lib/oneview-sdk/resource/api2800/synergy/enclosure.rb +22 -0
  245. data/lib/oneview-sdk/resource/api2800/synergy/enclosure_group.rb +22 -0
  246. data/lib/oneview-sdk/resource/api2800/synergy/ethernet_network.rb +22 -0
  247. data/lib/oneview-sdk/resource/api2800/synergy/fc_network.rb +22 -0
  248. data/lib/oneview-sdk/resource/api2800/synergy/fcoe_network.rb +22 -0
  249. data/lib/oneview-sdk/resource/api2800/synergy/firmware_driver.rb +22 -0
  250. data/lib/oneview-sdk/resource/api2800/synergy/hypervisor_cluster_profile.rb +22 -0
  251. data/lib/oneview-sdk/resource/api2800/synergy/hypervisor_manager.rb +22 -0
  252. data/lib/oneview-sdk/resource/api2800/synergy/interconnect.rb +22 -0
  253. data/lib/oneview-sdk/resource/api2800/synergy/lig_uplink_set.rb +21 -0
  254. data/lib/oneview-sdk/resource/api2800/synergy/logical_enclosure.rb +22 -0
  255. data/lib/oneview-sdk/resource/api2800/synergy/logical_interconnect.rb +22 -0
  256. data/lib/oneview-sdk/resource/api2800/synergy/logical_interconnect_group.rb +22 -0
  257. data/lib/oneview-sdk/resource/api2800/synergy/network_set.rb +22 -0
  258. data/lib/oneview-sdk/resource/api2800/synergy/os_deployment_plan.rb +22 -0
  259. data/lib/oneview-sdk/resource/api2800/synergy/scope.rb +22 -0
  260. data/lib/oneview-sdk/resource/api2800/synergy/server_certificate.rb +22 -0
  261. data/lib/oneview-sdk/resource/api2800/synergy/server_hardware.rb +22 -0
  262. data/lib/oneview-sdk/resource/api2800/synergy/server_hardware_type.rb +22 -0
  263. data/lib/oneview-sdk/resource/api2800/synergy/server_profile.rb +23 -0
  264. data/lib/oneview-sdk/resource/api2800/synergy/server_profile_template.rb +22 -0
  265. data/lib/oneview-sdk/resource/api2800/synergy/storage_pool.rb +22 -0
  266. data/lib/oneview-sdk/resource/api2800/synergy/storage_system.rb +22 -0
  267. data/lib/oneview-sdk/resource/api2800/synergy/uplink_set.rb +22 -0
  268. data/lib/oneview-sdk/resource/api2800/synergy/volume.rb +22 -0
  269. data/lib/oneview-sdk/resource/api2800/synergy/volume_attachment.rb +22 -0
  270. data/lib/oneview-sdk/resource/api2800/synergy/volume_template.rb +22 -0
  271. data/lib/oneview-sdk/resource/api3000.rb +66 -0
  272. data/lib/oneview-sdk/resource/api3000/c7000.rb +27 -0
  273. data/lib/oneview-sdk/resource/api3000/c7000/connection_template.rb +22 -0
  274. data/lib/oneview-sdk/resource/api3000/c7000/enclosure.rb +22 -0
  275. data/lib/oneview-sdk/resource/api3000/c7000/enclosure_group.rb +22 -0
  276. data/lib/oneview-sdk/resource/api3000/c7000/ethernet_network.rb +22 -0
  277. data/lib/oneview-sdk/resource/api3000/c7000/fc_network.rb +22 -0
  278. data/lib/oneview-sdk/resource/api3000/c7000/fcoe_network.rb +22 -0
  279. data/lib/oneview-sdk/resource/api3000/c7000/firmware_driver.rb +22 -0
  280. data/lib/oneview-sdk/resource/api3000/c7000/hypervisor_cluster_profile.rb +22 -0
  281. data/lib/oneview-sdk/resource/api3000/c7000/hypervisor_manager.rb +22 -0
  282. data/lib/oneview-sdk/resource/api3000/c7000/interconnect.rb +22 -0
  283. data/lib/oneview-sdk/resource/api3000/c7000/lig_uplink_set.rb +21 -0
  284. data/lib/oneview-sdk/resource/api3000/c7000/logical_enclosure.rb +22 -0
  285. data/lib/oneview-sdk/resource/api3000/c7000/logical_interconnect.rb +22 -0
  286. data/lib/oneview-sdk/resource/api3000/c7000/logical_interconnect_group.rb +22 -0
  287. data/lib/oneview-sdk/resource/api3000/c7000/network_set.rb +22 -0
  288. data/lib/oneview-sdk/resource/api3000/c7000/scope.rb +22 -0
  289. data/lib/oneview-sdk/resource/api3000/c7000/server_certificate.rb +22 -0
  290. data/lib/oneview-sdk/resource/api3000/c7000/server_hardware.rb +22 -0
  291. data/lib/oneview-sdk/resource/api3000/c7000/server_hardware_type.rb +22 -0
  292. data/lib/oneview-sdk/resource/api3000/c7000/server_profile.rb +22 -0
  293. data/lib/oneview-sdk/resource/api3000/c7000/server_profile_template.rb +22 -0
  294. data/lib/oneview-sdk/resource/api3000/c7000/storage_pool.rb +22 -0
  295. data/lib/oneview-sdk/resource/api3000/c7000/storage_system.rb +22 -0
  296. data/lib/oneview-sdk/resource/api3000/c7000/uplink_set.rb +22 -0
  297. data/lib/oneview-sdk/resource/api3000/c7000/volume.rb +22 -0
  298. data/lib/oneview-sdk/resource/api3000/c7000/volume_attachment.rb +22 -0
  299. data/lib/oneview-sdk/resource/api3000/c7000/volume_template.rb +22 -0
  300. data/lib/oneview-sdk/resource/api3000/synergy.rb +27 -0
  301. data/lib/oneview-sdk/resource/api3000/synergy/connection_template.rb +22 -0
  302. data/lib/oneview-sdk/resource/api3000/synergy/enclosure.rb +22 -0
  303. data/lib/oneview-sdk/resource/api3000/synergy/enclosure_group.rb +22 -0
  304. data/lib/oneview-sdk/resource/api3000/synergy/ethernet_network.rb +22 -0
  305. data/lib/oneview-sdk/resource/api3000/synergy/fc_network.rb +22 -0
  306. data/lib/oneview-sdk/resource/api3000/synergy/fcoe_network.rb +22 -0
  307. data/lib/oneview-sdk/resource/api3000/synergy/firmware_driver.rb +22 -0
  308. data/lib/oneview-sdk/resource/api3000/synergy/hypervisor_cluster_profile.rb +22 -0
  309. data/lib/oneview-sdk/resource/api3000/synergy/hypervisor_manager.rb +22 -0
  310. data/lib/oneview-sdk/resource/api3000/synergy/interconnect.rb +22 -0
  311. data/lib/oneview-sdk/resource/api3000/synergy/lig_uplink_set.rb +21 -0
  312. data/lib/oneview-sdk/resource/api3000/synergy/logical_enclosure.rb +22 -0
  313. data/lib/oneview-sdk/resource/api3000/synergy/logical_interconnect.rb +22 -0
  314. data/lib/oneview-sdk/resource/api3000/synergy/logical_interconnect_group.rb +22 -0
  315. data/lib/oneview-sdk/resource/api3000/synergy/network_set.rb +22 -0
  316. data/lib/oneview-sdk/resource/api3000/synergy/scope.rb +22 -0
  317. data/lib/oneview-sdk/resource/api3000/synergy/server_certificate.rb +22 -0
  318. data/lib/oneview-sdk/resource/api3000/synergy/server_hardware.rb +22 -0
  319. data/lib/oneview-sdk/resource/api3000/synergy/server_hardware_type.rb +22 -0
  320. data/lib/oneview-sdk/resource/api3000/synergy/server_profile.rb +23 -0
  321. data/lib/oneview-sdk/resource/api3000/synergy/server_profile_template.rb +22 -0
  322. data/lib/oneview-sdk/resource/api3000/synergy/storage_pool.rb +22 -0
  323. data/lib/oneview-sdk/resource/api3000/synergy/storage_system.rb +22 -0
  324. data/lib/oneview-sdk/resource/api3000/synergy/uplink_set.rb +22 -0
  325. data/lib/oneview-sdk/resource/api3000/synergy/volume.rb +22 -0
  326. data/lib/oneview-sdk/resource/api3000/synergy/volume_attachment.rb +22 -0
  327. data/lib/oneview-sdk/resource/api3000/synergy/volume_template.rb +22 -0
  328. data/lib/oneview-sdk/version.rb +2 -2
  329. data/oneview-sdk.gemspec +2 -2
  330. metadata +317 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ee9ac87be5c3400112a1498f99fdc4b5b888a47e3327c3581d286afb1e87bbde
4
- data.tar.gz: 105145ef205c98cb89f625c5cc3d6029c44288d645fdb728ce3359e5c8c4afa2
3
+ metadata.gz: 79b41c8378656913a6b4a9a7e2e0a58154c6a0491fb0cf2830422cc86f57acb2
4
+ data.tar.gz: 4fa26f897ed6e2ba66c8fe34204a85918379fc540af875936a9365b6272230af
5
5
  SHA512:
6
- metadata.gz: 90c9d331c54dc81cef9b6408ac96546b2d8dfcec73890a62559bc04ff4081221f3c11198d92250b72b26476ff61af331eabfd9acf9c9c0d99f0e0b37c8f46ca7
7
- data.tar.gz: bba5da4f91459367a17a52aee282b8d470b667e7da0187f30a0a182d368831334c13b3b05ab987d908c22d5ce3e58364df8b1ce63d0e3fe3b211f5779430ae49
6
+ metadata.gz: 9b5bcf3ed9a31a759e460e76c0a7e5f2a0ef54800de9bdde087bcbf25c654b6f83082f066fe842c7e7cc66d7f68ef6d89b025cda949f111f511108d3f9709efb
7
+ data.tar.gz: 55a7d15c3dd7ddab4b1dc5176c8e8e03bb4b8923edeeba288bb3a35a4c092515d7198fe67c375670ba59ebb1e14ee909106c2a448afb4dc5578fda2bb79eb5ea
data/CHANGELOG.md CHANGED
@@ -1,3 +1,202 @@
1
+ ## 6.2.0
2
+ #### Notes
3
+ Extends support of the SDK to OneView REST API version 3000 (OneView v6.20).
4
+
5
+ #### Features supported
6
+ - Connection Template
7
+ - Enclosure
8
+ - Enclosure Group
9
+ - Ethernet Network
10
+ - FC Network
11
+ - FCOE Network
12
+ - Firmware Driver
13
+ - Hypervisor Cluster Profile
14
+ - Hypervisor Manager
15
+ - Interconnects
16
+ - Interconnect Type
17
+ - LIG Uplink Set
18
+ - Logical Enclosure
19
+ - Logical Interconnect
20
+ - Logical Interconnect Group
21
+ - Network Set
22
+ - OS Deployment Plan
23
+ - Scope
24
+ - Server Certificate
25
+ - Server Hardware
26
+ - Server Hardware Type
27
+ - Server Profile
28
+ - Server Profile Template
29
+ - Storage Pool
30
+ - Storage System
31
+ - Uplink Set
32
+ - Volume
33
+ - Volume Attachment
34
+ - Volume Template
35
+
36
+ ## 6.1.0
37
+ #### Notes
38
+ Extends support of the SDK to OneView REST API version 2800 (OneView v6.10) and ImageStreamer REST API version 2020 (I3S v6.10).
39
+
40
+ #### Features supported
41
+ - Artifact Bundle
42
+ - Build Plan
43
+ - Connection Template
44
+ - Deployment Group
45
+ - Deployment Plan
46
+ - Enclosure
47
+ - Enclosure Group
48
+ - Ethernet Network
49
+ - FC Network
50
+ - FCOE Network
51
+ - Firmware Driver
52
+ - Golden Image
53
+ - Hypervisor Cluster Profile
54
+ - Hypervisor Manager
55
+ - Interconnects
56
+ - Interconnect Type
57
+ - LIG Uplink Set
58
+ - Logical Enclosure
59
+ - Logical Interconnect
60
+ - Logical Interconnect Group
61
+ - Network Set
62
+ - OS Deployment Plan
63
+ - OS Volume
64
+ - Plan Script
65
+ - Scope
66
+ - Server Certificate
67
+ - Server Hardware
68
+ - Server Hardware Type
69
+ - Server Profile
70
+ - Server Profile Template
71
+ - Storage Pool
72
+ - Storage System
73
+ - Uplink Set
74
+ - Volume
75
+ - Volume Attachment
76
+ - Volume Template
77
+
78
+ ## 6.0.0
79
+ #### Notes
80
+ Extends support of the SDK to OneView REST API version 2600 (OneView v6.00) and ImageStreamer REST API version 2010 (I3S v6.00).
81
+
82
+ #### Features supported
83
+ - Artifact Bundle
84
+ - Build Plan
85
+ - Connection Template
86
+ - Deployment Group
87
+ - Deployment Plan
88
+ - Enclosure
89
+ - Enclosure Group
90
+ - Ethernet Network
91
+ - FC Network
92
+ - FCOE Network
93
+ - Firmware Driver
94
+ - Golden Image
95
+ - Hypervisor Cluster Profile
96
+ - Hypervisor Manager
97
+ - Interconnects
98
+ - Interconnect Type
99
+ - LIG Uplink Set
100
+ - Logical Enclosure
101
+ - Logical Interconnect
102
+ - Logical Interconnect Group
103
+ - Network Set
104
+ - OS Deployment Plan
105
+ - OS Volume
106
+ - Plan Script
107
+ - Scope
108
+ - Server Certificate
109
+ - Server Hardware
110
+ - Server Hardware Type
111
+ - Server Profile
112
+ - Server Profile Template
113
+ - Storage Pool
114
+ - Storage System
115
+ - Uplink Set
116
+ - Volume
117
+ - Volume Attachment
118
+ - Volume Template
119
+
120
+ ## v5.18.0
121
+ #### Notes
122
+ Extends support of the SDK to OneView REST API version 2400 (OneView v5.60).
123
+
124
+ #### Features supported
125
+ - Connection Template
126
+ - Enclosure
127
+ - Enclosure Group
128
+ - Ethernet Network
129
+ - FC Network
130
+ - FCOE Network
131
+ - Firmware Driver
132
+ - Hypervisor Cluster Profile
133
+ - Hypervisor Manager
134
+ - Interconnects
135
+ - Interconnect Type
136
+ - LIG Uplink Set
137
+ - Logical Enclosure
138
+ - Logical Interconnect
139
+ - Logical Interconnect Group
140
+ - Network Set
141
+ - OS Deployment Plan
142
+ - Scope
143
+ - Server Certificate
144
+ - Server Hardware
145
+ - Server Hardware Type
146
+ - Storage Pool
147
+ - Server Profile
148
+ - Server Profile Template
149
+ - Storage System
150
+ - Uplink Set
151
+ - Volume
152
+ - Volume Attachment
153
+ - Volume Template
154
+
155
+ ## v5.17.0
156
+ #### Notes
157
+ Extends support of the SDK to OneView REST API version 2200 (OneView v5.50) and ImageStreamer REST API version 2000 (I3S v5.40).
158
+
159
+ #### Bug fixes & Enhancements
160
+ - [#473](https://github.com/HewlettPackard/oneview-sdk-ruby/issues/473)Failing to install oneview-sdk gem as runtime environment
161
+
162
+ #### Features supported
163
+ - Artifact Bundle
164
+ - Build Plan
165
+ - Connection Template
166
+ - Deployment Group
167
+ - Deployment Plan
168
+ - Enclosure
169
+ - Enclosure Group
170
+ - Ethernet Network
171
+ - FC Network
172
+ - FCOE Network
173
+ - Firmware Driver
174
+ - Golden Image
175
+ - Hypervisor Cluster Profile
176
+ - Hypervisor Manager
177
+ - Interconnects
178
+ - Interconnect Type
179
+ - LIG Uplink Set
180
+ - Logical Enclosure
181
+ - Logical Interconnect
182
+ - Logical Interconnect Group
183
+ - Network Set
184
+ - OS Deployment Plan
185
+ - OS Volume
186
+ - Plan Script
187
+ - Scope
188
+ - Server Certificate
189
+ - Server Hardware
190
+ - Server Hardware Type
191
+ - Storage Pool
192
+ - Server Profile
193
+ - Server Profile Template
194
+ - Storage System
195
+ - Uplink Set
196
+ - Volume
197
+ - Volume Attachment
198
+ - Volume Template
199
+
1
200
  ## v5.16.0
2
201
 
3
202
  #### Notes
@@ -67,7 +266,7 @@ This release extends support to OneView Rest API version 1800 (OneView v5.30) fo
67
266
  - Hypervisor Manager
68
267
  - Interconnects
69
268
  - Interconnect Types
70
- - LIG UplinkSet
269
+ - LIG Uplink Set
71
270
  - Logical Enclosure
72
271
  - Logical Interconnect
73
272
  - 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.20 | 6.10 | 6.00 | 5.60 | 5.50 | 5.40 |
6
+ | ------------- |:-------------:| :-------------:| :-------------:| :-------------:| :-------------:| :-------------:|
7
+ SDK Version/Tag | [v6.2.0](https://github.com/HewlettPackard/oneview-sdk-ruby/releases/tag/v6.2.0) | [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/runs/2949080207) | [![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 3000 (OneView v6.20)
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.16.0-OV5.4
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.16.0-OV5.4 /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.4'
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.16.0-OV5.4
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: 2000 # Defaults to appliance's max API version
75
+ api_version: 3000 # Defaults to appliance's max API version which is API version of OneView 6.20
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": 2000
168
+ "api_version": 3000
149
169
  }
150
170
  ```
151
171
 
@@ -174,76 +194,32 @@ 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, 2000]
187
- OneviewSDK::DEFAULT_API_VERSION # 2000
188
- OneviewSDK.api_version # 2000
206
+ OneviewSDK::SUPPORTED_API_VERSIONS # [1000, 1200, 1600, 1800, 2000, 2200, 2600, 2800, 3000]
207
+ OneviewSDK::DEFAULT_API_VERSION # 3000
208
+ OneviewSDK.api_version # 3000
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::API3000::EthernetNetwork
193
213
 
194
214
  # Even this comparison is true:
195
- OneviewSDK::EthernetNetwork == OneviewSDK::API200::EthernetNetwork # true
215
+ OneviewSDK::EthernetNetwork == OneviewSDK::API3000::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 = 3000
219
+ OneviewSDK.api_version # 3000
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'
@@ -255,16 +231,24 @@ OneviewSDK::API2000::DEFAULT_VARIANT # 'C7000'
255
231
  OneviewSDK::API2000.variant # 'C7000'
256
232
  OneviewSDK::API2000.variant_updated? # false
257
233
 
258
- # Likewise, we can set a new default variant for the API2000 module:
259
- OneviewSDK::API2000.variant = 'Synergy'
260
- OneviewSDK::API2000.variant # 'Synergy'
261
- OneviewSDK::API2000.variant_updated? # true
262
- # Therefore, there is 1 more namespace level to the real resource class name
263
- OneviewSDK::EthernetNetwork # OneviewSDK::API300::C7000::EthernetNetwork
264
- OneviewSDK::API2000::EthernetNetwork # OneviewSDK::API2000::C7000::EthernetNetwork
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::API3000::SUPPORTED_VARIANTS # ['C7000', 'Synergy']
240
+ OneviewSDK::API3000::DEFAULT_VARIANT # 'C7000'
241
+ OneviewSDK::API3000.variant # 'C7000'
242
+ OneviewSDK::API3000.variant_updated? # false
243
+
244
+ # Likewise, we can set a new default variant for the API3000 module:
245
+ OneviewSDK::3000.variant = 'Synergy'
246
+ OneviewSDK::API3000.variant # 'Synergy'
247
+ OneviewSDK::API3000.variant_updated? # true
248
+
265
249
  ```
266
250
 
267
- 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::API3000.variant = <variant>`, as the defaults may change.
268
252
 
269
253
  ## Resources
270
254
  Each OneView and Image Streamer resource is exposed via a Ruby class, enabling CRUD-like functionality (with some exceptions).
@@ -385,7 +369,6 @@ This example is about as basic as it gets, but you can make any type of OneView
385
369
  If a resource does not do what you need, this will allow you to do it.
386
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.
387
371
 
388
-
389
372
  ## CLI
390
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.
391
374
 
@@ -484,19 +467,6 @@ $ oneview-sdk-ruby cert import https://oneview.example.com
484
467
  $ oneview-sdk-ruby scmb
485
468
  $ oneview-sdk-ruby scmb -r 'scmb.ethernet-networks.#'
486
469
  ```
487
-
488
- ## License
489
- This project is licensed under the Apache 2.0 license. Please see [LICENSE](LICENSE) for more info.
490
-
491
- ## Contributing and feature requests
492
- **Contributing:** You know the drill. Fork it, branch it, change it, commit it, and pull-request it.
493
- We are passionate about improving this project, and glad to accept help to make it better.
494
-
495
- 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.
496
-
497
- **Feature Requests:** If you have a need that is not met by the current implementation, please let us know (via a new issue).
498
- 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.
499
-
500
470
  ### Building the Gem
501
471
  First run `$ bundle` (requires the bundler gem), then...
502
472
  - To build only, run `$ rake build`.
@@ -512,5 +482,49 @@ First run `$ bundle` (requires the bundler gem), then...
512
482
 
513
483
  For the full testing reference please look into [TESTING.md](TESTING.md) file.
514
484
 
515
- ## Authors
516
- 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)