Skip to content

Commit

Permalink
Merge pull request #387 from HewlettPackard/le_fix
Browse files Browse the repository at this point in the history
Bug fix for CREATE function of Logical Enclosure
  • Loading branch information
AnushaY1916 committed Feb 20, 2020
2 parents b739188 + e98bec1 commit 5662a9e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## v5.9.0 (Unreleased)
- This release supports OneView Rest API versions 800/1000/1200 minimally where we can use OneView v4.10/v4.20/v5.0 with this SDK. No new fields are added/deleted to support OneView Rest API 800/1000/1200. Complete support will be done in next releases.
- Bugfix for the update request for enclosure group.
- Bugfix for the create request for logical enclosure.

#### Features Supported
This release adds support to OneView Rest API version 800/1000/1200 for the hardware variants C7000 and Synergy to the already existing features:
Expand Down
10 changes: 0 additions & 10 deletions lib/oneview-sdk/resource/api1200/synergy/logical_enclosure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,6 @@ module API1200
module Synergy
# Logical Enclosure resource implementation on API1200 Synergy
class LogicalEnclosure < OneviewSDK::API1000::Synergy::LogicalEnclosure
# Create a resource object, associate it with a client, and set its properties.
# @param [OneviewSDK::Client] client The client object for the OneView appliance
# @param [Hash] params The options for this resource (key-value pairs)
# @param [Integer] api_ver The api version to use when interracting with this resource.
def initialize(client, params = {}, api_ver = nil)
@data ||= {}
# Default values:
@data['type'] ||= 'LogicalEnclosureV5'
super
end
end
end
end
Expand Down

0 comments on commit 5662a9e

Please sign in to comment.