oneview-sdk 5.14.0 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (267) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +175 -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 +308 -307
  12. data/lib/oneview-sdk.rb +1 -1
  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.rb +1 -1
  31. data/lib/oneview-sdk/resource.rb +1 -1
  32. data/lib/oneview-sdk/resource/api1800/synergy/os_deployment_plan.rb +22 -0
  33. data/lib/oneview-sdk/resource/api1800/synergy/server_profile.rb +3 -0
  34. data/lib/oneview-sdk/resource/api2000.rb +66 -0
  35. data/lib/oneview-sdk/resource/api2000/c7000.rb +27 -0
  36. data/lib/oneview-sdk/resource/api2000/c7000/connection_template.rb +22 -0
  37. data/lib/oneview-sdk/resource/api2000/c7000/enclosure.rb +22 -0
  38. data/lib/oneview-sdk/resource/api2000/c7000/enclosure_group.rb +22 -0
  39. data/lib/oneview-sdk/resource/api2000/c7000/ethernet_network.rb +22 -0
  40. data/lib/oneview-sdk/resource/api2000/c7000/fc_network.rb +22 -0
  41. data/lib/oneview-sdk/resource/api2000/c7000/fcoe_network.rb +22 -0
  42. data/lib/oneview-sdk/resource/api2000/c7000/firmware_driver.rb +22 -0
  43. data/lib/oneview-sdk/resource/api2000/c7000/hypervisor_cluster_profile.rb +22 -0
  44. data/lib/oneview-sdk/resource/api2000/c7000/hypervisor_manager.rb +22 -0
  45. data/lib/oneview-sdk/resource/api2000/c7000/interconnect.rb +26 -0
  46. data/lib/oneview-sdk/resource/api2000/c7000/lig_uplink_set.rb +21 -0
  47. data/lib/oneview-sdk/resource/api2000/c7000/logical_enclosure.rb +22 -0
  48. data/lib/oneview-sdk/resource/api2000/c7000/logical_interconnect.rb +33 -0
  49. data/lib/oneview-sdk/resource/api2000/c7000/logical_interconnect_group.rb +25 -0
  50. data/lib/oneview-sdk/resource/api2000/c7000/network_set.rb +22 -0
  51. data/lib/oneview-sdk/resource/api2000/c7000/scope.rb +22 -0
  52. data/lib/oneview-sdk/resource/api2000/c7000/server_certificate.rb +22 -0
  53. data/lib/oneview-sdk/resource/api2000/c7000/server_hardware.rb +22 -0
  54. data/lib/oneview-sdk/resource/api2000/c7000/server_hardware_type.rb +25 -0
  55. data/lib/oneview-sdk/resource/api2000/c7000/server_profile.rb +22 -0
  56. data/lib/oneview-sdk/resource/api2000/c7000/server_profile_template.rb +22 -0
  57. data/lib/oneview-sdk/resource/api2000/c7000/storage_pool.rb +22 -0
  58. data/lib/oneview-sdk/resource/api2000/c7000/storage_system.rb +22 -0
  59. data/lib/oneview-sdk/resource/api2000/c7000/uplink_set.rb +22 -0
  60. data/lib/oneview-sdk/resource/api2000/c7000/volume.rb +22 -0
  61. data/lib/oneview-sdk/resource/api2000/c7000/volume_attachment.rb +22 -0
  62. data/lib/oneview-sdk/resource/api2000/c7000/volume_template.rb +22 -0
  63. data/lib/oneview-sdk/resource/api2000/synergy.rb +27 -0
  64. data/lib/oneview-sdk/resource/api2000/synergy/connection_template.rb +22 -0
  65. data/lib/oneview-sdk/resource/api2000/synergy/enclosure.rb +22 -0
  66. data/lib/oneview-sdk/resource/api2000/synergy/enclosure_group.rb +22 -0
  67. data/lib/oneview-sdk/resource/api2000/synergy/ethernet_network.rb +22 -0
  68. data/lib/oneview-sdk/resource/api2000/synergy/fc_network.rb +22 -0
  69. data/lib/oneview-sdk/resource/api2000/synergy/fcoe_network.rb +22 -0
  70. data/lib/oneview-sdk/resource/api2000/synergy/firmware_driver.rb +22 -0
  71. data/lib/oneview-sdk/resource/api2000/synergy/hypervisor_cluster_profile.rb +22 -0
  72. data/lib/oneview-sdk/resource/api2000/synergy/hypervisor_manager.rb +22 -0
  73. data/lib/oneview-sdk/resource/api2000/synergy/interconnect.rb +25 -0
  74. data/lib/oneview-sdk/resource/api2000/synergy/lig_uplink_set.rb +21 -0
  75. data/lib/oneview-sdk/resource/api2000/synergy/logical_enclosure.rb +22 -0
  76. data/lib/oneview-sdk/resource/api2000/synergy/logical_interconnect.rb +22 -0
  77. data/lib/oneview-sdk/resource/api2000/synergy/logical_interconnect_group.rb +25 -0
  78. data/lib/oneview-sdk/resource/api2000/synergy/network_set.rb +22 -0
  79. data/lib/oneview-sdk/resource/api2000/synergy/os_deployment_plan.rb +22 -0
  80. data/lib/oneview-sdk/resource/api2000/synergy/scope.rb +22 -0
  81. data/lib/oneview-sdk/resource/api2000/synergy/server_certificate.rb +22 -0
  82. data/lib/oneview-sdk/resource/api2000/synergy/server_hardware.rb +22 -0
  83. data/lib/oneview-sdk/resource/api2000/synergy/server_hardware_type.rb +22 -0
  84. data/lib/oneview-sdk/resource/api2000/synergy/server_profile.rb +25 -0
  85. data/lib/oneview-sdk/resource/api2000/synergy/server_profile_template.rb +22 -0
  86. data/lib/oneview-sdk/resource/api2000/synergy/storage_pool.rb +22 -0
  87. data/lib/oneview-sdk/resource/api2000/synergy/storage_system.rb +22 -0
  88. data/lib/oneview-sdk/resource/api2000/synergy/uplink_set.rb +22 -0
  89. data/lib/oneview-sdk/resource/api2000/synergy/volume.rb +22 -0
  90. data/lib/oneview-sdk/resource/api2000/synergy/volume_attachment.rb +22 -0
  91. data/lib/oneview-sdk/resource/api2000/synergy/volume_template.rb +22 -0
  92. data/lib/oneview-sdk/resource/api2200.rb +66 -0
  93. data/lib/oneview-sdk/resource/api2200/c7000.rb +27 -0
  94. data/lib/oneview-sdk/resource/api2200/c7000/connection_template.rb +22 -0
  95. data/lib/oneview-sdk/resource/api2200/c7000/enclosure.rb +22 -0
  96. data/lib/oneview-sdk/resource/api2200/c7000/enclosure_group.rb +22 -0
  97. data/lib/oneview-sdk/resource/api2200/c7000/ethernet_network.rb +22 -0
  98. data/lib/oneview-sdk/resource/api2200/c7000/fc_network.rb +22 -0
  99. data/lib/oneview-sdk/resource/api2200/c7000/fcoe_network.rb +22 -0
  100. data/lib/oneview-sdk/resource/api2200/c7000/firmware_driver.rb +22 -0
  101. data/lib/oneview-sdk/resource/api2200/c7000/hypervisor_cluster_profile.rb +27 -0
  102. data/lib/oneview-sdk/resource/api2200/c7000/hypervisor_manager.rb +22 -0
  103. data/lib/oneview-sdk/resource/api2200/c7000/interconnect.rb +23 -0
  104. data/lib/oneview-sdk/resource/api2200/c7000/lig_uplink_set.rb +21 -0
  105. data/lib/oneview-sdk/resource/api2200/c7000/logical_enclosure.rb +22 -0
  106. data/lib/oneview-sdk/resource/api2200/c7000/logical_interconnect.rb +22 -0
  107. data/lib/oneview-sdk/resource/api2200/c7000/logical_interconnect_group.rb +22 -0
  108. data/lib/oneview-sdk/resource/api2200/c7000/network_set.rb +22 -0
  109. data/lib/oneview-sdk/resource/api2200/c7000/scope.rb +22 -0
  110. data/lib/oneview-sdk/resource/api2200/c7000/server_certificate.rb +22 -0
  111. data/lib/oneview-sdk/resource/api2200/c7000/server_hardware.rb +22 -0
  112. data/lib/oneview-sdk/resource/api2200/c7000/server_hardware_type.rb +22 -0
  113. data/lib/oneview-sdk/resource/api2200/c7000/server_profile.rb +22 -0
  114. data/lib/oneview-sdk/resource/api2200/c7000/server_profile_template.rb +22 -0
  115. data/lib/oneview-sdk/resource/api2200/c7000/storage_pool.rb +22 -0
  116. data/lib/oneview-sdk/resource/api2200/c7000/storage_system.rb +22 -0
  117. data/lib/oneview-sdk/resource/api2200/c7000/uplink_set.rb +22 -0
  118. data/lib/oneview-sdk/resource/api2200/c7000/volume.rb +22 -0
  119. data/lib/oneview-sdk/resource/api2200/c7000/volume_attachment.rb +22 -0
  120. data/lib/oneview-sdk/resource/api2200/c7000/volume_template.rb +22 -0
  121. data/lib/oneview-sdk/resource/api2200/synergy.rb +27 -0
  122. data/lib/oneview-sdk/resource/api2200/synergy/connection_template.rb +22 -0
  123. data/lib/oneview-sdk/resource/api2200/synergy/enclosure.rb +22 -0
  124. data/lib/oneview-sdk/resource/api2200/synergy/enclosure_group.rb +22 -0
  125. data/lib/oneview-sdk/resource/api2200/synergy/ethernet_network.rb +22 -0
  126. data/lib/oneview-sdk/resource/api2200/synergy/fc_network.rb +22 -0
  127. data/lib/oneview-sdk/resource/api2200/synergy/fcoe_network.rb +22 -0
  128. data/lib/oneview-sdk/resource/api2200/synergy/firmware_driver.rb +22 -0
  129. data/lib/oneview-sdk/resource/api2200/synergy/hypervisor_cluster_profile.rb +22 -0
  130. data/lib/oneview-sdk/resource/api2200/synergy/hypervisor_manager.rb +22 -0
  131. data/lib/oneview-sdk/resource/api2200/synergy/interconnect.rb +22 -0
  132. data/lib/oneview-sdk/resource/api2200/synergy/lig_uplink_set.rb +21 -0
  133. data/lib/oneview-sdk/resource/api2200/synergy/logical_enclosure.rb +22 -0
  134. data/lib/oneview-sdk/resource/api2200/synergy/logical_interconnect.rb +22 -0
  135. data/lib/oneview-sdk/resource/api2200/synergy/logical_interconnect_group.rb +22 -0
  136. data/lib/oneview-sdk/resource/api2200/synergy/network_set.rb +22 -0
  137. data/lib/oneview-sdk/resource/api2200/synergy/os_deployment_plan.rb +22 -0
  138. data/lib/oneview-sdk/resource/api2200/synergy/scope.rb +22 -0
  139. data/lib/oneview-sdk/resource/api2200/synergy/server_certificate.rb +22 -0
  140. data/lib/oneview-sdk/resource/api2200/synergy/server_hardware.rb +22 -0
  141. data/lib/oneview-sdk/resource/api2200/synergy/server_hardware_type.rb +22 -0
  142. data/lib/oneview-sdk/resource/api2200/synergy/server_profile.rb +25 -0
  143. data/lib/oneview-sdk/resource/api2200/synergy/server_profile_template.rb +22 -0
  144. data/lib/oneview-sdk/resource/api2200/synergy/storage_pool.rb +22 -0
  145. data/lib/oneview-sdk/resource/api2200/synergy/storage_system.rb +22 -0
  146. data/lib/oneview-sdk/resource/api2200/synergy/uplink_set.rb +22 -0
  147. data/lib/oneview-sdk/resource/api2200/synergy/volume.rb +22 -0
  148. data/lib/oneview-sdk/resource/api2200/synergy/volume_attachment.rb +22 -0
  149. data/lib/oneview-sdk/resource/api2200/synergy/volume_template.rb +22 -0
  150. data/lib/oneview-sdk/resource/api2400.rb +66 -0
  151. data/lib/oneview-sdk/resource/api2400/c7000.rb +27 -0
  152. data/lib/oneview-sdk/resource/api2400/c7000/connection_template.rb +22 -0
  153. data/lib/oneview-sdk/resource/api2400/c7000/enclosure.rb +22 -0
  154. data/lib/oneview-sdk/resource/api2400/c7000/enclosure_group.rb +22 -0
  155. data/lib/oneview-sdk/resource/api2400/c7000/ethernet_network.rb +22 -0
  156. data/lib/oneview-sdk/resource/api2400/c7000/fc_network.rb +22 -0
  157. data/lib/oneview-sdk/resource/api2400/c7000/fcoe_network.rb +22 -0
  158. data/lib/oneview-sdk/resource/api2400/c7000/firmware_driver.rb +22 -0
  159. data/lib/oneview-sdk/resource/api2400/c7000/hypervisor_cluster_profile.rb +22 -0
  160. data/lib/oneview-sdk/resource/api2400/c7000/hypervisor_manager.rb +22 -0
  161. data/lib/oneview-sdk/resource/api2400/c7000/interconnect.rb +22 -0
  162. data/lib/oneview-sdk/resource/api2400/c7000/lig_uplink_set.rb +21 -0
  163. data/lib/oneview-sdk/resource/api2400/c7000/logical_enclosure.rb +22 -0
  164. data/lib/oneview-sdk/resource/api2400/c7000/logical_interconnect.rb +33 -0
  165. data/lib/oneview-sdk/resource/api2400/c7000/logical_interconnect_group.rb +22 -0
  166. data/lib/oneview-sdk/resource/api2400/c7000/network_set.rb +22 -0
  167. data/lib/oneview-sdk/resource/api2400/c7000/scope.rb +22 -0
  168. data/lib/oneview-sdk/resource/api2400/c7000/server_certificate.rb +22 -0
  169. data/lib/oneview-sdk/resource/api2400/c7000/server_hardware.rb +22 -0
  170. data/lib/oneview-sdk/resource/api2400/c7000/server_hardware_type.rb +22 -0
  171. data/lib/oneview-sdk/resource/api2400/c7000/server_profile.rb +22 -0
  172. data/lib/oneview-sdk/resource/api2400/c7000/server_profile_template.rb +22 -0
  173. data/lib/oneview-sdk/resource/api2400/c7000/storage_pool.rb +22 -0
  174. data/lib/oneview-sdk/resource/api2400/c7000/storage_system.rb +22 -0
  175. data/lib/oneview-sdk/resource/api2400/c7000/uplink_set.rb +22 -0
  176. data/lib/oneview-sdk/resource/api2400/c7000/volume.rb +22 -0
  177. data/lib/oneview-sdk/resource/api2400/c7000/volume_attachment.rb +22 -0
  178. data/lib/oneview-sdk/resource/api2400/c7000/volume_template.rb +22 -0
  179. data/lib/oneview-sdk/resource/api2400/synergy.rb +27 -0
  180. data/lib/oneview-sdk/resource/api2400/synergy/connection_template.rb +22 -0
  181. data/lib/oneview-sdk/resource/api2400/synergy/enclosure.rb +22 -0
  182. data/lib/oneview-sdk/resource/api2400/synergy/enclosure_group.rb +22 -0
  183. data/lib/oneview-sdk/resource/api2400/synergy/ethernet_network.rb +22 -0
  184. data/lib/oneview-sdk/resource/api2400/synergy/fc_network.rb +22 -0
  185. data/lib/oneview-sdk/resource/api2400/synergy/fcoe_network.rb +22 -0
  186. data/lib/oneview-sdk/resource/api2400/synergy/firmware_driver.rb +22 -0
  187. data/lib/oneview-sdk/resource/api2400/synergy/hypervisor_cluster_profile.rb +22 -0
  188. data/lib/oneview-sdk/resource/api2400/synergy/hypervisor_manager.rb +22 -0
  189. data/lib/oneview-sdk/resource/api2400/synergy/interconnect.rb +22 -0
  190. data/lib/oneview-sdk/resource/api2400/synergy/lig_uplink_set.rb +21 -0
  191. data/lib/oneview-sdk/resource/api2400/synergy/logical_enclosure.rb +22 -0
  192. data/lib/oneview-sdk/resource/api2400/synergy/logical_interconnect.rb +22 -0
  193. data/lib/oneview-sdk/resource/api2400/synergy/logical_interconnect_group.rb +22 -0
  194. data/lib/oneview-sdk/resource/api2400/synergy/network_set.rb +22 -0
  195. data/lib/oneview-sdk/resource/api2400/synergy/os_deployment_plan.rb +22 -0
  196. data/lib/oneview-sdk/resource/api2400/synergy/scope.rb +22 -0
  197. data/lib/oneview-sdk/resource/api2400/synergy/server_certificate.rb +22 -0
  198. data/lib/oneview-sdk/resource/api2400/synergy/server_hardware.rb +22 -0
  199. data/lib/oneview-sdk/resource/api2400/synergy/server_hardware_type.rb +22 -0
  200. data/lib/oneview-sdk/resource/api2400/synergy/server_profile.rb +23 -0
  201. data/lib/oneview-sdk/resource/api2400/synergy/server_profile_template.rb +22 -0
  202. data/lib/oneview-sdk/resource/api2400/synergy/storage_pool.rb +22 -0
  203. data/lib/oneview-sdk/resource/api2400/synergy/storage_system.rb +22 -0
  204. data/lib/oneview-sdk/resource/api2400/synergy/uplink_set.rb +22 -0
  205. data/lib/oneview-sdk/resource/api2400/synergy/volume.rb +22 -0
  206. data/lib/oneview-sdk/resource/api2400/synergy/volume_attachment.rb +22 -0
  207. data/lib/oneview-sdk/resource/api2400/synergy/volume_template.rb +22 -0
  208. data/lib/oneview-sdk/resource/api2600.rb +66 -0
  209. data/lib/oneview-sdk/resource/api2600/c7000.rb +27 -0
  210. data/lib/oneview-sdk/resource/api2600/c7000/connection_template.rb +22 -0
  211. data/lib/oneview-sdk/resource/api2600/c7000/enclosure.rb +22 -0
  212. data/lib/oneview-sdk/resource/api2600/c7000/enclosure_group.rb +22 -0
  213. data/lib/oneview-sdk/resource/api2600/c7000/ethernet_network.rb +22 -0
  214. data/lib/oneview-sdk/resource/api2600/c7000/fc_network.rb +22 -0
  215. data/lib/oneview-sdk/resource/api2600/c7000/fcoe_network.rb +22 -0
  216. data/lib/oneview-sdk/resource/api2600/c7000/firmware_driver.rb +22 -0
  217. data/lib/oneview-sdk/resource/api2600/c7000/hypervisor_cluster_profile.rb +22 -0
  218. data/lib/oneview-sdk/resource/api2600/c7000/hypervisor_manager.rb +22 -0
  219. data/lib/oneview-sdk/resource/api2600/c7000/interconnect.rb +22 -0
  220. data/lib/oneview-sdk/resource/api2600/c7000/lig_uplink_set.rb +21 -0
  221. data/lib/oneview-sdk/resource/api2600/c7000/logical_enclosure.rb +22 -0
  222. data/lib/oneview-sdk/resource/api2600/c7000/logical_interconnect.rb +22 -0
  223. data/lib/oneview-sdk/resource/api2600/c7000/logical_interconnect_group.rb +22 -0
  224. data/lib/oneview-sdk/resource/api2600/c7000/network_set.rb +22 -0
  225. data/lib/oneview-sdk/resource/api2600/c7000/scope.rb +22 -0
  226. data/lib/oneview-sdk/resource/api2600/c7000/server_certificate.rb +22 -0
  227. data/lib/oneview-sdk/resource/api2600/c7000/server_hardware.rb +22 -0
  228. data/lib/oneview-sdk/resource/api2600/c7000/server_hardware_type.rb +22 -0
  229. data/lib/oneview-sdk/resource/api2600/c7000/server_profile.rb +22 -0
  230. data/lib/oneview-sdk/resource/api2600/c7000/server_profile_template.rb +22 -0
  231. data/lib/oneview-sdk/resource/api2600/c7000/storage_pool.rb +22 -0
  232. data/lib/oneview-sdk/resource/api2600/c7000/storage_system.rb +22 -0
  233. data/lib/oneview-sdk/resource/api2600/c7000/uplink_set.rb +22 -0
  234. data/lib/oneview-sdk/resource/api2600/c7000/volume.rb +22 -0
  235. data/lib/oneview-sdk/resource/api2600/c7000/volume_attachment.rb +22 -0
  236. data/lib/oneview-sdk/resource/api2600/c7000/volume_template.rb +22 -0
  237. data/lib/oneview-sdk/resource/api2600/synergy.rb +27 -0
  238. data/lib/oneview-sdk/resource/api2600/synergy/connection_template.rb +22 -0
  239. data/lib/oneview-sdk/resource/api2600/synergy/enclosure.rb +22 -0
  240. data/lib/oneview-sdk/resource/api2600/synergy/enclosure_group.rb +22 -0
  241. data/lib/oneview-sdk/resource/api2600/synergy/ethernet_network.rb +22 -0
  242. data/lib/oneview-sdk/resource/api2600/synergy/fc_network.rb +22 -0
  243. data/lib/oneview-sdk/resource/api2600/synergy/fcoe_network.rb +22 -0
  244. data/lib/oneview-sdk/resource/api2600/synergy/firmware_driver.rb +22 -0
  245. data/lib/oneview-sdk/resource/api2600/synergy/hypervisor_cluster_profile.rb +22 -0
  246. data/lib/oneview-sdk/resource/api2600/synergy/hypervisor_manager.rb +22 -0
  247. data/lib/oneview-sdk/resource/api2600/synergy/interconnect.rb +22 -0
  248. data/lib/oneview-sdk/resource/api2600/synergy/lig_uplink_set.rb +21 -0
  249. data/lib/oneview-sdk/resource/api2600/synergy/logical_enclosure.rb +22 -0
  250. data/lib/oneview-sdk/resource/api2600/synergy/logical_interconnect.rb +22 -0
  251. data/lib/oneview-sdk/resource/api2600/synergy/logical_interconnect_group.rb +22 -0
  252. data/lib/oneview-sdk/resource/api2600/synergy/network_set.rb +22 -0
  253. data/lib/oneview-sdk/resource/api2600/synergy/scope.rb +22 -0
  254. data/lib/oneview-sdk/resource/api2600/synergy/server_certificate.rb +22 -0
  255. data/lib/oneview-sdk/resource/api2600/synergy/server_hardware.rb +22 -0
  256. data/lib/oneview-sdk/resource/api2600/synergy/server_hardware_type.rb +22 -0
  257. data/lib/oneview-sdk/resource/api2600/synergy/server_profile.rb +23 -0
  258. data/lib/oneview-sdk/resource/api2600/synergy/server_profile_template.rb +22 -0
  259. data/lib/oneview-sdk/resource/api2600/synergy/storage_pool.rb +22 -0
  260. data/lib/oneview-sdk/resource/api2600/synergy/storage_system.rb +22 -0
  261. data/lib/oneview-sdk/resource/api2600/synergy/uplink_set.rb +22 -0
  262. data/lib/oneview-sdk/resource/api2600/synergy/volume.rb +22 -0
  263. data/lib/oneview-sdk/resource/api2600/synergy/volume_attachment.rb +22 -0
  264. data/lib/oneview-sdk/resource/api2600/synergy/volume_template.rb +22 -0
  265. data/lib/oneview-sdk/version.rb +2 -2
  266. data/oneview-sdk.gemspec +2 -2
  267. metadata +252 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1478b974c42a54ae8bda6a81c98dbd17f82df2909268272029571897f36cd278
4
- data.tar.gz: bcc36c4bb1d49bb015796e9ec6bb4f740c96815d935b4864e2806b9c3f5558aa
3
+ metadata.gz: 4270ed16e7da0aa4040ec890d3c6f5a84410b2324805a3eb7a14a4fd4cd3517a
4
+ data.tar.gz: 7891fa95718ec497a31c8bbf6ccd2758f45ef4a6ee0c9f2a56d3221ffd48a0d8
5
5
  SHA512:
6
- metadata.gz: 9a04c161cbc85c0096ba87ddfbcd82850487e60a4e8392157abf5fc5597addfe4be52eb8a31151dcb3ddb806b80fba34a0ccfc7f7fc3e95066745212cd99da82
7
- data.tar.gz: 36fbce7d3694f31f787f4ef3ed35c3d7dfd2c6c524d9183f70c4fb8fb0c1a5f906c968b0965f359defaf815144242aca0ab9b2b787e25d7b306a1de891ef3270
6
+ metadata.gz: 3e9851f8a1734d3c24469ce35ca648e88e7199c38aec5e23ef25216b21dac6e2d618b676f5f0597fb9cec7f8bbb31293f838eb2a26267a32fa384cbc3f70d6c8
7
+ data.tar.gz: a500b899c0683c9d66cb393c8965eb525d1a2c119f8694f22ad3e992702783d69016349358d8f3f8b5857b4b51098f28fb579466ac37ea9eef1eb18f3a99889c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,177 @@
1
+ ## 6.0.0
2
+ #### Notes
3
+ Extends support of the SDK to OneView REST API version 2600 (OneView v6.00) and ImageStreamer REST API version 2010 (I3S v6.00).
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
+ ## v5.18.0
44
+ #### Notes
45
+ Extends support of the SDK to OneView REST API version 2400 (OneView v5.60).
46
+
47
+ #### Features supported
48
+ - Connection Template
49
+ - Enclosure
50
+ - Enclosure Group
51
+ - Ethernet Network
52
+ - FC Network
53
+ - FCOE Network
54
+ - Firmware Driver
55
+ - Hypervisor Cluster Profile
56
+ - Hypervisor Manager
57
+ - Interconnects
58
+ - Interconnect Type
59
+ - LIG Uplink Set
60
+ - Logical Enclosure
61
+ - Logical Interconnect
62
+ - Logical Interconnect Group
63
+ - Network Set
64
+ - OS Deployment Plan
65
+ - Scope
66
+ - Server Certificate
67
+ - Server Hardware
68
+ - Server Hardware Type
69
+ - Storage Pool
70
+ - Server Profile
71
+ - Server Profile Template
72
+ - Storage System
73
+ - Uplink Set
74
+ - Volume
75
+ - Volume Attachment
76
+ - Volume Template
77
+
78
+ ## v5.17.0
79
+ #### Notes
80
+ Extends support of the SDK to OneView REST API version 2200 (OneView v5.50) and ImageStreamer REST API version 2000 (I3S v5.40).
81
+
82
+ #### Bug fixes & Enhancements
83
+ - [#473](https://github.com/HewlettPackard/oneview-sdk-ruby/issues/473)Failing to install oneview-sdk gem as runtime environment
84
+
85
+ #### Features supported
86
+ - Artifact Bundle
87
+ - Build Plan
88
+ - Connection Template
89
+ - Deployment Group
90
+ - Deployment Plan
91
+ - Enclosure
92
+ - Enclosure Group
93
+ - Ethernet Network
94
+ - FC Network
95
+ - FCOE Network
96
+ - Firmware Driver
97
+ - Golden Image
98
+ - Hypervisor Cluster Profile
99
+ - Hypervisor Manager
100
+ - Interconnects
101
+ - Interconnect Type
102
+ - LIG Uplink Set
103
+ - Logical Enclosure
104
+ - Logical Interconnect
105
+ - Logical Interconnect Group
106
+ - Network Set
107
+ - OS Deployment Plan
108
+ - OS Volume
109
+ - Plan Script
110
+ - Scope
111
+ - Server Certificate
112
+ - Server Hardware
113
+ - Server Hardware Type
114
+ - Storage Pool
115
+ - Server Profile
116
+ - Server Profile Template
117
+ - Storage System
118
+ - Uplink Set
119
+ - Volume
120
+ - Volume Attachment
121
+ - Volume Template
122
+
123
+ ## v5.16.0
124
+
125
+ #### Notes
126
+ This release extends support to OneView Rest API version 2000 (OneView v5.40) for the hardware variants C7000 and Synergy to the following features:
127
+
128
+ #### Features supported
129
+ - Connection Template
130
+ - Enclosure
131
+ - Enclosure Group
132
+ - Ethernet Network
133
+ - FC Network
134
+ - FCOE Network
135
+ - Firmware Driver
136
+ - Hypervisor Cluster Profile
137
+ - Hypervisor Manager
138
+ - Interconnect
139
+ - Interconnect Type
140
+ - LIG Uplink Set
141
+ - Logical Enclosure
142
+ - Logical Interconnect
143
+ - Logical Interconnect Group
144
+ - Network Set
145
+ - OS Deployment Plan
146
+ - Scope
147
+ - Server Certificate
148
+ - Server Hardware
149
+ - Server Hardware Type
150
+ - Server Profile
151
+ - Server Profile Template
152
+ - Storage Pool
153
+ - Storage System
154
+ - Uplink Set
155
+ - Volume
156
+ - Volume Attachment
157
+ - Volume Template
158
+
159
+ #### Bug fixes & Enhancements:
160
+ - Enhanced the method to set the default API version to appliance's max API version instead of hardcoded 200.
161
+ - Added an automation to upload package to Gems followed with uploading a new image to DockerHub when there is a new release in GitHub
162
+
163
+ ## v5.15.0
164
+
165
+ #### Notes
166
+ This release extends support to OneView Rest API version 1800 (OneView v5.30) for the Synergy hardware variant to the following features:
167
+
168
+ #### Features supported
169
+ - OS Deployment Plan
170
+
171
+ #### Bug fixes & Enhancements
172
+ - [#454](https://github.com/HewlettPackard/oneview-sdk-ruby/issues/454)OSDP resource is missing in API1800
173
+ - [#455](https://github.com/HewlettPackard/oneview-sdk-ruby/issues/455)sasjbod helper function is missing in API1800 server profile resource
174
+
1
175
  ## v5.14.0
2
176
 
3
177
  #### Notes
@@ -15,7 +189,7 @@ This release extends support to OneView Rest API version 1800 (OneView v5.30) fo
15
189
  - Hypervisor Manager
16
190
  - Interconnects
17
191
  - Interconnect Types
18
- - LIG UplinkSet
192
+ - LIG Uplink Set
19
193
  - Logical Enclosure
20
194
  - Logical Interconnect
21
195
  - 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.00 | 5.60 | 5.50 | 5.40 |
6
+ | ------------- |:-------------:| -------------:| -------------:| -------------:|
7
+ SDK Version/Tag | [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://ci.appveyor.com/api/projects/status/u84505l6syp70013?svg=true)| ![Build status](https://ci.appveyor.com/api/projects/status/u84505l6syp70013?svg=true)| ![Build status](https://ci.appveyor.com/api/projects/status/u84505l6syp70013?svg=true)| ![Build status](https://ci.appveyor.com/api/projects/status/u84505l6syp70013?svg=true)|
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 2600 (OneView v6.00)
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.14.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.14.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.0.0-OV6.0
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.0.0-OV6.0 /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.0.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.14.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: 2600 # Defaults to appliance's max API version which is API version of OneView 6.00
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: 2010 # 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: 2010 # 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": 2600
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]
207
+ OneviewSDK::DEFAULT_API_VERSION # 2600
208
+ OneviewSDK.api_version # 2600
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::API2600::EthernetNetwork
193
213
 
194
214
  # Even this comparison is true:
195
- OneviewSDK::EthernetNetwork == OneviewSDK::API200::EthernetNetwork # true
215
+ OneviewSDK::EthernetNetwork == OneviewSDK::API2600::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 = 2600
219
+ OneviewSDK.api_version # 2600
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::API2600::SUPPORTED_VARIANTS # ['C7000', 'Synergy']
240
+ OneviewSDK::API2600::DEFAULT_VARIANT # 'C7000'
241
+ OneviewSDK::API2600.variant # 'C7000'
242
+ OneviewSDK::API2600.variant_updated? # false
243
+
244
+ # Likewise, we can set a new default variant for the API2600 module:
245
+ OneviewSDK::2600.variant = 'Synergy'
246
+ OneviewSDK::API2600.variant # 'Synergy'
247
+ OneviewSDK::API2600.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::API2600.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)